OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mActivityManager
(Results
1 - 14
of
14
) sorted by null
/frameworks/base/core/java/android/app/
Service.java
555
if (
mActivityManager
== null) {
559
mActivityManager
.stopServiceToken(
587
if (
mActivityManager
== null) {
591
return
mActivityManager
.stopServiceToken(
643
mActivityManager
.setServiceForeground(
660
mActivityManager
.setServiceForeground(
[
all
...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
ActivityManagerTest.java
33
protected ActivityManager
mActivityManager
;
39
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
54
errList =
mActivityManager
.getProcessesInErrorState();
71
errList =
mActivityManager
.getProcessesInErrorState();
87
errList =
mActivityManager
.getProcessesInErrorState();
97
ConfigurationInfo config =
mActivityManager
.getDeviceConfigurationInfo();
/cts/tests/tests/app/src/android/app/cts/
ActivityManagerTest.java
43
private ActivityManager
mActivityManager
;
54
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
79
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
84
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
97
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
115
mActivityManager
.getRecentTasks(-1, 0);
133
runningTaskList =
mActivityManager
.getRunningTasks(-1);
136
runningTaskList =
mActivityManager
.getRunningTasks(0);
139
runningTaskList =
mActivityManager
.getRunningTasks(20);
153
runningTaskList =
mActivityManager
.getRunningTasks(20)
[
all
...]
SystemFeaturesTest.java
57
private ActivityManager
mActivityManager
;
75
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
338
ConfigurationInfo configInfo =
mActivityManager
.getDeviceConfigurationInfo();
/cts/tests/tests/openglperf/src/android/openglperf/cts/
GlAppSwitchTest.java
46
private ActivityManager
mActivityManager
;
72
mActivityManager
= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
123
mActivityManager
.getRunningTasks(MAX_RUNNING_TASKS);
138
mActivityManager
.getRunningTasks(MAX_RUNNING_TASKS);
155
mActivityManager
.moveTaskToFront(show ? mTaskIdReplica : mTaskIdSelf, 0);
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
AppCompatibility.java
51
private ActivityManager
mActivityManager
;
65
mActivityManager
= (ActivityManager)
67
Assert.assertNotNull("Could not get Activity Manager",
mActivityManager
);
158
mActivityManager
.getProcessesInErrorState();
181
mActivityManager
.getProcessesInErrorState();
201
List<RunningAppProcessInfo> runningApps =
mActivityManager
.getRunningAppProcesses();
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
AppLaunchTest.java
48
private ActivityManager
mActivityManager
;
63
mActivityManager
= (ActivityManager)
66
assertNotNull("failed to get activity manager",
mActivityManager
);
114
ProcessError.fromCollection(
mActivityManager
.getProcessesInErrorState());
131
ProcessError.fromCollection(
mActivityManager
.getProcessesInErrorState());
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
ProcessErrorsTest.java
47
protected ActivityManager
mActivityManager
;
72
mActivityManager
= (ActivityManager)
78
assertNotNull(
mActivityManager
);
153
ProcessError.fromCollection(
mActivityManager
.getProcessesInErrorState());
175
ProcessError.fromCollection(
mActivityManager
.getProcessesInErrorState());
203
errList =
mActivityManager
.getProcessesInErrorState();
/frameworks/ex/carousel/test/src/com/android/carouseltest/
TaskSwitcherActivity.java
57
private ActivityManager
mActivityManager
;
217
mActivityManager
= (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
246
mRunningTaskList =
mActivityManager
.getRunningTasks(MAX_TASKS + 2, 0, mThumbnailReceiver);
/frameworks/base/services/java/com/android/server/
BackupManagerService.java
208
private IActivityManager
mActivityManager
;
784
mActivityManager
= ActivityManagerNative.getDefault();
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java
114
private IActivityManager
mActivityManager
;
187
mActivityManager
= createMock(IActivityManager.class);
196
mService = new NetworkPolicyManagerService(mServiceContext,
mActivityManager
, mPowerManager,
209
mActivityManager
.registerProcessObserver(capture(processObserver));
241
mActivityManager
= null;
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/
P2pLinkManager.java
182
final ActivityManager
mActivityManager
;
224
mActivityManager
= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
403
List<RunningTaskInfo> tasks =
mActivityManager
.getRunningTasks(1);
[
all
...]
/frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java
235
private final IActivityManager
mActivityManager
;
302
mActivityManager
= checkNotNull(activityManager, "missing activityManager");
344
mActivityManager
.registerProcessObserver(mProcessObserver);
[
all
...]
/frameworks/base/services/java/com/android/server/wm/
WindowManagerService.java
322
final IActivityManager
mActivityManager
;
768
mActivityManager
= ActivityManagerNative.getDefault();
[
all
...]
Completed in 454 milliseconds