Searched refs:mActivityService (Results 1 – 6 of 6) sorted by relevance
65 private IActivityManager mActivityService; field in PasswordUtilsTest77 ShadowActivityManager.setService(mActivityService); in setUp()83 when(mActivityService.getLaunchedFromPackage(mActivityToken)) in getCallingAppLabel_getCallingAppPackageNameReturnsNull_returnsNull()92 when(mActivityService.getLaunchedFromPackage(mActivityToken)) in getCallingAppLabel_getCallingAppPackageNameReturnsSettingsApp_returnsNull()100 when(mActivityService.getLaunchedFromPackage(mActivityToken)) in getCallingAppLabel_packageManagerThrowsNameNotFound_returnsNull()110 when(mActivityService.getLaunchedFromPackage(mActivityToken)) in getCallingAppLabel_returnsLabel()122 when(mActivityService.getLaunchedFromPackage(mActivityToken)) in getCallingAppPackageName_activityServiceThrowsRemoteException_returnsNull()130 when(mActivityService.getLaunchedFromPackage(mActivityToken)) in getCallingAppPackageName_returnsPackageName()138 when(mActivityService.getLaunchedFromUid(mActivityToken)).thenReturn(UID); in isCallingAppPermitted_permissionGranted_returnsTrue()146 when(mActivityService.getLaunchedFromUid(mActivityToken)).thenReturn(UID); in isCallingAppPermitted_permissionDenied_returnsFalse()[all …]
129 private IActivityManager mActivityService; field in LocaleListEditorTest272 when(mActivityService.getConfiguration()).thenReturn(config); in showConfirmDialog_systemLocaleSelected_shouldShowLocaleChangeDialog()340 when(mActivityService.getConfiguration()).thenReturn(config); in onTouch_dragDifferentLocaleToTop_showConfirmDialog()354 when(mActivityService.getConfiguration()).thenReturn(config); in onTouch_dragSameLocaleToTop_updateAdapter()490 ShadowActivityManager.setService(mActivityService); in setUpLocaleConditions()
156 private final CarActivityService mActivityService; field in CarPackageManagerService275 mActivityService = activityService; in CarPackageManagerService()316 mActivityService.restartTask(taskId); in restartTask()568 TaskInfo info = mActivityService.getTaskInfoForTopActivity(activityName); in isActivityBackedBySafeActivity()691 mActivityService.unregisterActivityListener(mActivityListener); in release()758 mActivityService.registerActivityListener(mActivityListener); in doHandleInit()1395 List<? extends TaskInfo> visibleTasks = mActivityService.getVisibleTasksInternal(); in blockTopActivitiesOnAllDisplaysIfNecessary()1560 mActivityService.blockActivity(topTask, newActivityIntent); in doBlockTopActivityIfNotAllowed()2131 mActivityService.getVisibleTasksInternal(), mDisplayId)); in onUxRestrictionsChanged()2176 mActivityService.getVisibleTasksInternal(), displayId)); in onWindowChangeEvent()
71 private IActivityManager mActivityService; field in NonCurrentUserControllerTest85 ShadowActivityManager.setService(mActivityService); in setUp()
88 private CarActivityService mActivityService; field in FixedActivityServiceTest124 mActivityService, mDisplayManager, mUserHandleHelper); in setUp()698 when(mActivityService.getVisibleTasksInternal(anyInt())).thenReturn(createEmptyTaskInfo()); in expectNoActivityStack()704 mActivityService.getVisibleTasksInternal(anyInt())); in expectRootTaskInfo()
145 private final CarActivityService mActivityService; field in FixedActivityService281 mActivityService = activityService; in FixedActivityService()394 List<? extends TaskInfo> infos = mActivityService.getVisibleTasksInternal(displayId); in launchIfNecessary()