Package org.robolectric.shadows
Class ShadowActivityThread
- java.lang.Object
-
- org.robolectric.shadows.ShadowActivityThread
-
@Implements(value=android.app.ActivityThread.class, isInAndroidSdk=false, looseSignatures=true) public class ShadowActivityThread extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ShadowActivityThread._ActivityThread_
Accessor interface forActivityThread
's internals.static interface
ShadowActivityThread._AppBindData_
Accessor interface forActivityThread.AppBindData
's internals.
-
Field Summary
Fields Modifier and Type Field Description protected ActivityThread
realActivityThread
-
Constructor Summary
Constructors Constructor Description ShadowActivityThread()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Object
currentActivityThread()
protected static Application
currentApplication()
protected Application
getApplication()
static Object
getPackageManager()
static Object
getPermissionManager()
static void
reset()
static void
setApplicationInfo(ApplicationInfo applicationInfo)
Deprecated.do not usevoid
setCompatConfiguration(Configuration androidConfiguration)
internal, do not use
-
-
-
Field Detail
-
realActivityThread
@RealObject protected ActivityThread realActivityThread
-
-
Method Detail
-
getPackageManager
@Implementation public static Object getPackageManager()
-
currentActivityThread
@Implementation public static Object currentActivityThread()
-
currentApplication
@Implementation protected static Application currentApplication()
-
getApplication
@Implementation protected Application getApplication()
-
getPermissionManager
@Implementation(minSdk=30) public static Object getPermissionManager()
-
setApplicationInfo
@Deprecated public static void setApplicationInfo(ApplicationInfo applicationInfo)
Deprecated.do not useInternal use only.
-
setCompatConfiguration
public void setCompatConfiguration(Configuration androidConfiguration)
internal, do not use- Parameters:
androidConfiguration
-
-
reset
@Resetter public static void reset()
-
-