public abstract class ContentProviderNative extends Binder implements IContentProvider
IBinder.DeathRecipient
APPLY_BATCH_TRANSACTION, BULK_INSERT_TRANSACTION, CALL_TRANSACTION, CREATE_CANCELATION_SIGNAL_TRANSACTION, DELETE_TRANSACTION, descriptor, GET_STREAM_TYPES_TRANSACTION, GET_TYPE_TRANSACTION, INSERT_TRANSACTION, OPEN_ASSET_FILE_TRANSACTION, OPEN_FILE_TRANSACTION, OPEN_TYPED_ASSET_FILE_TRANSACTION, QUERY_TRANSACTION, UPDATE_TRANSACTION
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, LIKE_TRANSACTION, PING_TRANSACTION, SYSPROPS_TRANSACTION, TWEET_TRANSACTION
Constructor and Description |
---|
ContentProviderNative() |
Modifier and Type | Method and Description |
---|---|
IBinder |
asBinder()
Retrieve the Binder object associated with this interface.
|
static IContentProvider |
asInterface(IBinder obj)
Cast a Binder object into a content resolver interface, generating
a proxy if needed.
|
abstract String |
getProviderName()
Gets the name of the content provider.
|
boolean |
onTransact(int code,
Parcel data,
Parcel reply,
int flags)
Default implementation is a stub that returns false.
|
attachInterface, clearCallingIdentity, dump, dump, dumpAsync, finalize, flushPendingCommands, getCallingPid, getCallingUid, getCallingUserHandle, getInterfaceDescriptor, getThreadStrictModePolicy, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, setThreadStrictModePolicy, transact, unlinkToDeath
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyBatch, bulkInsert, call, createCancellationSignal, delete, getStreamTypes, getType, insert, openAssetFile, openFile, openTypedAssetFile, query, update
public static IContentProvider asInterface(IBinder obj)
public abstract String getProviderName()
IContentProvider
interface.public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException
Binder
If you want to call this, call transact().
onTransact
in class Binder
RemoteException
public IBinder asBinder()
IInterface
asBinder
in interface IInterface