OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mActivityManager
(Results
1 - 25
of
45
) sorted by null
1
2
/cts/tests/tests/content/src/android/content/pm/cts/
FeatureTest.java
35
private ActivityManager
mActivityManager
;
41
mActivityManager
= (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);
45
if (mPackageManager == null ||
mActivityManager
== null) {
49
if (
mActivityManager
.isLowRamDevice()) {
/platform_testing/tests/functional/app-helper/src/android/platform/test/helpers/tests/
BaseHelperTest.java
31
protected ActivityManager
mActivityManager
;
50
if (
mActivityManager
== null) {
52
mActivityManager
= (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
55
return
mActivityManager
;
/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();
/frameworks/base/core/java/android/app/
Service.java
615
if (
mActivityManager
== null) {
619
mActivityManager
.stopServiceToken(
647
if (
mActivityManager
== null) {
651
return
mActivityManager
.stopServiceToken(
[
all
...]
/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);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ApplicationManagerFacade.java
48
private final ActivityManager
mActivityManager
;
55
mActivityManager
= (ActivityManager) mService.getSystemService(Context.ACTIVITY_SERVICE);
87
for (RunningAppProcessInfo info :
mActivityManager
.getRunningAppProcesses()) {
92
mActivityManager
.killBackgroundProcesses(info.processName);
103
mActivityManager
.getRunningAppProcesses();
108
mActivityManager
.getRunningServices(Integer.MAX_VALUE);
118
mActivityManager
.restartPackage(packageName);
/packages/apps/Camera2/src/com/android/camera/app/
MemoryQuery.java
53
private ActivityManager
mActivityManager
;
56
mActivityManager
= activityManager;
67
int memoryClass =
mActivityManager
.getMemoryClass();
68
int largeMemoryClass =
mActivityManager
.getLargeMemoryClass();
70
mActivityManager
.getMemoryInfo(memoryInfo);
95
Debug.MemoryInfo[] memoryInfoArray =
mActivityManager
.getProcessMemoryInfo(pids);
/cts/tests/app/src/android/app/cts/
ActivityManagerTest.java
72
private ActivityManager
mActivityManager
;
83
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
109
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
114
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
127
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
145
mActivityManager
.getRecentTasks(-1, 0);
158
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
173
recentTaskList =
mActivityManager
.getRecentTasks(maxNum, flags);
241
runningTaskList =
mActivityManager
.getRunningTasks(-1);
244
runningTaskList =
mActivityManager
.getRunningTasks(0)
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
ScreenPinningTestActivity.java
40
private ActivityManager
mActivityManager
;
65
mActivityManager
= (ActivityManager) getSystemService(ACTIVITY_SERVICE);
149
if (
mActivityManager
.isInLockTaskMode()) {
170
if (
mActivityManager
.isInLockTaskMode()) {
181
if (
mActivityManager
.isInLockTaskMode()) {
192
if (!
mActivityManager
.isInLockTaskMode()) {
203
if (!
mActivityManager
.isInLockTaskMode()) {
214
if (!
mActivityManager
.isInLockTaskMode()) {
/cts/tests/vr/src/android/vr/cts/
VrSetFIFOThreadTest.java
34
private ActivityManager
mActivityManager
;
72
mActivityManager
=
74
mActivityManager
.setVrThread(vr_thread);
98
mActivityManager
=
100
mActivityManager
.setVrThread(vr_thread);
/cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java
57
private ActivityManager
mActivityManager
;
64
mActivityManager
=
81
Boolean lowRamDevice =
mActivityManager
.isLowRamDevice();
139
mActivityManager
.getMemoryInfo(memoryInfo);
159
boolean lowRamDevice =
mActivityManager
.isLowRamDevice();
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
AppCompatibility.java
54
private ActivityManager
mActivityManager
;
68
mActivityManager
= (ActivityManager)
70
Assert.assertNotNull("Could not get Activity Manager",
mActivityManager
);
207
mActivityManager
.getProcessesInErrorState();
228
List<RunningTaskInfo> infos =
mActivityManager
.getRunningTasks(100);
/cts/tests/tests/assist/src/android/assist/cts/
ScreenshotTest.java
73
if (
mActivityManager
.isLowRamDevice()) {
88
if (
mActivityManager
.isLowRamDevice()) {
103
if (
mActivityManager
.isLowRamDevice()) {
DisableContextTest.java
66
if (
mActivityManager
.isLowRamDevice()) {
AssistStructureTest.java
83
if (
mActivityManager
.isLowRamDevice()) {
FlagSecureTest.java
80
if (
mActivityManager
.isLowRamDevice()) {
LargeViewHierarchyTest.java
82
if (
mActivityManager
.isLowRamDevice()) {
AssistantContentViewTest.java
86
if (
mActivityManager
.isLowRamDevice()) {
ExtraAssistDataTest.java
69
if (
mActivityManager
.isLowRamDevice()) {
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskTest.java
118
private ActivityManager
mActivityManager
;
124
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
329
assertTrue(
mActivityManager
.isInLockTaskMode());
331
mActivityManager
.getLockTaskModeState());
338
assertFalse(
mActivityManager
.isInLockTaskMode());
339
assertEquals(ActivityManager.LOCK_TASK_MODE_NONE,
mActivityManager
.getLockTaskModeState());
CreateAndManageUserTest.java
50
private ActivityManager
mActivityManager
;
60
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
249
// if (!
mActivityManager
.isRunningInTestHarness()) {
/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());
180
ProcessError.fromCollection(
mActivityManager
.getProcessesInErrorState());
208
errList =
mActivityManager
.getProcessesInErrorState();
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
CameraEvictionTest.java
54
private ActivityManager
mActivityManager
;
118
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
142
mActivityManager
= null;
432
mActivityManager
.getRunningAppProcesses();
441
list =
mActivityManager
.getRunningAppProcesses();
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
PipManager.java
130
private IActivityManager
mActivityManager
;
200
mActivityManager
= ActivityManagerNative.getDefault();
267
mActivityManager
.removeStack(PINNED_STACK_ID);
369
mActivityManager
.resizeStack(PINNED_STACK_ID, mCurrentPipBounds,
459
stackInfo =
mActivityManager
.getStackInfo(PINNED_STACK_ID);
551
runningTasks =
mActivityManager
.getTasks(1, 0);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
PreProvisioningController.java
63
private final ActivityManager
mActivityManager
;
95
mActivityManager
= (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
452
mActivityManager
.switchUser(userInfo.id);
Completed in 865 milliseconds
1
2