Package org.robolectric.shadows
Interface ShadowContextImpl._ContextImpl_
-
- Enclosing class:
- ShadowContextImpl
public static interface ShadowContextImpl._ContextImpl_
Reflector interface forContextImpl
's internals.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Context
createActivityContext(ActivityThread mainThread, LoadedApk packageInfo, ActivityInfo activityInfo, IBinder activityToken, int displayId, Configuration overrideConfiguration)
Context
createAppContext(ActivityThread activityThread, LoadedApk loadedApk)
Context
createSystemContext(ActivityThread activityThread)
IBinder
getActivityToken()
File
getDatabasePath(String name)
SharedPreferences
getSharedPreferences(String name, int mode)
Object
getSystemService(String name)
void
setClassLoader(ClassLoader classLoader)
void
setOuterContext(Context context)
void
startActivity(Intent intent, Bundle options)
-
-
-
Method Detail
-
createSystemContext
Context createSystemContext(ActivityThread activityThread)
-
createAppContext
Context createAppContext(ActivityThread activityThread, LoadedApk loadedApk)
-
createActivityContext
Context createActivityContext(ActivityThread mainThread, LoadedApk packageInfo, ActivityInfo activityInfo, IBinder activityToken, int displayId, Configuration overrideConfiguration)
-
getActivityToken
IBinder getActivityToken()
-
setOuterContext
void setOuterContext(Context context)
-
getSharedPreferences
SharedPreferences getSharedPreferences(String name, int mode)
-
setClassLoader
void setClassLoader(ClassLoader classLoader)
-
-