@Implements(value=android.content.ContentProviderClient.class) public class ShadowContentProviderClient extends java.lang.Object
Constructor and Description |
---|
ShadowContentProviderClient() |
Modifier and Type | Method and Description |
---|---|
protected android.content.ContentProviderResult[] |
applyBatch(java.util.ArrayList<android.content.ContentProviderOperation> operations) |
protected int |
bulkInsert(android.net.Uri url,
android.content.ContentValues[] initialValues) |
protected android.os.Bundle |
call(java.lang.String method,
java.lang.String arg,
android.os.Bundle extras) |
protected int |
delete(android.net.Uri url,
java.lang.String selection,
java.lang.String[] selectionArgs) |
protected android.content.ContentProvider |
getLocalContentProvider() |
protected java.lang.String[] |
getStreamTypes(android.net.Uri uri,
java.lang.String mimeTypeFilter) |
protected java.lang.String |
getType(android.net.Uri uri) |
protected android.net.Uri |
insert(android.net.Uri url,
android.content.ContentValues initialValues) |
boolean |
isReleased() |
boolean |
isStable() |
protected android.content.res.AssetFileDescriptor |
openAssetFile(android.net.Uri url,
java.lang.String mode) |
protected android.os.ParcelFileDescriptor |
openFile(android.net.Uri url,
java.lang.String mode) |
protected android.content.res.AssetFileDescriptor |
openTypedAssetFileDescriptor(android.net.Uri uri,
java.lang.String mimeType,
android.os.Bundle opts) |
protected android.database.Cursor |
query(android.net.Uri url,
java.lang.String[] projection,
java.lang.String selection,
java.lang.String[] selectionArgs,
java.lang.String sortOrder) |
protected android.database.Cursor |
query(android.net.Uri url,
java.lang.String[] projection,
java.lang.String selection,
java.lang.String[] selectionArgs,
java.lang.String sortOrder,
android.os.CancellationSignal cancellationSignal) |
protected boolean |
release() |
protected int |
update(android.net.Uri url,
android.content.ContentValues values,
java.lang.String selection,
java.lang.String[] selectionArgs) |
@Implementation(minSdk=17) protected android.os.Bundle call(java.lang.String method, java.lang.String arg, android.os.Bundle extras) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected java.lang.String getType(android.net.Uri uri) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected java.lang.String[] getStreamTypes(android.net.Uri uri, java.lang.String mimeTypeFilter)
@Implementation protected android.database.Cursor query(android.net.Uri url, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected android.database.Cursor query(android.net.Uri url, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder, android.os.CancellationSignal cancellationSignal) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected android.net.Uri insert(android.net.Uri url, android.content.ContentValues initialValues) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected int bulkInsert(android.net.Uri url, android.content.ContentValues[] initialValues) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected int delete(android.net.Uri url, java.lang.String selection, java.lang.String[] selectionArgs) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected int update(android.net.Uri url, android.content.ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs) throws android.os.RemoteException
android.os.RemoteException
@Implementation protected android.os.ParcelFileDescriptor openFile(android.net.Uri url, java.lang.String mode) throws android.os.RemoteException, java.io.FileNotFoundException
android.os.RemoteException
java.io.FileNotFoundException
@Implementation protected android.content.res.AssetFileDescriptor openAssetFile(android.net.Uri url, java.lang.String mode) throws android.os.RemoteException, java.io.FileNotFoundException
android.os.RemoteException
java.io.FileNotFoundException
@Implementation protected final android.content.res.AssetFileDescriptor openTypedAssetFileDescriptor(android.net.Uri uri, java.lang.String mimeType, android.os.Bundle opts) throws android.os.RemoteException, java.io.FileNotFoundException
android.os.RemoteException
java.io.FileNotFoundException
@Implementation protected android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.content.ContentProviderOperation> operations) throws android.os.RemoteException, android.content.OperationApplicationException
android.os.RemoteException
android.content.OperationApplicationException
@Implementation protected boolean release()
@Implementation protected android.content.ContentProvider getLocalContentProvider()
public boolean isStable()
public boolean isReleased()