Build 1.0_r1(from source)

android.net
Class IConnectivityManager.Stub

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

public abstract static class IConnectivityManager.Stub
extends Binder
implements IConnectivityManager

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.net.IConnectivityManager
IConnectivityManager.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_getActiveNetworkInfo
           
(package private) static int TRANSACTION_getAllNetworkInfo
           
(package private) static int TRANSACTION_getNetworkInfo
           
(package private) static int TRANSACTION_getNetworkPreference
           
(package private) static int TRANSACTION_requestRouteToHost
           
(package private) static int TRANSACTION_setNetworkPreference
           
(package private) static int TRANSACTION_setRadio
           
(package private) static int TRANSACTION_setRadios
           
(package private) static int TRANSACTION_startUsingNetworkFeature
           
(package private) static int TRANSACTION_stopUsingNetworkFeature
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IConnectivityManager.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IConnectivityManager asInterface(IBinder obj)
          Cast an IBinder object into an IConnectivityManager 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.net.IConnectivityManager
getActiveNetworkInfo, getAllNetworkInfo, getNetworkInfo, getNetworkPreference, requestRouteToHost, setNetworkPreference, setRadio, setRadios, startUsingNetworkFeature, stopUsingNetworkFeature
 

Field Detail

TRANSACTION_setNetworkPreference

static final int TRANSACTION_setNetworkPreference
See Also:
Constant Field Values

TRANSACTION_getNetworkPreference

static final int TRANSACTION_getNetworkPreference
See Also:
Constant Field Values

TRANSACTION_getActiveNetworkInfo

static final int TRANSACTION_getActiveNetworkInfo
See Also:
Constant Field Values

TRANSACTION_getNetworkInfo

static final int TRANSACTION_getNetworkInfo
See Also:
Constant Field Values

TRANSACTION_getAllNetworkInfo

static final int TRANSACTION_getAllNetworkInfo
See Also:
Constant Field Values

TRANSACTION_setRadios

static final int TRANSACTION_setRadios
See Also:
Constant Field Values

TRANSACTION_setRadio

static final int TRANSACTION_setRadio
See Also:
Constant Field Values

TRANSACTION_startUsingNetworkFeature

static final int TRANSACTION_startUsingNetworkFeature
See Also:
Constant Field Values

TRANSACTION_stopUsingNetworkFeature

static final int TRANSACTION_stopUsingNetworkFeature
See Also:
Constant Field Values

TRANSACTION_requestRouteToHost

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

IConnectivityManager.Stub

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

Method Detail

asInterface

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