Build 1.0_r1(from source)

android.content
Class ContentServiceNative

java.lang.Object
  extended by android.os.Binder
      extended by android.content.ContentServiceNative
All Implemented Interfaces:
IContentService, IBinder, IInterface
Direct Known Subclasses:
ContentService

abstract class ContentServiceNative
extends Binder
implements IContentService


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
 
Fields inherited from interface android.content.IContentService
CANCEL_SYNC_TRANSACTION, descriptor, NOTIFY_CHANGE_TRANSACTION, REGISTER_CONTENT_OBSERVER_TRANSACTION, SERVICE_NAME, START_SYNC_TRANSACTION, UNREGISTER_CHANGE_OBSERVER_TRANSACTION
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
ContentServiceNative()
           
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IContentService asInterface(IBinder obj)
          Cast a Binder object into a content resolver interface, generating a proxy if needed.
static IContentService getDefault()
          Retrieve the system's default/global content service.
 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.content.IContentService
cancelSync, notifyChange, registerContentObserver, startSync, unregisterContentObserver
 

Constructor Detail

ContentServiceNative

public ContentServiceNative()
Method Detail

asInterface

public static IContentService asInterface(IBinder obj)
Cast a Binder object into a content resolver interface, generating a proxy if needed.


getDefault

public static IContentService getDefault()
Retrieve the system's default/global content service.


onTransact

public boolean onTransact(int code,
                          Parcel data,
                          Parcel reply,
                          int flags)
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

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature