FileDocCategorySizeDatePackage
IContentProvider.javaAPI DocAndroid 5.1 API4576Thu Mar 12 22:22:10 GMT 2015android.content

IContentProvider

public interface IContentProvider implements android.os.IInterface
The ipc interface to talk to a content provider.
hide

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
Constructors Summary
Methods Summary
public ContentProviderResult[]applyBatch(java.lang.String callingPkg, java.util.ArrayList operations)

public intbulkInsert(java.lang.String callingPkg, android.net.Uri url, ContentValues[] initialValues)

public android.os.Bundlecall(java.lang.String callingPkg, java.lang.String method, java.lang.String arg, android.os.Bundle extras)

public android.net.Uricanonicalize(java.lang.String callingPkg, android.net.Uri uri)

public android.os.ICancellationSignalcreateCancellationSignal()

public intdelete(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.StringgetType(android.net.Uri url)

public android.net.Uriinsert(java.lang.String callingPkg, android.net.Uri url, ContentValues initialValues)

public android.content.res.AssetFileDescriptoropenAssetFile(java.lang.String callingPkg, android.net.Uri url, java.lang.String mode, android.os.ICancellationSignal signal)

public android.os.ParcelFileDescriptoropenFile(java.lang.String callingPkg, android.net.Uri url, java.lang.String mode, android.os.ICancellationSignal signal, android.os.IBinder callerToken)

public android.content.res.AssetFileDescriptoropenTypedAssetFile(java.lang.String callingPkg, android.net.Uri url, java.lang.String mimeType, android.os.Bundle opts, android.os.ICancellationSignal signal)

public android.database.Cursorquery(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.Uriuncanonicalize(java.lang.String callingPkg, android.net.Uri uri)

public intupdate(java.lang.String callingPkg, android.net.Uri url, ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs)