OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:activityThread
(Results
1 - 8
of
8
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowContextWrapper.java
3
import android.app.
ActivityThread
;
113
ActivityThread
activityThread
= (
ActivityThread
) RuntimeEnvironment.getActivityThread();
114
return Shadow.extract(
activityThread
.getInstrumentation());
ShadowContextImpl.java
12
import android.app.
ActivityThread
;
313
ActivityThread
activityThread
= (
ActivityThread
) RuntimeEnvironment.getActivityThread();
314
return Shadow.extract(
activityThread
.getInstrumentation());
ShadowApplication.java
5
import android.app.
ActivityThread
;
224
ActivityThread
activityThread
= (
ActivityThread
) RuntimeEnvironment.getActivityThread();
226
Shadow.extract(
activityThread
.getInstrumentation());
ShadowPendingIntent.java
15
import android.app.
ActivityThread
;
165
ActivityThread
activityThread
= (
ActivityThread
) RuntimeEnvironment.getActivityThread();
166
ShadowInstrumentation shadowInstrumentation = Shadow.extract(
activityThread
.getInstrumentation());
ShadowActivity.java
11
import android.app.
ActivityThread
;
97
((
ActivityThread
) RuntimeEnvironment.getActivityThread()).getInstrumentation();
105
ActivityThread
.class, RuntimeEnvironment.getActivityThread()),
125
ActivityThread
.class, RuntimeEnvironment.getActivityThread()),
146
ActivityThread
.class, RuntimeEnvironment.getActivityThread()),
169
ActivityThread
.class, RuntimeEnvironment.getActivityThread()),
193
ActivityThread
.class, RuntimeEnvironment.getActivityThread()),
219
ActivityThread
.class, RuntimeEnvironment.getActivityThread()),
460
ActivityThread
activityThread
= (ActivityThread) RuntimeEnvironment.getActivityThread()
[
all
...]
/external/libchrome/base/android/java/src/org/chromium/base/
ContextUtils.java
151
//
ActivityThread
.currentProcessName().
156
// An even more convenient
ActivityThread
.currentProcessName() exists, but was not added
158
Class<?> activityThreadClazz = Class.forName("android.app.
ActivityThread
");
159
Object
activityThread
=
164
(String) activityThreadClazz.getMethod("getProcessName").invoke(
activityThread
);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
RuntimeEnvironment.java
27
private static Object
activityThread
;
84
return
activityThread
;
88
activityThread
= newActivityThread;
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
ParallelUniverse.java
9
import android.app.
ActivityThread
;
121
ActivityThread
activityThread
= ReflectionHelpers.newInstance(
ActivityThread
.class);
122
RuntimeEnvironment.setActivityThread(
activityThread
);
165
// to
ActivityThread
for the package which in turn calls the PackageManagerService directly.
176
ReflectionHelpers.setField(
activityThread
, "mCompatConfiguration", configuration);
178
.setStaticField(
ActivityThread
.class, "sMainThreadHandler", new Handler(Looper.myLooper()));
181
activityThread
.applyConfigurationToResources(configuration);
187
"createSystemContext", from(
ActivityThread
.class, activityThread))
[
all
...]
Completed in 238 milliseconds