FileDocCategorySizeDatePackage
MockContext.javaAPI DocAndroid 5.1 API11983Sat Mar 14 14:09:42 GMT 2015android.test.mock

MockContext

public class MockContext extends android.content.Context

Fields Summary
Constructors Summary
public MockContext()

 throw new RuntimeException("Stub!"); 
Methods Summary
public booleanbindService(android.content.Intent service, android.content.ServiceConnection conn, int flags)

 throw new RuntimeException("Stub!"); 
public intcheckCallingOrSelfPermission(java.lang.String permission)

 throw new RuntimeException("Stub!"); 
public intcheckCallingOrSelfUriPermission(android.net.Uri uri, int modeFlags)

 throw new RuntimeException("Stub!"); 
public intcheckCallingPermission(java.lang.String permission)

 throw new RuntimeException("Stub!"); 
public intcheckCallingUriPermission(android.net.Uri uri, int modeFlags)

 throw new RuntimeException("Stub!"); 
public intcheckPermission(java.lang.String permission, int pid, int uid)

 throw new RuntimeException("Stub!"); 
public intcheckUriPermission(android.net.Uri uri, int pid, int uid, int modeFlags)

 throw new RuntimeException("Stub!"); 
public intcheckUriPermission(android.net.Uri uri, java.lang.String readPermission, java.lang.String writePermission, int pid, int uid, int modeFlags)

 throw new RuntimeException("Stub!"); 
public voidclearWallpaper()

 throw new RuntimeException("Stub!"); 
public android.content.ContextcreateConfigurationContext(android.content.res.Configuration overrideConfiguration)

 throw new RuntimeException("Stub!"); 
public android.content.ContextcreateDisplayContext(android.view.Display display)

 throw new RuntimeException("Stub!"); 
public android.content.ContextcreatePackageContext(java.lang.String packageName, int flags)

 throw new RuntimeException("Stub!"); 
public java.lang.String[]databaseList()

 throw new RuntimeException("Stub!"); 
public booleandeleteDatabase(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public booleandeleteFile(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public voidenforceCallingOrSelfPermission(java.lang.String permission, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public voidenforceCallingOrSelfUriPermission(android.net.Uri uri, int modeFlags, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public voidenforceCallingPermission(java.lang.String permission, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public voidenforceCallingUriPermission(android.net.Uri uri, int modeFlags, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public voidenforcePermission(java.lang.String permission, int pid, int uid, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public voidenforceUriPermission(android.net.Uri uri, int pid, int uid, int modeFlags, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public voidenforceUriPermission(android.net.Uri uri, java.lang.String readPermission, java.lang.String writePermission, int pid, int uid, int modeFlags, java.lang.String message)

 throw new RuntimeException("Stub!"); 
public java.lang.String[]fileList()

 throw new RuntimeException("Stub!"); 
public android.content.ContextgetApplicationContext()

 throw new RuntimeException("Stub!"); 
public android.content.pm.ApplicationInfogetApplicationInfo()

 throw new RuntimeException("Stub!"); 
public android.content.res.AssetManagergetAssets()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetCacheDir()

 throw new RuntimeException("Stub!"); 
public java.lang.ClassLoadergetClassLoader()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetCodeCacheDir()

 throw new RuntimeException("Stub!"); 
public android.content.ContentResolvergetContentResolver()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetDatabasePath(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public java.io.FilegetDir(java.lang.String name, int mode)

 throw new RuntimeException("Stub!"); 
public java.io.FilegetExternalCacheDir()

 throw new RuntimeException("Stub!"); 
public java.io.File[]getExternalCacheDirs()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetExternalFilesDir(java.lang.String type)

 throw new RuntimeException("Stub!"); 
public java.io.File[]getExternalFilesDirs(java.lang.String type)

 throw new RuntimeException("Stub!"); 
public java.io.File[]getExternalMediaDirs()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetFileStreamPath(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public java.io.FilegetFilesDir()

 throw new RuntimeException("Stub!"); 
public android.os.LoopergetMainLooper()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetNoBackupFilesDir()

 throw new RuntimeException("Stub!"); 
public java.io.FilegetObbDir()

 throw new RuntimeException("Stub!"); 
public java.io.File[]getObbDirs()

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetPackageCodePath()

 throw new RuntimeException("Stub!"); 
public android.content.pm.PackageManagergetPackageManager()

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetPackageName()

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetPackageResourcePath()

 throw new RuntimeException("Stub!"); 
public android.content.res.ResourcesgetResources()

 throw new RuntimeException("Stub!"); 
public android.content.SharedPreferencesgetSharedPreferences(java.lang.String name, int mode)

 throw new RuntimeException("Stub!"); 
public java.lang.ObjectgetSystemService(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public android.content.res.Resources.ThemegetTheme()

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablegetWallpaper()

 throw new RuntimeException("Stub!"); 
public intgetWallpaperDesiredMinimumHeight()

 throw new RuntimeException("Stub!"); 
public intgetWallpaperDesiredMinimumWidth()

 throw new RuntimeException("Stub!"); 
public voidgrantUriPermission(java.lang.String toPackage, android.net.Uri uri, int modeFlags)

 throw new RuntimeException("Stub!"); 
public booleanisRestricted()

 throw new RuntimeException("Stub!"); 
public java.io.FileInputStreamopenFileInput(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public java.io.FileOutputStreamopenFileOutput(java.lang.String name, int mode)

 throw new RuntimeException("Stub!"); 
public android.database.sqlite.SQLiteDatabaseopenOrCreateDatabase(java.lang.String file, int mode, android.database.sqlite.SQLiteDatabase.CursorFactory factory)

 throw new RuntimeException("Stub!"); 
public android.database.sqlite.SQLiteDatabaseopenOrCreateDatabase(java.lang.String file, int mode, android.database.sqlite.SQLiteDatabase.CursorFactory factory, android.database.DatabaseErrorHandler errorHandler)

 throw new RuntimeException("Stub!"); 
public android.graphics.drawable.DrawablepeekWallpaper()

 throw new RuntimeException("Stub!"); 
public android.content.IntentregisterReceiver(android.content.BroadcastReceiver receiver, android.content.IntentFilter filter)

 throw new RuntimeException("Stub!"); 
public android.content.IntentregisterReceiver(android.content.BroadcastReceiver receiver, android.content.IntentFilter filter, java.lang.String broadcastPermission, android.os.Handler scheduler)

 throw new RuntimeException("Stub!"); 
public voidremoveStickyBroadcast(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public voidremoveStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle user)

 throw new RuntimeException("Stub!"); 
public voidrevokeUriPermission(android.net.Uri uri, int modeFlags)

 throw new RuntimeException("Stub!"); 
public voidsendBroadcast(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public voidsendBroadcast(android.content.Intent intent, java.lang.String receiverPermission)

 throw new RuntimeException("Stub!"); 
public voidsendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle user)

 throw new RuntimeException("Stub!"); 
public voidsendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle user, java.lang.String receiverPermission)

 throw new RuntimeException("Stub!"); 
public voidsendOrderedBroadcast(android.content.Intent intent, java.lang.String receiverPermission)

 throw new RuntimeException("Stub!"); 
public voidsendOrderedBroadcast(android.content.Intent intent, java.lang.String receiverPermission, android.content.BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)

 throw new RuntimeException("Stub!"); 
public voidsendOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle user, java.lang.String receiverPermission, android.content.BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)

 throw new RuntimeException("Stub!"); 
public voidsendStickyBroadcast(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public voidsendStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle user)

 throw new RuntimeException("Stub!"); 
public voidsendStickyOrderedBroadcast(android.content.Intent intent, android.content.BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)

 throw new RuntimeException("Stub!"); 
public voidsendStickyOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle user, android.content.BroadcastReceiver resultReceiver, android.os.Handler scheduler, int initialCode, java.lang.String initialData, android.os.Bundle initialExtras)

 throw new RuntimeException("Stub!"); 
public voidsetTheme(int resid)

 throw new RuntimeException("Stub!"); 
public voidsetWallpaper(android.graphics.Bitmap bitmap)

 throw new RuntimeException("Stub!"); 
public voidsetWallpaper(java.io.InputStream data)

 throw new RuntimeException("Stub!"); 
public voidstartActivities(android.content.Intent[] intents)

 throw new RuntimeException("Stub!"); 
public voidstartActivities(android.content.Intent[] intents, android.os.Bundle options)

 throw new RuntimeException("Stub!"); 
public voidstartActivity(android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public voidstartActivity(android.content.Intent intent, android.os.Bundle options)

 throw new RuntimeException("Stub!"); 
public booleanstartInstrumentation(android.content.ComponentName className, java.lang.String profileFile, android.os.Bundle arguments)

 throw new RuntimeException("Stub!"); 
public voidstartIntentSender(android.content.IntentSender intent, android.content.Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)

 throw new RuntimeException("Stub!"); 
public voidstartIntentSender(android.content.IntentSender intent, android.content.Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, android.os.Bundle options)

 throw new RuntimeException("Stub!"); 
public android.content.ComponentNamestartService(android.content.Intent service)

 throw new RuntimeException("Stub!"); 
public booleanstopService(android.content.Intent service)

 throw new RuntimeException("Stub!"); 
public voidunbindService(android.content.ServiceConnection conn)

 throw new RuntimeException("Stub!"); 
public voidunregisterReceiver(android.content.BroadcastReceiver receiver)

 throw new RuntimeException("Stub!");