Package org.robolectric.shadows
Interface ShadowContextImpl._ContextImpl_
- Enclosing class:
- ShadowContextImpl
public static interface ShadowContextImpl._ContextImpl_
Reflector interface for
ContextImpl's internals.-
Method Summary
Modifier and Type Method Description ContextcreateActivityContext(ActivityThread mainThread, LoadedApk packageInfo, ActivityInfo activityInfo, IBinder activityToken, int displayId, Configuration overrideConfiguration)ContextcreateAppContext(ActivityThread activityThread, LoadedApk loadedApk)ContextcreateSystemContext(ActivityThread activityThread)FilegetDatabasePath(String name)SharedPreferencesgetSharedPreferences(String name, int mode)ObjectgetSystemService(String name)voidsetClassLoader(ClassLoader classLoader)voidsetOuterContext(Context context)voidstartActivity(Intent intent, Bundle options)
-
Method Details
-
createSystemContext
-
createAppContext
-
createActivityContext
Context createActivityContext(ActivityThread mainThread, LoadedApk packageInfo, ActivityInfo activityInfo, IBinder activityToken, int displayId, Configuration overrideConfiguration) -
setOuterContext
-
getSystemService
-
startActivity
-
getDatabasePath
-
getSharedPreferences
-
setClassLoader
-