FileDocCategorySizeDatePackage
BridgePowerManager.javaAPI DocAndroid 5.1 API3826Thu Mar 12 22:22:44 GMT 2015com.android.layoutlib.bridge.android

BridgePowerManager

public class BridgePowerManager extends Object implements android.os.IPowerManager
Fake implementation of IPowerManager.

Fields Summary
Constructors Summary
Methods Summary
public voidacquireWakeLock(android.os.IBinder arg0, int arg1, java.lang.String arg2, java.lang.String arg2_5, android.os.WorkSource arg3, java.lang.String arg4)

        // pass for now.
    
public voidacquireWakeLockWithUid(android.os.IBinder arg0, int arg1, java.lang.String arg2, java.lang.String arg2_5, int arg3)

        // pass for now.
    
public android.os.IBinderasBinder()

        // pass for now.
        return null;
    
public voidboostScreenBrightness(long time)

        // pass for now.
    
public voidcrash(java.lang.String arg0)

        // pass for now.
    
public voidgoToSleep(long arg0, int arg1, int arg2)

        // pass for now.
    
public booleanisInteractive()

        return true;
    
public booleanisPowerSaveMode()

        return false;
    
public booleanisWakeLockLevelSupported(int level)

        // pass for now.
        return true;
    
public voidnap(long arg0)

        // pass for now.
    
public voidpowerHint(int hintId, int data)

        // pass for now.
    
public voidreboot(boolean confirm, java.lang.String reason, boolean wait)

        // pass for now.
    
public voidreleaseWakeLock(android.os.IBinder arg0, int arg1)

        // pass for now.
    
public voidsetAttentionLight(boolean arg0, int arg1)

        // pass for now.
    
public booleansetPowerSaveMode(boolean mode)

        return false;
    
public voidsetStayOnSetting(int arg0)

        // pass for now.
    
public voidsetTemporaryScreenAutoBrightnessAdjustmentSettingOverride(float arg0)

        // pass for now.
    
public voidsetTemporaryScreenBrightnessSettingOverride(int arg0)

        // pass for now.
    
public voidshutdown(boolean confirm, boolean wait)

        // pass for now.
    
public voidupdateWakeLockUids(android.os.IBinder arg0, int[] arg1)

        // pass for now.
    
public voidupdateWakeLockWorkSource(android.os.IBinder arg0, android.os.WorkSource arg1, java.lang.String arg2)

        // pass for now.
    
public voiduserActivity(long time, int event, int flags)

        // pass for now.
    
public voidwakeUp(long time)

        // pass for now.