Build 1.0_r1(from source)

android.os
Interface IPowerManager

All Superinterfaces:
IInterface
All Known Implementing Classes:
IPowerManager.Stub

public interface IPowerManager
extends IInterface


Nested Class Summary
static class IPowerManager.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 void acquireWakeLock(int flags, IBinder lock, String tag)
           
 long getScreenOnTime()
           
 void goToSleep(long time)
           
 void releaseWakeLock(IBinder lock)
           
 void setPokeLock(int pokey, IBinder lock, String tag)
           
 void setStayOnSetting(boolean val)
           
 void userActivity(long when, boolean noChangeLights)
           
 void userActivityWithForce(long when, boolean noChangeLights, boolean force)
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

acquireWakeLock

void acquireWakeLock(int flags,
                     IBinder lock,
                     String tag)
                     throws RemoteException
Throws:
RemoteException

goToSleep

void goToSleep(long time)
               throws RemoteException
Throws:
RemoteException

releaseWakeLock

void releaseWakeLock(IBinder lock)
                     throws RemoteException
Throws:
RemoteException

userActivity

void userActivity(long when,
                  boolean noChangeLights)
                  throws RemoteException
Throws:
RemoteException

userActivityWithForce

void userActivityWithForce(long when,
                           boolean noChangeLights,
                           boolean force)
                           throws RemoteException
Throws:
RemoteException

setPokeLock

void setPokeLock(int pokey,
                 IBinder lock,
                 String tag)
                 throws RemoteException
Throws:
RemoteException

setStayOnSetting

void setStayOnSetting(boolean val)
                      throws RemoteException
Throws:
RemoteException

getScreenOnTime

long getScreenOnTime()
                     throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature