Home
last modified time | relevance | path

Searched refs:ActivityManagerService (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityTestsBase.java71 protected ActivityManagerService createActivityManagerService() { in createActivityManagerService()
72 final ActivityManagerService service = new TestActivityManagerService(mContext); in createActivityManagerService()
77 protected static ActivityStack createActivityStack(ActivityManagerService service, in createActivityStack()
87 protected static ActivityRecord createActivity(ActivityManagerService service, in createActivity()
110 protected static TaskRecord createTask(ActivityManagerService service, in createTask()
135 protected static class TestActivityManagerService extends ActivityManagerService {
156 public TestActivityStackSupervisor(ActivityManagerService service, Looper looper) { in TestActivityStackSupervisor()
189 public <T extends ActivityStack> T createTestStack(ActivityManagerService service, in createTestStack()
210 private final ActivityManagerService mService;
216 TestActivityContainer(ActivityManagerService service, int stackId, in TestActivityContainer()
[all …]
DActivityRecordTests.java46 final ActivityManagerService service = createActivityManagerService(); in testStackCleanupOnClearingTask()
56 final ActivityManagerService service = createActivityManagerService(); in testStackCleanupOnActivityRemoval()
66 final ActivityManagerService service = createActivityManagerService(); in testStackCleanupOnTaskRemoval()
79 final ActivityManagerService service = createActivityManagerService(); in testNoCleanupMovingActivityInSameStack()
88 private static int getActivityRemovedFromStackCount(ActivityManagerService service, in getActivityRemovedFromStackCount()
DAppErrorDialogTest.java42 private ActivityManagerService mService;
47 mService = new ActivityManagerService(new ActivityManagerService.Injector() { in setUp()
54 public Handler getUiHandler(ActivityManagerService service) { in setUp()
DActivityStackTests.java50 final ActivityManagerService service = createActivityManagerService(); in testEmptyTaskCleanupOnRemove()
60 final ActivityManagerService service = createActivityManagerService(); in testOccupiedTaskCleanupOnRemove()
71 final ActivityManagerService service = createActivityManagerService(); in testNoPauseDuringResumeTopActivity()
92 final ActivityManagerService service = createActivityManagerService(); in testStopActivityWhenActivityDestroyed()
109 final ActivityManagerService service = createActivityManagerService(); in testShouldBeVisibleWithVisibleBehindActivity()
DCoreSettingsObserverTest.java19 import static com.android.server.am.ActivityManagerService.Injector;
74 private ActivityManagerService mAms;
97 mAms = new ActivityManagerService(new TestInjector()); in setUp()
151 public Handler getUiHandler(ActivityManagerService service) { in getUiHandler()
DActivityManagerInternalTest.java57 @Mock private ActivityManagerService.Injector mMockInjector;
59 private ActivityManagerService mAms;
65 mAms = new ActivityManagerService(mMockInjector); in setUp()
DUserControllerTest.java52 import static com.android.server.am.ActivityManagerService.CONTINUE_USER_SWITCH_MSG;
53 import static com.android.server.am.ActivityManagerService.REPORT_LOCKED_BOOT_COMPLETE_MSG;
54 import static com.android.server.am.ActivityManagerService.REPORT_USER_SWITCH_COMPLETE_MSG;
55 import static com.android.server.am.ActivityManagerService.REPORT_USER_SWITCH_MSG;
56 import static com.android.server.am.ActivityManagerService.SYSTEM_USER_CURRENT_MSG;
57 import static com.android.server.am.ActivityManagerService.SYSTEM_USER_START_MSG;
58 import static com.android.server.am.ActivityManagerService.USER_SWITCH_TIMEOUT_MSG;
DActivityManagerServiceTest.java32 import static com.android.server.am.ActivityManagerService.DISPATCH_UIDS_CHANGED_UI_MSG;
33 import static com.android.server.am.ActivityManagerService.Injector;
34 import static com.android.server.am.ActivityManagerService.NETWORK_STATE_BLOCK;
35 import static com.android.server.am.ActivityManagerService.NETWORK_STATE_NO_CHANGE;
36 import static com.android.server.am.ActivityManagerService.NETWORK_STATE_UNBLOCK;
127 private ActivityManagerService mAms;
139 mAms = new ActivityManagerService(mInjector); in setUp()
309 valueToString(ActivityManagerService.class, "NETWORK_STATE_", blockState), in testBlockStateForUid()
820 public Handler getUiHandler(ActivityManagerService service) { in getUiHandler()
DActivityStackSupervisorTests.java60 final ActivityManagerService service = createActivityManagerService(); in testRestoringInvalidTask()
72 final ActivityManagerService service = createActivityManagerService(); in testReplacingTaskInPinnedStack()
/frameworks/base/services/core/
DAndroid.mk41 …ons.boost-locked-region-priority.classname=com.android.server.am.ActivityManagerService,com.androi…
42 …tions.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPrio…
43 …mations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPrio…
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java32 import com.android.server.am.ActivityManagerService;
119 Intent intent = new Intent(ActivityManagerService.ACTION_TRIGGER_IDLE) in IdlenessTracker()
146 filter.addAction(ActivityManagerService.ACTION_TRIGGER_IDLE); in startTracking()
181 } else if (action.equals(ActivityManagerService.ACTION_TRIGGER_IDLE)) { in onReceive()
/frameworks/base/services/core/java/com/android/server/am/
DUriPermissionOwner.java30 final ActivityManagerService service;
44 UriPermissionOwner(ActivityManagerService service, Object owner) { in UriPermissionOwner()
72 void removeUriPermissionLocked(ActivityManagerService.GrantUri grantUri, int mode) { in removeUriPermissionLocked()
DAppWaitingForDebuggerDialog.java26 final ActivityManagerService mService;
30 public AppWaitingForDebuggerDialog(ActivityManagerService service, in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java30 private final ActivityManagerService mService;
42 public StrictModeViolationDialog(Context context, ActivityManagerService service, in StrictModeViolationDialog()
DPreBootBroadcaster.java53 private final ActivityManagerService mService;
63 public PreBootBroadcaster(ActivityManagerService service, int userId, in PreBootBroadcaster()
110 AppOpsManager.OP_NONE, null, true, false, ActivityManagerService.MY_PID, in sendNext()
DCompatModeDialog.java32 final ActivityManagerService mService;
39 public CompatModeDialog(ActivityManagerService service, Context context, in CompatModeDialog()
DAppNotRespondingDialog.java38 import static com.android.server.am.ActivityManagerService.IS_USER_BUILD;
51 private final ActivityManagerService mService;
54 public AppNotRespondingDialog(ActivityManagerService service, Context context, in AppNotRespondingDialog()
DActiveInstrumentation.java31 final ActivityManagerService mService;
66 ActiveInstrumentation(ActivityManagerService service) { in ActiveInstrumentation()
DUserSwitchingDialog.java49 private final ActivityManagerService mService;
55 public UserSwitchingDialog(ActivityManagerService service, Context context, UserInfo oldUser, in UserSwitchingDialog()
DReceiverList.java34 final ActivityManagerService owner;
45 ReceiverList(ActivityManagerService _owner, ProcessRecord _app, in ReceiverList()
DCoreSettingsObserver.java63 private final ActivityManagerService mActivityManagerService;
65 public CoreSettingsObserver(ActivityManagerService activityManagerService) { in CoreSettingsObserver()
DAppErrorDialog.java35 import static com.android.server.am.ActivityManagerService.IS_USER_BUILD;
39 private final ActivityManagerService mService;
62 public AppErrorDialog(Context context, ActivityManagerService service, Data data) { in AppErrorDialog()
DUserController.java31 import static com.android.server.am.ActivityManagerService.ALLOW_FULL_ONLY;
32 import static com.android.server.am.ActivityManagerService.ALLOW_NON_FULL;
33 import static com.android.server.am.ActivityManagerService.ALLOW_NON_FULL_IN_PROFILE;
34 import static com.android.server.am.ActivityManagerService.MY_PID;
35 import static com.android.server.am.ActivityManagerService.REPORT_LOCKED_BOOT_COMPLETE_MSG;
36 import static com.android.server.am.ActivityManagerService.REPORT_USER_SWITCH_COMPLETE_MSG;
37 import static com.android.server.am.ActivityManagerService.REPORT_USER_SWITCH_MSG;
38 import static com.android.server.am.ActivityManagerService.SYSTEM_USER_CURRENT_MSG;
39 import static com.android.server.am.ActivityManagerService.SYSTEM_USER_START_MSG;
40 import static com.android.server.am.ActivityManagerService.SYSTEM_USER_UNLOCK_MSG;
[all …]
DVrController.java310 ActivityManagerService.scheduleAsRegularPriority(mVrRenderThreadTid, suppressLogs); in updateVrRenderThreadLocked()
316 ActivityManagerService.scheduleAsFifoPriority(mVrRenderThreadTid, suppressLogs); in updateVrRenderThreadLocked()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java22 import com.android.server.am.ActivityManagerService;
98 ActivityManagerService mActivity;
266 public void init(Context context, ActivityManagerService activity) { in init()
453 ActivityManagerService.dumpStackTraces(true, pids, null, null, in run()
476 final File stack = ActivityManagerService.dumpStackTraces( in run()

123