Searched refs:activityThread (Results 1 – 9 of 9) sorted by relevance
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 121 ActivityThread activityThread = ReflectionHelpers.newInstance(ActivityThread.class); in setUpApplicationState() local 122 RuntimeEnvironment.setActivityThread(activityThread); in setUpApplicationState() 176 ReflectionHelpers.setField(activityThread, "mCompatConfiguration", configuration); in setUpApplicationState() 181 activityThread.applyConfigurationToResources(configuration); in setUpApplicationState() 187 "createSystemContext", from(ActivityThread.class, activityThread)); in setUpApplicationState() 194 createInstrumentation(activityThread, applicationInfo, application); in setUpApplicationState() 206 ReflectionHelpers.setField(activityThread, "mBoundApplication", data); in setUpApplicationState() 208 LoadedApk loadedApk = activityThread in setUpApplicationState() 218 .setField(ActivityThread.class, activityThread, "mInitialApplication", application); in setUpApplicationState() 330 ActivityThread activityThread, in createInstrumentation() argument [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 27 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/ |
D | ShadowContextWrapper.java | 113 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getShadowInstrumentation() local 114 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
|
D | ShadowActivity.java | 470 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getNextStartedActivityForResult() local 471 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in getNextStartedActivityForResult() 483 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in peekNextStartedActivityForResult() local 484 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in peekNextStartedActivityForResult() 574 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in receiveResult() local 575 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in receiveResult()
|
D | ShadowApplication.java | 224 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in checkActivities() local 226 Shadow.extract(activityThread.getInstrumentation()); in checkActivities()
|
D | ShadowContextImpl.java | 376 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getShadowInstrumentation() local 377 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
|
D | ShadowPendingIntent.java | 165 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in send() local 166 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in send()
|
D | ShadowInstrumentation.java | 778 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); 779 return activityThread.getInstrumentation();
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ContextUtils.java | 159 Object activityThread = in getProcessName() local 164 (String) activityThreadClazz.getMethod("getProcessName").invoke(activityThread); in getProcessName()
|