Methods
| Modifier and Type |
Method and Description |
ContentProviderResult[] |
applyBatch(ArrayList<ContentProviderOperation> operations) |
void |
attachInfo(Context context,
ProviderInfo info) |
int |
bulkInsert(Uri uri,
ContentValues[] values) |
Bundle |
call(String method,
String arg,
Bundle extras) |
abstract int |
delete(Uri uri,
String selection,
String[] selectionArgs) |
Context |
getContext() |
PathPermission[] |
getPathPermissions() |
String |
getReadPermission() |
String[] |
getStreamTypes(Uri uri,
String mimeTypeFilter) |
abstract String |
getType(Uri uri) |
String |
getWritePermission() |
abstract Uri |
insert(Uri uri,
ContentValues values) |
protected boolean |
isTemporary() |
void |
onConfigurationChanged(Configuration newConfig) |
abstract boolean |
onCreate() |
void |
onLowMemory() |
void |
onTrimMemory(int level) |
AssetFileDescriptor |
openAssetFile(Uri uri,
String mode) |
ParcelFileDescriptor |
openFile(Uri uri,
String mode) |
protected ParcelFileDescriptor |
openFileHelper(Uri uri,
String mode) |
<T> ParcelFileDescriptor |
openPipeHelper(Uri uri,
String mimeType,
Bundle opts,
T args,
ContentProvider.PipeDataWriter<T> func) |
AssetFileDescriptor |
openTypedAssetFile(Uri uri,
String mimeTypeFilter,
Bundle opts) |
abstract Cursor |
query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder) |
Cursor |
query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
CancellationSignal cancellationSignal) |
protected void |
setPathPermissions(PathPermission[] permissions) |
protected void |
setReadPermission(String permission) |
protected void |
setWritePermission(String permission) |
void |
shutdown() |
abstract int |
update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs) |