IContentProviderpublic interface IContentProvider implements android.os.IInterfaceThe ipc interface to talk to a content provider. |
Fields Summary |
---|
static final String | descriptor | static final int | QUERY_TRANSACTION | static final int | GET_TYPE_TRANSACTION | static final int | INSERT_TRANSACTION | static final int | DELETE_TRANSACTION | static final int | UPDATE_TRANSACTION | static final int | BULK_INSERT_TRANSACTION | static final int | OPEN_FILE_TRANSACTION | static final int | OPEN_ASSET_FILE_TRANSACTION | static final int | APPLY_BATCH_TRANSACTION | static final int | CALL_TRANSACTION | static final int | GET_STREAM_TYPES_TRANSACTION | static final int | OPEN_TYPED_ASSET_FILE_TRANSACTION | static final int | CREATE_CANCELATION_SIGNAL_TRANSACTION | static final int | CANONICALIZE_TRANSACTION | static final int | UNCANONICALIZE_TRANSACTION |
Methods Summary |
---|
public ContentProviderResult[] | applyBatch(java.lang.String callingPkg, java.util.ArrayList operations)
| public int | bulkInsert(java.lang.String callingPkg, android.net.Uri url, ContentValues[] initialValues)
| public android.os.Bundle | call(java.lang.String callingPkg, java.lang.String method, java.lang.String arg, android.os.Bundle extras)
| public android.net.Uri | canonicalize(java.lang.String callingPkg, android.net.Uri uri)
| public android.os.ICancellationSignal | createCancellationSignal()
| public int | delete(java.lang.String callingPkg, android.net.Uri url, java.lang.String selection, java.lang.String[] selectionArgs)
| public java.lang.String[] | getStreamTypes(android.net.Uri url, java.lang.String mimeTypeFilter)
| public java.lang.String | getType(android.net.Uri url)
| public android.net.Uri | insert(java.lang.String callingPkg, android.net.Uri url, ContentValues initialValues)
| public android.content.res.AssetFileDescriptor | openAssetFile(java.lang.String callingPkg, android.net.Uri url, java.lang.String mode, android.os.ICancellationSignal signal)
| public android.os.ParcelFileDescriptor | openFile(java.lang.String callingPkg, android.net.Uri url, java.lang.String mode, android.os.ICancellationSignal signal, android.os.IBinder callerToken)
| public android.content.res.AssetFileDescriptor | openTypedAssetFile(java.lang.String callingPkg, android.net.Uri url, java.lang.String mimeType, android.os.Bundle opts, android.os.ICancellationSignal signal)
| public android.database.Cursor | query(java.lang.String callingPkg, android.net.Uri url, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder, android.os.ICancellationSignal cancellationSignal)
| public android.net.Uri | uncanonicalize(java.lang.String callingPkg, android.net.Uri uri)
| public int | update(java.lang.String callingPkg, android.net.Uri url, ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs)
|
|