/**@class android.test.mock.MockContext
@extends android.content.Context
A mock {@link android.content.Context} class. All methods are non-functional and throw
{@link java.lang.UnsupportedOperationException}. You can use this to inject other dependencies,
mocks, or monitors into the classes you are testing.
*/
var MockContext = {
/**
*/
getAssets : function( ) {},
/**
*/
getResources : function( ) {},
/**
*/
getPackageManager : function( ) {},
/**
*/
getContentResolver : function( ) {},
/**
*/
getMainLooper : function( ) {},
/**
*/
getMainExecutor : function( ) {},
/**
*/
getApplicationContext : function( ) {},
/**
*/
setTheme : function( ) {},
/**
*/
getTheme : function( ) {},
/**
*/
getClassLoader : function( ) {},
/**
*/
getPackageName : function( ) {},
/**
@hide
*/
getBasePackageName : function( ) {},
/**
@hide
*/
getOpPackageName : function( ) {},
/**
*/
getApplicationInfo : function( ) {},
/**
*/
getPackageResourcePath : function( ) {},
/**
*/
getPackageCodePath : function( ) {},
/**
*/
getSharedPreferences : function( ) {},
/**
@removed
*/
getSharedPreferences : function( ) {},
/**
@hide
*/
reloadSharedPreferences : function( ) {},
/**
*/
moveSharedPreferencesFrom : function( ) {},
/**
*/
deleteSharedPreferences : function( ) {},
/**
*/
openFileInput : function( ) {},
/**
*/
openFileOutput : function( ) {},
/**
*/
deleteFile : function( ) {},
/**
*/
getFileStreamPath : function( ) {},
/**
@removed
*/
getSharedPreferencesPath : function( ) {},
/**
*/
fileList : function( ) {},
/**
*/
getDataDir : function( ) {},
/**
*/
getFilesDir : function( ) {},
/**
*/
getNoBackupFilesDir : function( ) {},
/**
*/
getExternalFilesDir : function( ) {},
/**
*/
getObbDir : function( ) {},
/**
*/
getCacheDir : function( ) {},
/**
*/
getCodeCacheDir : function( ) {},
/**
*/
getExternalCacheDir : function( ) {},
/**
*/
getDir : function( ) {},
/**
*/
openOrCreateDatabase : function( ) {},
/**
*/
openOrCreateDatabase : function( ) {},
/**
*/
getDatabasePath : function( ) {},
/**
*/
databaseList : function( ) {},
/**
*/
moveDatabaseFrom : function( ) {},
/**
*/
deleteDatabase : function( ) {},
/**
*/
getWallpaper : function( ) {},
/**
*/
peekWallpaper : function( ) {},
/**
*/
getWallpaperDesiredMinimumWidth : function( ) {},
/**
*/
getWallpaperDesiredMinimumHeight : function( ) {},
/**
*/
setWallpaper : function( ) {},
/**
*/
setWallpaper : function( ) {},
/**
*/
clearWallpaper : function( ) {},
/**
*/
startActivity : function( ) {},
/**
*/
startActivity : function( ) {},
/**
*/
startActivities : function( ) {},
/**
*/
startActivities : function( ) {},
/**
*/
startIntentSender : function( ) {},
/**
*/
startIntentSender : function( ) {},
/**
*/
sendBroadcast : function( ) {},
/**
*/
sendBroadcast : function( ) {},
/**
@hide
*/
sendBroadcastMultiplePermissions : function( ) {},
/**
@hide
*/
sendBroadcastAsUserMultiplePermissions : function( ) {},
/**
@hide
*/
sendBroadcast : function( ) {},
/**
@hide
*/
sendBroadcast : function( ) {},
/**
*/
sendOrderedBroadcast : function( ) {},
/**
*/
sendOrderedBroadcast : function( ) {},
/**
@hide
*/
sendOrderedBroadcast : function( ) {},
/**
@hide
*/
sendOrderedBroadcast : function( ) {},
/**
*/
sendBroadcastAsUser : function( ) {},
/**
*/
sendBroadcastAsUser : function( ) {},
/**
@hide
*/
sendBroadcastAsUser : function( ) {},
/**
@hide
*/
sendBroadcastAsUser : function( ) {},
/**
*/
sendOrderedBroadcastAsUser : function( ) {},
/**
@hide
*/
sendOrderedBroadcastAsUser : function( ) {},
/**
@hide
*/
sendOrderedBroadcastAsUser : function( ) {},
/**
*/
sendStickyBroadcast : function( ) {},
/**
*/
sendStickyOrderedBroadcast : function( ) {},
/**
*/
removeStickyBroadcast : function( ) {},
/**
*/
sendStickyBroadcastAsUser : function( ) {},
/**
@hide
*/
sendStickyBroadcastAsUser : function( ) {},
/**
*/
sendStickyOrderedBroadcastAsUser : function( ) {},
/**
*/
removeStickyBroadcastAsUser : function( ) {},
/**
*/
registerReceiver : function( ) {},
/**
*/
registerReceiver : function( ) {},
/**
*/
registerReceiver : function( ) {},
/**
*/
registerReceiver : function( ) {},
/**
@hide
*/
registerReceiverAsUser : function( ) {},
/**
*/
unregisterReceiver : function( ) {},
/**
*/
startService : function( ) {},
/**
*/
startForegroundService : function( ) {},
/**
*/
stopService : function( ) {},
/**
@hide
*/
startServiceAsUser : function( ) {},
/**
@hide
*/
startForegroundServiceAsUser : function( ) {},
/**
@hide
*/
stopServiceAsUser : function( ) {},
/**
*/
bindService : function( ) {},
/**
*/
bindService : function( ) {},
/**
*/
bindIsolatedService : function( ) {},
/**
@hide
*/
bindServiceAsUser : function( ) {},
/**
*/
updateServiceGroup : function( ) {},
/**
*/
unbindService : function( ) {},
/**
*/
startInstrumentation : function( ) {},
/**
*/
getSystemService : function( ) {},
/**
*/
getSystemServiceName : function( ) {},
/**
*/
checkPermission : function( ) {},
/**
@hide
*/
checkPermission : function( ) {},
/**
*/
checkCallingPermission : function( ) {},
/**
*/
checkCallingOrSelfPermission : function( ) {},
/**
*/
checkSelfPermission : function( ) {},
/**
*/
enforcePermission : function( ) {},
/**
*/
enforceCallingPermission : function( ) {},
/**
*/
enforceCallingOrSelfPermission : function( ) {},
/**
*/
grantUriPermission : function( ) {},
/**
*/
revokeUriPermission : function( ) {},
/**
*/
revokeUriPermission : function( ) {},
/**
*/
checkUriPermission : function( ) {},
/**
@hide
*/
checkUriPermission : function( ) {},
/**
*/
checkCallingUriPermission : function( ) {},
/**
*/
checkCallingOrSelfUriPermission : function( ) {},
/**
*/
checkUriPermission : function( ) {},
/**
*/
enforceUriPermission : function( ) {},
/**
*/
enforceCallingUriPermission : function( ) {},
/**
*/
enforceCallingOrSelfUriPermission : function( ) {},
/**
*/
enforceUriPermission : function( ) {},
/**
*/
createPackageContext : function( ) {},
/**{@hide}
*/
createApplicationContext : function( ) {},
/**
@hide
*/
createContextForSplit : function( ) {},
/**{@hide}
*/
createPackageContextAsUser : function( ) {},
/**{@hide}
*/
getUserId : function( ) {},
/**
*/
createConfigurationContext : function( ) {},
/**
*/
createDisplayContext : function( ) {},
/**
*/
isRestricted : function( ) {},
/**
@hide
*/
getDisplayAdjustments : function( ) {},
/**
@hide
*/
getDisplay : function( ) {},
/**
@hide
*/
getDisplayId : function( ) {},
/**
@hide
*/
updateDisplay : function( ) {},
/**
*/
getExternalFilesDirs : function( ) {},
/**
*/
getObbDirs : function( ) {},
/**
*/
getExternalCacheDirs : function( ) {},
/**
*/
getExternalMediaDirs : function( ) {},
/**
@hide
*/
getPreloadsFileCache : function( ) {},
/**
*/
createDeviceProtectedStorageContext : function( ) {},
/**{@hide}
*/
createCredentialProtectedStorageContext : function( ) {},
/**
*/
isDeviceProtectedStorage : function( ) {},
/**{@hide}
*/
isCredentialProtectedStorage : function( ) {},
/**{@hide}
*/
canLoadUnsafeResources : function( ) {},
/**{@hide}
*/
getActivityToken : function( ) {},
/**{@hide}
*/
getServiceDispatcher : function( ) {},
/**{@hide}
*/
getIApplicationThread : function( ) {},
/**{@hide}
*/
getMainThreadHandler : function( ) {},
};