Helper class of BaseService to allow asynchronous release of Android wake locks. This class is for internal usage.
More...
|
final void | onReceive (Context ctx, Intent i) |
|
Integer | receive (Context ctx, Intent i, Integer wakeLockId) |
|
Helper class of BaseService to allow asynchronous release of Android wake locks. This class is for internal usage.
◆ getNumOfHeldWakeLocks()
static synchronized int getNumOfHeldWakeLocks |
( |
| ) |
|
|
static |
◆ onReceive()
final void onReceive |
( |
Context |
ctx, |
|
|
Intent |
i |
|
) |
| |
◆ receive()
Integer receive |
( |
Context |
ctx, |
|
|
Intent |
i, |
|
|
Integer |
wakeLockId |
|
) |
| |
◆ releaseWakeLock()
static void releaseWakeLock |
( |
Context |
ctx, |
|
|
int |
wakeLockId |
|
) |
| |
|
static |
◆ ACT_WAKE_RELEASE
final String ACT_WAKE_RELEASE = NAME+".releaseWakeLock" |
|
static |
◆ EXT_WAKE_ID
final String EXT_WAKE_ID = NAME+".wakeLockId" |
|
static |
◆ ID_NULL
final int ID_NULL = BaseService.ID_NULL |
|
static |
◆ NAME
final String NAME = BaseReceiver.class.getSimpleName() |
|
static |
◆ WAKE_LOCK_TIMEOUT
final int WAKE_LOCK_TIMEOUT = BaseService.WAKE_LOCK_TIMEOUT |
|
static |