Build 1.0_r1(from source)

android.os
Class IMountService.Stub

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

public abstract static class IMountService.Stub
extends Binder
implements IMountService

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.IMountService
IMountService.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_getMassStorageConnected
           
(package private) static int TRANSACTION_getMassStorageEnabled
           
(package private) static int TRANSACTION_mountMedia
           
(package private) static int TRANSACTION_setMassStorageEnabled
           
(package private) static int TRANSACTION_unmountMedia
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IMountService.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IMountService asInterface(IBinder obj)
          Cast an IBinder object into an IMountService 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.IMountService
getMassStorageConnected, getMassStorageEnabled, mountMedia, setMassStorageEnabled, unmountMedia
 

Field Detail

TRANSACTION_getMassStorageEnabled

static final int TRANSACTION_getMassStorageEnabled
See Also:
Constant Field Values

TRANSACTION_setMassStorageEnabled

static final int TRANSACTION_setMassStorageEnabled
See Also:
Constant Field Values

TRANSACTION_getMassStorageConnected

static final int TRANSACTION_getMassStorageConnected
See Also:
Constant Field Values

TRANSACTION_mountMedia

static final int TRANSACTION_mountMedia
See Also:
Constant Field Values

TRANSACTION_unmountMedia

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

IMountService.Stub

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

Method Detail

asInterface

public static IMountService asInterface(IBinder obj)
Cast an IBinder object into an IMountService 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