#include "sbDeviceFirmwareUpdater.h"
#include <nsILocalFile.h>
#include <nsIMutableArray.h>
#include <nsIObserverService.h>
#include <nsISupportsPrimitives.h>
#include <nsIVariant.h>
#include <sbIDevice.h>
#include <sbIDeviceEvent.h>
#include <sbIDeviceEventTarget.h>
#include <sbIDeviceFirmwareHandler.h>
#include <sbILibraryManager.h>
#include <nsAutoLock.h>
#include <nsAutoPtr.h>
#include <nsArrayUtils.h>
#include <nsComponentManagerUtils.h>
#include <prlog.h>
#include "sbDeviceFirmwareDownloader.h"
#include "sbDeviceFirmwareUpdate.h"
Go to the source code of this file.
Macros | |
#define | TRACE(args) /* nothing */ |
#define | LOG(args) /* nothing */ |
#define | MIN_RUNNING_HANDLERS (2) |
#define | FIRMWARE_FILE_PREF "firmware.cache.file" |
#define | FIRMWARE_VERSION_PREF "firmware.cache.version" |
#define | FIRMWARE_READABLE_PREF "firmware.cache.readableVersion" |
Functions | |
NS_IMPL_THREADSAFE_ISUPPORTS3 (sbDeviceFirmwareUpdater, sbIDeviceFirmwareUpdater, sbIDeviceEventListener, nsIObserver) sbDeviceFirmwareUpdater | |
template<class T > | |
PLDHashOperator | appendElementToArray (T *aData, void *aArray) |
NS_IMPL_THREADSAFE_ISUPPORTS1 (sbDeviceFirmwareUpdaterRunner, nsIRunnable) | |
#define FIRMWARE_FILE_PREF "firmware.cache.file" |
Definition at line 63 of file sbDeviceFirmwareUpdater.cpp.
#define FIRMWARE_READABLE_PREF "firmware.cache.readableVersion" |
Definition at line 65 of file sbDeviceFirmwareUpdater.cpp.
#define FIRMWARE_VERSION_PREF "firmware.cache.version" |
Definition at line 64 of file sbDeviceFirmwareUpdater.cpp.
#define LOG | ( | args | ) | /* nothing */ |
Definition at line 58 of file sbDeviceFirmwareUpdater.cpp.
#define MIN_RUNNING_HANDLERS (2) |
Definition at line 61 of file sbDeviceFirmwareUpdater.cpp.
#define TRACE | ( | args | ) | /* nothing */ |
To log this module, set the following environment variable: NSPR_LOG_MODULES=sbDeviceFirmwareUpdater:5
Definition at line 57 of file sbDeviceFirmwareUpdater.cpp.
PLDHashOperator appendElementToArray | ( | T * | aData, |
void * | aArray | ||
) |
Definition at line 1303 of file sbDeviceFirmwareUpdater.cpp.
NS_IMPL_THREADSAFE_ISUPPORTS1 | ( | sbDeviceFirmwareUpdaterRunner | , |
nsIRunnable | |||
) |
NS_IMPL_THREADSAFE_ISUPPORTS3 | ( | sbDeviceFirmwareUpdater | , |
sbIDeviceFirmwareUpdater | , | ||
sbIDeviceEventListener | , | ||
nsIObserver | |||
) |
Definition at line 67 of file sbDeviceFirmwareUpdater.cpp.