Build 1.0_r1(from source)

android.os
Class IPowerManager.Stub

java.lang.Object
  extended by android.os.Binder
      extended by android.os.IPowerManager.Stub
All Implemented Interfaces:
IBinder, IInterface, IPowerManager
Enclosing interface:
IPowerManager

public abstract static class IPowerManager.Stub
extends Binder
implements IPowerManager

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.IPowerManager
IPowerManager.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_acquireWakeLock
           
(package private) static int TRANSACTION_getScreenOnTime
           
(package private) static int TRANSACTION_goToSleep
           
(package private) static int TRANSACTION_releaseWakeLock
           
(package private) static int TRANSACTION_setPokeLock
           
(package private) static int TRANSACTION_setStayOnSetting
           
(package private) static int TRANSACTION_userActivity
           
(package private) static int TRANSACTION_userActivityWithForce
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IPowerManager.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IPowerManager asInterface(IBinder obj)
          Cast an IBinder object into an IPowerManager interface, generating a proxy if needed.
 boolean onTransact(int code, Parcel data, Parcel reply, int flags)
          Default implementation is a stub that returns false.
 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface android.os.IPowerManager
acquireWakeLock, getScreenOnTime, goToSleep, releaseWakeLock, setPokeLock, setStayOnSetting, userActivity, userActivityWithForce
 

Field Detail

TRANSACTION_acquireWakeLock

static final int TRANSACTION_acquireWakeLock
See Also:
Constant Field Values

TRANSACTION_goToSleep

static final int TRANSACTION_goToSleep
See Also:
Constant Field Values

TRANSACTION_releaseWakeLock

static final int TRANSACTION_releaseWakeLock
See Also:
Constant Field Values

TRANSACTION_userActivity

static final int TRANSACTION_userActivity
See Also:
Constant Field Values

TRANSACTION_userActivityWithForce

static final int TRANSACTION_userActivityWithForce
See Also:
Constant Field Values

TRANSACTION_setPokeLock

static final int TRANSACTION_setPokeLock
See Also:
Constant Field Values

TRANSACTION_setStayOnSetting

static final int TRANSACTION_setStayOnSetting
See Also:
Constant Field Values

TRANSACTION_getScreenOnTime

static final int TRANSACTION_getScreenOnTime
See Also:
Constant Field Values
Constructor Detail

IPowerManager.Stub

public IPowerManager.Stub()
Construct the stub at attach it to the interface.

Method Detail

asInterface

public static IPowerManager asInterface(IBinder obj)
Cast an IBinder object into an IPowerManager interface, generating a proxy if needed.


asBinder

public IBinder asBinder()
Description copied from interface: IInterface
Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

Specified by:
asBinder in interface IInterface

onTransact

public boolean onTransact(int code,
                          Parcel data,
                          Parcel reply,
                          int flags)
                   throws RemoteException
Description copied from class: Binder
Default implementation is a stub that returns false. You will want to override this to do the appropriate unmarshalling of transactions.

If you want to call this, call transact().

Overrides:
onTransact in class Binder
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature