Searched refs:activityThread (Results 1 – 9 of 9) sorted by relevance
121 ActivityThread activityThread = ReflectionHelpers.newInstance(ActivityThread.class); in setUpApplicationState() local122 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 …]
27 private static Object activityThread; field in RuntimeEnvironment84 return activityThread; in getActivityThread()88 activityThread = newActivityThread; in setActivityThread()
113 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getShadowInstrumentation() local114 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
498 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getNextStartedActivityForResult() local499 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in getNextStartedActivityForResult()511 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in peekNextStartedActivityForResult() local512 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in peekNextStartedActivityForResult()602 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in receiveResult() local603 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in receiveResult()
224 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in checkActivities() local226 Shadow.extract(activityThread.getInstrumentation()); in checkActivities()
376 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in getShadowInstrumentation() local377 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
165 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread(); in send() local166 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in send()
778 ActivityThread activityThread = (ActivityThread) RuntimeEnvironment.getActivityThread();779 return activityThread.getInstrumentation();
159 Object activityThread = in getProcessName() local164 (String) activityThreadClazz.getMethod("getProcessName").invoke(activityThread); in getProcessName()