FileDocCategorySizeDatePackage
MockIContentProvider.javaAPI DocAndroid 5.1 API5113Thu Mar 12 22:22:42 GMT 2015android.test.mock

MockIContentProvider

public class MockIContentProvider extends Object implements android.content.IContentProvider
Mock implementation of IContentProvider. All methods are non-functional and throw {@link java.lang.UnsupportedOperationException}. Tests can extend this class to implement behavior needed for tests.
hide
- @hide because this exposes bulkQuery() and call(), which must also be hidden.

Fields Summary
Constructors Summary
Methods Summary
public android.content.ContentProviderResult[]applyBatch(java.lang.String callingPackage, java.util.ArrayList operations)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.os.IBinderasBinder()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intbulkInsert(java.lang.String callingPackage, android.net.Uri url, android.content.ContentValues[] initialValues)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.os.Bundlecall(java.lang.String callingPackage, java.lang.String method, java.lang.String request, android.os.Bundle args)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.net.Uricanonicalize(java.lang.String callingPkg, android.net.Uri uri)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.os.ICancellationSignalcreateCancellationSignal()

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intdelete(java.lang.String callingPackage, android.net.Uri url, java.lang.String selection, java.lang.String[] selectionArgs)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public java.lang.String[]getStreamTypes(android.net.Uri url, java.lang.String mimeTypeFilter)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public java.lang.StringgetType(android.net.Uri url)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.net.Uriinsert(java.lang.String callingPackage, android.net.Uri url, android.content.ContentValues initialValues)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.content.res.AssetFileDescriptoropenAssetFile(java.lang.String callingPackage, android.net.Uri uri, java.lang.String mode, android.os.ICancellationSignal signal)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.os.ParcelFileDescriptoropenFile(java.lang.String callingPackage, android.net.Uri url, java.lang.String mode, android.os.ICancellationSignal signal, android.os.IBinder callerToken)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.content.res.AssetFileDescriptoropenTypedAssetFile(java.lang.String callingPackage, android.net.Uri url, java.lang.String mimeType, android.os.Bundle opts, android.os.ICancellationSignal signal)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.database.Cursorquery(java.lang.String callingPackage, android.net.Uri url, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder, android.os.ICancellationSignal cancellationSignal)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.content.EntityIteratorqueryEntities(android.net.Uri url, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public android.net.Uriuncanonicalize(java.lang.String callingPkg, android.net.Uri uri)

        throw new UnsupportedOperationException("unimplemented mock method");
    
public intupdate(java.lang.String callingPackage, android.net.Uri url, android.content.ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs)

        throw new UnsupportedOperationException("unimplemented mock method");