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 TypeMethodDescriptioncreateActivityContext(ActivityThread mainThread, LoadedApk packageInfo, ActivityInfo activityInfo, IBinder activityToken, int displayId, Configuration overrideConfiguration) createAppContext(ActivityThread activityThread, LoadedApk loadedApk) createSystemContext(ActivityThread activityThread) getDatabasePath(String name) getSharedPreferences(String name, int mode) getSystemService(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
-
setClassLoader
-