Home
last modified time | relevance | path

Searched refs:activityThread (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java121 ActivityThread activityThread = ReflectionHelpers.newInstance(ActivityThread.class); in setUpApplicationState() local
122 RuntimeEnvironment.setActivityThread(activityThread); in setUpApplicationState()
159 activityThread = ReflectionHelpers.newInstance(ActivityThread.class); in setUpApplicationState()
160 RuntimeEnvironment.setActivityThread(activityThread); in setUpApplicationState()
186 ReflectionHelpers.setField(activityThread, "mCompatConfiguration", configuration); in setUpApplicationState()
195 from(activityThreadInternalClass, activityThread)); in setUpApplicationState()
200 ReflectionHelpers.setField(activityThread, "mConfigurationController", configController); in setUpApplicationState()
206 activityThread.applyConfigurationToResources(configuration); in setUpApplicationState()
212 "createSystemContext", from(ActivityThread.class, activityThread)); in setUpApplicationState()
219 createInstrumentation(activityThread, applicationInfo, application); in setUpApplicationState()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java27 private static Object activityThread; field in RuntimeEnvironment
84 return activityThread; in getActivityThread()
88 activityThread = newActivityThread; in setActivityThread()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextWrapper.java113 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getShadowInstrumentation() local
114 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
DShadowActivity.java498 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getNextStartedActivityForResult() local
499 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in getNextStartedActivityForResult()
511 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in peekNextStartedActivityForResult() local
512 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in peekNextStartedActivityForResult()
602 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in receiveResult() local
603 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in receiveResult()
DShadowApplication.java224 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in checkActivities() local
226 Shadow.extract(activityThread.getInstrumentation()); in checkActivities()
DShadowContextImpl.java376 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getShadowInstrumentation() local
377 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
DShadowPendingIntent.java165 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in send() local
166 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in send()
DShadowInstrumentation.java778 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread();
779 return activityThread.getInstrumentation();
/external/libchrome/base/android/java/src/org/chromium/base/
DContextUtils.java159 Object activityThread = in getProcessName() local
164 (String) activityThreadClazz.getMethod("getProcessName").invoke(activityThread); in getProcessName()