public interface IContentProvider extends IInterface
Modifier and Type | Field and Description |
---|---|
static int |
APPLY_BATCH_TRANSACTION |
static int |
BULK_INSERT_TRANSACTION |
static int |
CALL_TRANSACTION |
static int |
CANONICALIZE_TRANSACTION |
static int |
CREATE_CANCELATION_SIGNAL_TRANSACTION |
static int |
DELETE_TRANSACTION |
static String |
descriptor |
static int |
GET_STREAM_TYPES_TRANSACTION |
static int |
GET_TYPE_TRANSACTION |
static int |
INSERT_TRANSACTION |
static int |
OPEN_ASSET_FILE_TRANSACTION |
static int |
OPEN_FILE_TRANSACTION |
static int |
OPEN_TYPED_ASSET_FILE_TRANSACTION |
static int |
QUERY_TRANSACTION |
static int |
UNCANONICALIZE_TRANSACTION |
static int |
UPDATE_TRANSACTION |
Modifier and Type | Method and Description |
---|---|
ContentProviderResult[] |
applyBatch(String callingPkg,
ArrayList<ContentProviderOperation> operations) |
int |
bulkInsert(String callingPkg,
Uri url,
ContentValues[] initialValues) |
Bundle |
call(String callingPkg,
String method,
String arg,
Bundle extras) |
Uri |
canonicalize(String callingPkg,
Uri uri) |
ICancellationSignal |
createCancellationSignal() |
int |
delete(String callingPkg,
Uri url,
String selection,
String[] selectionArgs) |
String[] |
getStreamTypes(Uri url,
String mimeTypeFilter) |
String |
getType(Uri url) |
Uri |
insert(String callingPkg,
Uri url,
ContentValues initialValues) |
AssetFileDescriptor |
openAssetFile(String callingPkg,
Uri url,
String mode,
ICancellationSignal signal) |
ParcelFileDescriptor |
openFile(String callingPkg,
Uri url,
String mode,
ICancellationSignal signal,
IBinder callerToken) |
AssetFileDescriptor |
openTypedAssetFile(String callingPkg,
Uri url,
String mimeType,
Bundle opts,
ICancellationSignal signal) |
Cursor |
query(String callingPkg,
Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
ICancellationSignal cancellationSignal) |
Uri |
uncanonicalize(String callingPkg,
Uri uri) |
int |
update(String callingPkg,
Uri url,
ContentValues values,
String selection,
String[] selectionArgs) |
asBinder
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
Cursor query(String callingPkg, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) throws RemoteException
RemoteException
String getType(Uri url) throws RemoteException
RemoteException
Uri insert(String callingPkg, Uri url, ContentValues initialValues) throws RemoteException
RemoteException
int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) throws RemoteException
RemoteException
int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) throws RemoteException
RemoteException
int update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) throws RemoteException
RemoteException
ParcelFileDescriptor openFile(String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) throws RemoteException, FileNotFoundException
RemoteException
FileNotFoundException
AssetFileDescriptor openAssetFile(String callingPkg, Uri url, String mode, ICancellationSignal signal) throws RemoteException, FileNotFoundException
RemoteException
FileNotFoundException
ContentProviderResult[] applyBatch(String callingPkg, ArrayList<ContentProviderOperation> operations) throws RemoteException, OperationApplicationException
Bundle call(String callingPkg, String method, String arg, Bundle extras) throws RemoteException
RemoteException
ICancellationSignal createCancellationSignal() throws RemoteException
RemoteException
Uri canonicalize(String callingPkg, Uri uri) throws RemoteException
RemoteException
Uri uncanonicalize(String callingPkg, Uri uri) throws RemoteException
RemoteException
String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException
RemoteException
AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) throws RemoteException, FileNotFoundException
RemoteException
FileNotFoundException