deviceController.js File Reference

Go to the source code of this file.

Variables

var Cc = Components.classes
 
var Ci = Components.interfaces
 
var Cu = Components.utils
 
const CONNECT_BUTTON_LABEL = "Add and Connect Mock Device"
 
const DISCONNECT_BUTTON_LABEL = "Remove and Disconnect Mock Device"
 
const BUSY_BUTTON_LABEL = "Make Mock Device Busy"
 
const IDLE_BUTTON_LABEL = "Make Mock Device Idle"
 
const CFU_FAIL_LABEL = "Enable Fail on CheckForUpdatedFirmware"
 
const CFU_SUCCESS_LABEL = "Disable Fail on CheckForUpdatedFirmware"
 
const WRITE_FAIL_LABEL = "Enable Fail on WritingNewFirmware"
 
const WRITE_SUCCESS_LABEL = "Disable Fail on WritingNewFirmware"
 
const INSTALL_FAIL_LABEL = "Enable Fail on InstallNewFirmware"
 
const INSTALL_SUCCESS_LABEL = "Disable Fail on InstallNewFirmware"
 
const RECOVERY_ENABLE_LABEL = "Enable RecoveryModeRequired on Device"
 
const RECOVERY_DISABLE_LABEL = "Disable RecoveryModeRequired on Device"
 
const MOCK_DEVICE_ID = Components.ID("{3572E6FC-4954-4458-AFE7-0D0A65BF5F55}")
 
const PREF_MOCK_DEVICE_CFU_FAIL = "testing.firmware.cfu.fail"
 
const PREF_MOCK_DEVICE_DOWNLOAD_FAIL = "testing.firmware.download.fail"
 
const PREF_MOCK_DEVICE_WRITE_FAIL = "testing.firmware.write.fail"
 
const PREF_MOCK_DEVICE_INSTALL_FAIL = "testing.firmware.update.fail"
 
const PREF_MOCK_DEVICE_BUSY = "testing.busy"
 
const PREF_MOCK_DEVICE_NEED_RECOVERY = "testing.firmware.needRecoveryMode"
 
var DeviceDialogController
 

Variable Documentation

const BUSY_BUTTON_LABEL = "Make Mock Device Busy"

Definition at line 32 of file deviceController.js.

var Cc = Components.classes

Definition at line 25 of file deviceController.js.

const CFU_FAIL_LABEL = "Enable Fail on CheckForUpdatedFirmware"

Definition at line 35 of file deviceController.js.

const CFU_SUCCESS_LABEL = "Disable Fail on CheckForUpdatedFirmware"

Definition at line 36 of file deviceController.js.

Definition at line 26 of file deviceController.js.

const CONNECT_BUTTON_LABEL = "Add and Connect Mock Device"

Definition at line 29 of file deviceController.js.

var Cu = Components.utils

Definition at line 27 of file deviceController.js.

var DeviceDialogController

Definition at line 60 of file deviceController.js.

const DISCONNECT_BUTTON_LABEL = "Remove and Disconnect Mock Device"

Definition at line 30 of file deviceController.js.

const IDLE_BUTTON_LABEL = "Make Mock Device Idle"

Definition at line 33 of file deviceController.js.

const INSTALL_FAIL_LABEL = "Enable Fail on InstallNewFirmware"

Definition at line 44 of file deviceController.js.

const INSTALL_SUCCESS_LABEL = "Disable Fail on InstallNewFirmware"

Definition at line 45 of file deviceController.js.

const MOCK_DEVICE_ID = Components.ID("{3572E6FC-4954-4458-AFE7-0D0A65BF5F55}")

Definition at line 50 of file deviceController.js.

const PREF_MOCK_DEVICE_BUSY = "testing.busy"

Definition at line 56 of file deviceController.js.

const PREF_MOCK_DEVICE_CFU_FAIL = "testing.firmware.cfu.fail"

Definition at line 52 of file deviceController.js.

const PREF_MOCK_DEVICE_DOWNLOAD_FAIL = "testing.firmware.download.fail"

Definition at line 53 of file deviceController.js.

const PREF_MOCK_DEVICE_INSTALL_FAIL = "testing.firmware.update.fail"

Definition at line 55 of file deviceController.js.

const PREF_MOCK_DEVICE_NEED_RECOVERY = "testing.firmware.needRecoveryMode"

Definition at line 58 of file deviceController.js.

const PREF_MOCK_DEVICE_WRITE_FAIL = "testing.firmware.write.fail"

Definition at line 54 of file deviceController.js.

const RECOVERY_DISABLE_LABEL = "Disable RecoveryModeRequired on Device"

Definition at line 48 of file deviceController.js.

const RECOVERY_ENABLE_LABEL = "Enable RecoveryModeRequired on Device"

Definition at line 47 of file deviceController.js.

const WRITE_FAIL_LABEL = "Enable Fail on WritingNewFirmware"

Definition at line 41 of file deviceController.js.

const WRITE_SUCCESS_LABEL = "Disable Fail on WritingNewFirmware"

Definition at line 42 of file deviceController.js.