Home
last modified time | relevance | path

Searched refs:ActivityTaskManagerService (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java41 private ActivityTaskManagerService mAtm;
43 PackageConfigurationUpdaterImpl(int pid, ActivityTaskManagerService atm) { in PackageConfigurationUpdaterImpl()
49 ActivityTaskManagerService atm) { in PackageConfigurationUpdaterImpl()
DPhysicalDisplaySwitchTransitionLauncher.java23 import static com.android.server.wm.ActivityTaskManagerService.POWER_MODE_REASON_CHANGE_DISPLAY;
45 private final ActivityTaskManagerService mAtmService;
68 ActivityTaskManagerService service, Context context, in PhysicalDisplaySwitchTransitionLauncher()
DSafeActivityOptions.java277 final int startInTaskPerm = ActivityTaskManagerService.checkPermission( in checkPermissions()
289 && ActivityTaskManagerService.checkPermission( in checkPermissions()
334 final int startTasksFromRecentsPerm = ActivityTaskManagerService.checkPermission( in checkPermissions()
350 final int controlKeyguardPerm = ActivityTaskManagerService.checkPermission( in checkPermissions()
441 private boolean isAssistant(ActivityTaskManagerService atmService, int callingUid) { in isAssistant()
466 final int statusBarPerm = ActivityTaskManagerService.checkPermission( in isSystemOrSystemUI()
DAppTaskImpl.java45 private final ActivityTaskManagerService mService;
50 public AppTaskImpl(ActivityTaskManagerService service, int taskId, int callingUid) { in AppTaskImpl()
70 throw ActivityTaskManagerService.logAndRethrowRuntimeExceptionOnTransact(TAG, e); in onTransact()
DVisibleActivityProcessTracker.java36 final ActivityTaskManagerService mAtms;
38 VisibleActivityProcessTracker(ActivityTaskManagerService atms) { in VisibleActivityProcessTracker()
DRecentsAnimation.java59 private final ActivityTaskManagerService mService;
82 RecentsAnimation(ActivityTaskManagerService atm, ActivityTaskSupervisor taskSupervisor, in RecentsAnimation()
301 mService.endPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_START_ACTIVITY); in finishAnimation()
432 demoteReasons |= ActivityTaskManagerService.DEMOTE_TOP_REASON_ANIMATING_RECENTS; in setProcessAnimating()
434 demoteReasons &= ~ActivityTaskManagerService.DEMOTE_TOP_REASON_ANIMATING_RECENTS; in setProcessAnimating()
DBackgroundLaunchProcessController.java23 import static com.android.server.wm.ActivityTaskManagerService.ACTIVITY_BG_START_GRACE_PERIOD_MS;
24 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_ALLOW;
25 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_DISALLOW;
DLaunchParamsController.java44 private final ActivityTaskManagerService mService;
55 LaunchParamsController(ActivityTaskManagerService service, LaunchParamsPersister persister) { in LaunchParamsController()
DActivityTaskManagerService.java120 import static com.android.server.wm.ActivityTaskManagerService.H.REPORT_TIME_TRACKER_MSG;
121 import static com.android.server.wm.ActivityTaskManagerService.UiHandler.DISMISS_DIALOG_UI_MSG;
325 public class ActivityTaskManagerService extends IActivityTaskManager.Stub { class
865 public ActivityTaskManagerService(Context context) { in ActivityTaskManagerService() method in ActivityTaskManagerService
1194 private final ActivityTaskManagerService mService;
1198 mService = new ActivityTaskManagerService(context); in Lifecycle()
1222 public ActivityTaskManagerService getService() { in getService()
4696 ActivityTaskManagerService::sendPutConfigurationForUserMsg, in updateGlobalConfigurationLocked()
5250 ActivityTaskManagerService::postHeavyWeightProcessNotification, this, in setHeavyWeightProcess()
5262 ActivityTaskManagerService::cancelHeavyWeightProcessNotification, this, in clearHeavyWeightProcessIfEquals()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSafeActivityOptionsTest.java110 .mockStatic(ActivityTaskManagerService.class) in test_getOptions()
113 doReturn(PERMISSION_DENIED).when(() -> ActivityTaskManagerService.checkPermission( in test_getOptions()
119 final ActivityTaskManagerService atm = mock(ActivityTaskManagerService.class); in test_getOptions()
DTestDisplayContent.java96 protected final ActivityTaskManagerService mService;
103 Builder(ActivityTaskManagerService service, int width, int height) { in Builder()
115 Builder(ActivityTaskManagerService service, DisplayInfo info) { in Builder()
DWindowTestsBase.java159 ActivityTaskManagerService mAtm;
565 static Session createTestSession(ActivityTaskManagerService atms) { in createTestSession()
569 static Session createTestSession(ActivityTaskManagerService atms, int pid, int uid) { in createTestSession()
1229 private final ActivityTaskManagerService mService;
1260 ActivityBuilder(ActivityTaskManagerService service) { in ActivityBuilder()
1523 private final ActivityTaskManagerService mAtm;
1532 TaskFragmentBuilder(ActivityTaskManagerService service) { in TaskFragmentBuilder()
1790 private final ActivityTaskManagerService mAtm;
1795 TestStartingWindowOrganizer(ActivityTaskManagerService service) { in TestStartingWindowOrganizer()
1832 final ActivityTaskManagerService mService;
[all …]
DBackgroundLaunchProcessControllerTests.java19 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_ALLOW;
20 import static com.android.server.wm.ActivityTaskManagerService.APP_SWITCH_DISALLOW;
DSystemServicesTestRule.java138 private ActivityTaskManagerService mAtmService;
511 ActivityTaskManagerService getActivityTaskManagerService() {
529 static WindowProcessController addProcess(ActivityTaskManagerService atmService, String pkgName,
537 static WindowProcessController addProcess(ActivityTaskManagerService atmService,
604 protected class TestActivityTaskManagerService extends ActivityTaskManagerService {
681 TestActivityTaskSupervisor(ActivityTaskManagerService service, Looper looper) {
DActivityTaskManagerServiceTests.java441 mAtm.startPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_START_ACTIVITY in testUpdateSleep()
442 | ActivityTaskManagerService.POWER_MODE_REASON_UNKNOWN_VISIBILITY); in testUpdateSleep()
446 mAtm.endPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_START_ACTIVITY); in testUpdateSleep()
476 mAtm.startPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_START_ACTIVITY); in testSetPowerMode()
479 mAtm.startPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_CHANGE_DISPLAY); in testSetPowerMode()
485 mAtm.startPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_UNKNOWN_VISIBILITY); in testSetPowerMode()
487 mAtm.endPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_START_ACTIVITY); in testSetPowerMode()
492 mAtm.endPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_START_ACTIVITY); in testSetPowerMode()
496 mAtm.endPowerMode(ActivityTaskManagerService.POWER_MODE_REASON_CHANGE_DISPLAY); in testSetPowerMode()
DSystemServiceTestsBase.java89 static void setBooted(ActivityTaskManagerService atmService) { in setBooted()
DCompatScaleProviderTest.java47 private ActivityTaskManagerService mAtm;
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAppErrorDialogTest.java35 import com.android.server.wm.ActivityTaskManagerService;
91 mService.mActivityTaskManager = new ActivityTaskManagerService(mContext); in setUp()
DProcessRecordTests.java39 import com.android.server.wm.ActivityTaskManagerService;
72 sService.mActivityTaskManager = new ActivityTaskManagerService(sContext); in setUpOnce()
DOomAdjusterTests.java37 import com.android.server.wm.ActivityTaskManagerService;
77 sService.mActivityTaskManager = new ActivityTaskManagerService(sContext); in setUpOnce()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DCarDisplayCompatScaleProvider.java67 private ActivityTaskManagerService mAtms;
83 mAtms = (ActivityTaskManagerService) ActivityTaskManager.getService(); in init()
DCarLaunchParamsModifier.java58 private ActivityTaskManagerService mAtm; // set only from init()
84 mAtm = (ActivityTaskManagerService) ActivityTaskManager.getService(); in init()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceTimeoutTest.java53 import com.android.server.wm.ActivityTaskManagerService;
111 realAms.mActivityTaskManager = new ActivityTaskManagerService(mContext); in setUp()
DAsyncProcessStartTest.java56 import com.android.server.wm.ActivityTaskManagerService;
135 mRealAms.mActivityTaskManager = new ActivityTaskManagerService(mContext); in setUp()
DProcessObserverTest.java55 import com.android.server.wm.ActivityTaskManagerService;
136 mRealAms.mActivityTaskManager = new ActivityTaskManagerService(mContext); in setUp()

1234