Home
last modified time | relevance | path

Searched refs:mActivityTaskManagerInternal (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java102 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in CrossProfileAppsServiceImplTest
254 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_currentUser()
281 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_currentUser()
310 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_notInstalled()
339 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_profile_notInstalled()
366 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_fakeCaller()
393 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_profile_fakeCaller()
422 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_notExported()
468 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_profile_notExported()
495 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_anotherPackage()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java102 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in CrossProfileAppsServiceImplTest
254 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_currentUser()
281 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_currentUser()
310 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_notInstalled()
339 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_profile_notInstalled()
366 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_fakeCaller()
393 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_profile_fakeCaller()
422 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_notExported()
468 verify(mActivityTaskManagerInternal, never()) in startAnyActivityAsUser_profile_notExported()
495 verify(mActivityTaskManagerInternal, never()) in startActivityAsUser_profile_anotherPackage()
[all …]
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java75 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in ContentSuggestionsManagerService
81 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in ContentSuggestionsManagerService()
110 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid())) { in enforceCaller()
167 mActivityTaskManagerInternal.getTaskSnapshotBlocking(taskId, false); in provideContextImage()
DContentSuggestionsPerUserService.java56 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in ContentSuggestionsPerUserService
61 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in ContentSuggestionsPerUserService()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerService.java59 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in SearchUiManagerService
65 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in SearchUiManagerService()
168 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()))) { in runForUserLocked()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationManagerService.java57 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in WallpaperEffectsGenerationManagerService
65 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in WallpaperEffectsGenerationManagerService()
171 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()))) { in runForUser()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspaceManagerService.java61 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in SmartspaceManagerService
67 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in SmartspaceManagerService()
172 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()))) { in runForUserLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java65 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in AppPredictionManagerService
71 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in AppPredictionManagerService()
191 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()) in runForUserLocked()
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionService.java81 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in GrammaticalInflectionService
103 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in GrammaticalInflectionService()
227 mActivityTaskManagerInternal.getApplicationConfig(appPackageName, userId); in getApplicationGrammaticalGender()
240 mActivityTaskManagerInternal.createPackageConfigurationUpdater(appPackageName, in setRequestedApplicationGrammaticalGender()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DStemKeyGestureTests.java201 mPhoneWindowManager.mActivityTaskManagerInternal).getMostRecentTaskFromBackground(); in stemDoubleKey_EarlyShortPress_AllAppsThenSwitchToMostRecent()
254 mPhoneWindowManager.mActivityTaskManagerInternal).getMostRecentTaskFromBackground(); in stemMultiKey_NoEarlyPress_NoOpenAllApp()
283 mPhoneWindowManager.mActivityTaskManagerInternal).getMostRecentTaskFromBackground(); in stemDoubleKey_earlyShortPress_firstPressConsumedByApp_switchToMostRecent()
DPhoneWindowManagerTests.java94 mPhoneWindowManager.mActivityTaskManagerInternal = mAtmInternal; in setUp()
DTestPhoneWindowManager.java137 @Mock ActivityTaskManagerInternal mActivityTaskManagerInternal; field in TestPhoneWindowManager
283 doReturn(mActivityTaskManagerInternal).when( in setUp()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java76 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in Owners
96 mActivityTaskManagerInternal = activityTaskManagerInternal; in Owners()
168 mActivityTaskManagerInternal.setDeviceOwnerUid(getDeviceOwnerUidLocked()); in pushDeviceOwnerUidToActivityTaskManagerLocked()
173 mActivityTaskManagerInternal.setProfileOwnerUids(getProfileOwnerUidsLocked()); in pushProfileOwnerUidsToActivityTaskManagerLocked()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerServiceImpl.java100 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in TranslationManagerServiceImpl
119 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in TranslationManagerServiceImpl()
273 mActivityTaskManagerInternal.getAttachedNonFinishingActivityForTask(taskId, token); in updateUiTranslationStateLocked()
293 ComponentName componentName = mActivityTaskManagerInternal.getActivityName(activityToken); in updateUiTranslationStateLocked()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerService.java97 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in LocaleManagerService
113 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in LocaleManagerService()
148 mActivityTaskManagerInternal = activityTaskManagerInternal; in LocaleManagerService()
283 mActivityTaskManagerInternal.createPackageConfigurationUpdater(appPackageName, in setApplicationLocalesUnchecked()
451 mActivityTaskManagerInternal.getApplicationConfig(appPackageName, userId); in getApplicationLocalesUnchecked()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java1088 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in WindowOrientationListener.OrientationSensorJudge
1098 mActivityTaskManagerInternal = in OrientationSensorJudge()
1183 if (mActivityTaskManagerInternal != null) { in onSensorChanged()
1185 mActivityTaskManagerInternal.getTopApp(); in onSensorChanged()
/frameworks/base/services/core/java/com/android/server/app/
DGameServiceProviderInstanceImpl.java237 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in GameServiceProviderInstanceImpl
277 mActivityTaskManagerInternal = activityTaskManagerInternal; in GameServiceProviderInstanceImpl()
915 mActivityTaskManagerInternal.restartTaskActivityProcessIfVisible(taskId, packageName); in restartGame()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java134 public ActivityTaskManagerInternal mActivityTaskManagerInternal; field in DeviceStateManagerService
258 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in DeviceStateManagerService()
278 mActivityTaskManagerInternal.registerScreenObserver(mOverrideRequestScreenObserver); in onStart()
1031 final WindowProcessController topApp = mActivityTaskManagerInternal.getTopApp(); in isTopApp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java150 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in GameServiceProviderInstanceImplTest
233 mActivityTaskManagerInternal, in setUp()
1099 verify(mActivityTaskManagerInternal).restartTaskActivityProcessIfVisible( in restartGame_taskIdAssociatedWithGame_restartsTargetGame()
1122 verify(mActivityTaskManagerInternal, never()) in restartGame_taskIdNotAssociatedWithGame_noOp()
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperService.java179 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in CarServiceHelperService
309 mActivityTaskManagerInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in CarServiceHelperService()
369 WindowProcessController topApp = mActivityTaskManagerInternal.getTopApp();
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java229 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in LauncherAppsService.LauncherAppsImpl
268 mActivityTaskManagerInternal = Objects.requireNonNull( in LauncherAppsImpl()
1178 if (!mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid())) { in getAppUsageLimit()
1567 code = mActivityTaskManagerInternal.startActivitiesAsPackage(publisherPackage, in startShortcutIntentsAsPublisher()
1669 mActivityTaskManagerInternal.startActivityAsUser(caller, callingPackage, in startSessionDetailsActivityAsUser()
1910 mActivityTaskManagerInternal.startActivityAsUser(caller, callingPackage, in startActivityAsUser()
2003 mActivityTaskManagerInternal.startActivityAsUser(caller, callingPackage, in showAppDetailsAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1437 verify(mInjector.mActivityTaskManagerInternal).registerScreenObserver(captor.capture()); in testStallUserSwitchUntilTheKeyguardIsShown()
1635 private final ActivityTaskManagerInternal mActivityTaskManagerInternal; field in UserControllerTest.TestInjector
1656 mActivityTaskManagerInternal = mock(ActivityTaskManagerInternal.class); in TestInjector()
1720 return mActivityTaskManagerInternal; in getActivityTaskManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateManagerServiceTest.java116 mService.mActivityTaskManagerInternal = mock(ActivityTaskManagerInternal.class); in setupDeviceStateManagerService()
118 when(mService.mActivityTaskManagerInternal.getTopApp()) in setupDeviceStateManagerService()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java230 @Mock private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in ActivityManagerServiceTest
251 LocalServices.addService(ActivityTaskManagerInternal.class, mActivityTaskManagerInternal); in setUp()
276 mAms.mAtmInternal = mActivityTaskManagerInternal; in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java117 private ActivityTaskManagerInternal mActivityTaskManagerInternal; field in StatusBarManagerServiceTest
147 LocalServices.addService(ActivityTaskManagerInternal.class, mActivityTaskManagerInternal); in setUp()

12