Methods Summary |
---|
public void | acquireWakeLock(android.os.IBinder lock, int flags, java.lang.String tag, java.lang.String packageName, android.os.WorkSource ws, java.lang.String historyTag)
|
public void | acquireWakeLockWithUid(android.os.IBinder lock, int flags, java.lang.String tag, java.lang.String packageName, int uidtoblame)
|
public void | boostScreenBrightness(long time)
|
public void | crash(java.lang.String message)
|
public void | goToSleep(long time, int reason, int flags)
|
public boolean | isInteractive()
|
public boolean | isPowerSaveMode()
|
public boolean | isWakeLockLevelSupported(int level)
|
public void | nap(long time)
|
public void | powerHint(int hintId, int data)
|
public void | reboot(boolean confirm, java.lang.String reason, boolean wait)
|
public void | releaseWakeLock(android.os.IBinder lock, int flags)
|
public void | setAttentionLight(boolean on, int color)
|
public boolean | setPowerSaveMode(boolean mode)
|
public void | setStayOnSetting(int val)
|
public void | setTemporaryScreenAutoBrightnessAdjustmentSettingOverride(float adj)
|
public void | setTemporaryScreenBrightnessSettingOverride(int brightness)
|
public void | shutdown(boolean confirm, boolean wait)
|
public void | updateWakeLockUids(android.os.IBinder lock, int[] uids)
|
public void | updateWakeLockWorkSource(android.os.IBinder lock, android.os.WorkSource ws, java.lang.String historyTag)
|
public void | userActivity(long time, int event, int flags)
|
public void | wakeUp(long time)
|