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. |
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
Please submit a feedback, bug or feature