FileDocCategorySizeDatePackage
IPowerManager.javaAPI DocAndroid 5.1 API22779Sat Mar 14 05:48:04 GMT 2015android.os

IPowerManager

public interface IPowerManager implements android.os.IInterface
hide

Fields Summary
Constructors Summary
Methods Summary
public voidacquireWakeLock(android.os.IBinder lock, int flags, java.lang.String tag, java.lang.String packageName, android.os.WorkSource ws, java.lang.String historyTag)

public voidacquireWakeLockWithUid(android.os.IBinder lock, int flags, java.lang.String tag, java.lang.String packageName, int uidtoblame)

public voidboostScreenBrightness(long time)

public voidcrash(java.lang.String message)

public voidgoToSleep(long time, int reason, int flags)

public booleanisInteractive()

public booleanisPowerSaveMode()

public booleanisWakeLockLevelSupported(int level)

public voidnap(long time)

public voidpowerHint(int hintId, int data)

public voidreboot(boolean confirm, java.lang.String reason, boolean wait)

public voidreleaseWakeLock(android.os.IBinder lock, int flags)

public voidsetAttentionLight(boolean on, int color)

public booleansetPowerSaveMode(boolean mode)

public voidsetStayOnSetting(int val)

public voidsetTemporaryScreenAutoBrightnessAdjustmentSettingOverride(float adj)

public voidsetTemporaryScreenBrightnessSettingOverride(int brightness)

public voidshutdown(boolean confirm, boolean wait)

public voidupdateWakeLockUids(android.os.IBinder lock, int[] uids)

public voidupdateWakeLockWorkSource(android.os.IBinder lock, android.os.WorkSource ws, java.lang.String historyTag)

public voiduserActivity(long time, int event, int flags)

public voidwakeUp(long time)