Home
last modified time | relevance | path

Searched refs:mActivityService (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DPasswordUtilsTest.java65 private IActivityManager mActivityService; field in PasswordUtilsTest
77 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 …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocaleListEditorTest.java129 private IActivityManager mActivityService; field in LocaleListEditorTest
272 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()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java156 private final CarActivityService mActivityService; field in CarPackageManagerService
275 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DNonCurrentUserControllerTest.java71 private IActivityManager mActivityService; field in NonCurrentUserControllerTest
85 ShadowActivityManager.setService(mActivityService); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/
DFixedActivityServiceTest.java88 private CarActivityService mActivityService; field in FixedActivityServiceTest
124 mActivityService, mDisplayManager, mUserHandleHelper); in setUp()
698 when(mActivityService.getVisibleTasksInternal(anyInt())).thenReturn(createEmptyTaskInfo()); in expectNoActivityStack()
704 mActivityService.getVisibleTasksInternal(anyInt())); in expectRootTaskInfo()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java145 private final CarActivityService mActivityService; field in FixedActivityService
281 mActivityService = activityService; in FixedActivityService()
394 List<? extends TaskInfo> infos = mActivityService.getVisibleTasksInternal(displayId); in launchIfNecessary()