27 #include "nsISupports.idl"
44 [scriptable,
uuid(f6ad23c7-bd65-4fee-8536-0b47b493109e)]
62 in
unsigned long aDeviceVendorID,
63 in
unsigned long aDeviceProductID,
79 in
boolean aVerifyFirmwareUpdate,
124 in
unsigned long aDeviceVendorID,
125 in
unsigned long aDeviceProductID,
182 in
unsigned long aDeviceVendorID,
183 in
unsigned long aDeviceProductID);
198 in
unsigned long aDeviceVendorID,
199 in
unsigned long aDeviceProductID);
void recoveryUpdate(in sbIDevice aDevice, in sbIDeviceFirmwareUpdate aFirmwareUpdate, in unsigned long aDeviceVendorID, in unsigned long aDeviceProductID, in sbIDeviceEventListener aListener)
Recover the device restoring it to factory state.
void cancel(in sbIDevice aDevice)
Cancel the current operation.
void requireRecovery(in sbIDevice aDevice)
Force a device to go through recovery mode.
sbIDeviceFirmwareHandler getHandler(in sbIDevice aDevice, in unsigned long aDeviceVendorID, in unsigned long aDeviceProductID)
Get the firmware handler for the specified device.
void checkForUpdate(in sbIDevice aDevice, in unsigned long aDeviceVendorID, in unsigned long aDeviceProductID, in sbIDeviceEventListener aListener)
Check for an update.
void downloadUpdate(in sbIDevice aDevice, in boolean aVerifyFirmwareUpdate, in sbIDeviceEventListener aListener)
Download an update for a device.
sbIDeviceFirmwareHandler getActiveHandler(in sbIDevice aDevice)
Get the running firmware handler for the specified device.
void finalizeUpdate(in sbIDevice aDevice)
Finalize the auto-update process.
boolean hasHandler(in sbIDevice aDevice, in unsigned long aDeviceVendorID, in unsigned long aDeviceProductID)
Is there a handler available for the specified device.
void applyUpdate(in sbIDevice aDevice, in sbIDeviceFirmwareUpdate aFirmwareUpdate, in sbIDeviceEventListener aListener)
Apply firmware update to device.
void unregisterHandler(in sbIDeviceFirmwareHandler aFirmwareHandler)
Unregister a firmware update handler.
boolean continueUpdate(in sbIDevice aDevice, in sbIDeviceEventListener aListener)
Continue the auto-update process.
void verifyUpdate(in sbIDevice aDevice, in sbIDeviceFirmwareUpdate aFirmwareUpdate, in sbIDeviceEventListener aListener)
Verify a firmware update that was previously downloaded.
void registerHandler(in sbIDeviceFirmwareHandler aFirmwareHandler)
Register a firmware update handler.
void verifyDevice(in sbIDevice aDevice, in sbIDeviceEventListener aListener)
Verify the firmware on the specified device.