/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsRequestReceiverTest.kt | 55 private lateinit var activityManager: ActivityManager variable in com.android.systemui.controls.management.ControlsRequestReceiverTest 70 mContext.addMockSystemService(ActivityManager::class.java, activityManager) in setUp() 94 `when`(activityManager.getUidImportance(anyInt())).thenReturn(IMPORTANCE_GONE) in testPackageVerification_uidNotInForeground() 103 `when`(activityManager.getUidImportance(anyInt())).thenReturn(IMPORTANCE_GONE) in testPackageVerification_OK() 104 `when`(activityManager.getUidImportance(12345)).thenReturn(IMPORTANCE_FOREGROUND) in testPackageVerification_OK() 124 `when`(activityManager.getUidImportance(anyInt())).thenReturn(IMPORTANCE_GONE) in testOnReceive_packageNotVerified_notForeground() 136 `when`(activityManager.getUidImportance(eq(12345))).thenReturn(IMPORTANCE_FOREGROUND) in testOnReceive_OK()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/ |
D | TvPipTestBase.kt | 62 private val activityManager: IActivityManager = ActivityManager.getService() in fail() constant in com.android.wm.shell.flicker.pip.tv.TvPipTestBase.SystemUiProcessObserver 71 activityManager.registerProcessObserver(this) in fail() 75 activityManager.unregisterProcessObserver(this) in fail()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 62 IActivityManager activityManager = ActivityManager.getService(); in getSystemLongPressTime() local 66 ContentProviderHolder holder = activityManager.getContentProviderExternal( in getSystemLongPressTime() 90 activityManager.removeContentProviderExternalAsUser(providerName, token, in getSystemLongPressTime()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemUserInfoHelper.java | 93 IActivityManager activityManager = getActivityManager(); in getRunningUserIds() local 94 if (activityManager != null) { in getRunningUserIds() 97 return activityManager.getRunningUserIds(); in getRunningUserIds()
|
/frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/ |
D | LaunchActivity.java | 45 ActivityManager activityManager = in onCreate() 47 final int color = activityManager.getLockTaskModeState() != in onCreate()
|
D | MainActivity.java | 31 ActivityManager activityManager = in onCreate() 33 final int color = activityManager.getLockTaskModeState() != in onCreate()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/ |
D | UsageStatsServiceTest.java | 73 IActivityManager activityManager = ActivityManager.getService(); in setUp() local 74 spyOn(activityManager); in setUp() 76 doNothing().when(activityManager).registerUidObserver(any(), anyInt(), anyInt(), any()); in setUp()
|
/frameworks/base/core/java/android/app/ |
D | HomeVisibilityListener.java | 51 void init(Context context, Executor executor, ActivityManager activityManager) { in init() argument 53 mActivityManager = activityManager; in init()
|
D | Service.java | 881 Application application, Object activityManager) { in attach() argument 887 mActivityManager = (IActivityManager)activityManager; in attach()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
D | CreateUserActivity.java | 61 EditUserInfoController editUserInfoController, IActivityManager activityManager) { in CreateUserActivity() argument 64 mActivityManager = activityManager; in CreateUserActivity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ShutdownCheckPointsTest.java | 351 TestInjector(IActivityManager activityManager) { in TestInjector() argument 355 mActivityManager = activityManager; in TestInjector() 374 public IActivityManager activityManager() { in activityManager() method in ShutdownCheckPointsTest.TestInjector
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 386 ActivityManager activityManager = context.getSystemService(ActivityManager.class); in isCurrentProfile() local 387 if (activityManager != null) { in isCurrentProfile() 388 return activityManager.isProfileForeground( in isCurrentProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 57 IActivityManager activityManager, in MockInjector() argument 65 mActivityManager = activityManager; in MockInjector()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownCheckPoints.java | 80 public IActivityManager activityManager() { in ShutdownCheckPoints() 179 IActivityManager activityManager(); in activityManager() method 276 mActivityManager = injector.activityManager(); in BinderCheckPoint()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioningController.java | 65 IActivityTaskManager activityManager, Looper looper) { in TaskPositioningController() argument 68 mActivityManager = activityManager; in TaskPositioningController()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleStore.java | 271 ActivityManager activityManager = context.getSystemService(ActivityManager.class); in fillCache() local 272 for (Locale locale : activityManager.getSupportedLocales()) { in fillCache()
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | TargetPackageUtils.java | 70 final ActivityManager activityManager = context.getSystemService(ActivityManager.class); in killTargetPackage() local 71 activityManager.forceStopPackage(PACKAGE_NAME); in killTargetPackage()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 512 IActivityManager activityManager = ActivityManager.getService(); in execute() local 516 ContentProviderHolder holder = activityManager.getContentProviderExternal( in execute() 525 activityManager.removeContentProviderExternalAsUser( in execute()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 505 ActivityManager activityManager = (ActivityManager) in getMemoryInfo() local 508 activityManager.getMemoryInfo(memInfo); in getMemoryInfo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 294 ActivityManager activityManager = (ActivityManager) context.getSystemService( in updateMccMncConfiguration() local 296 if (!activityManager.updateMccMncConfiguration( in updateMccMncConfiguration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationShadeWindowControllerImpl.java | 113 IActivityManager activityManager, DozeParameters dozeParameters, in NotificationShadeWindowControllerImpl() argument 125 mActivityManager = activityManager; in NotificationShadeWindowControllerImpl()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 461 ActivityManager activityManager = (ActivityManager) in AsyncRenderer() local 463 final int cacheSizeInBytes = activityManager.getMemoryClass() * BYTES_PER_MEGABYTE / 4; in AsyncRenderer()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 151 IActivityManager activityManager = ActivityManager.getService(); in setUp() local 152 spyOn(activityManager); in setUp() 154 doNothing().when(activityManager).registerUidObserver(any(), anyInt(), anyInt(), any()); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotController.java | 305 ActivityManager activityManager) { in ScreenshotController() argument 314 mIsLowRamDevice = activityManager.isLowRamDevice(); in ScreenshotController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBar.java | 1298 IActivityTaskManager activityManager = ActivityTaskManager.getService(); in onLongPressNavigationButtons() local 1300 boolean inLockTaskMode = activityManager.isInLockTaskMode(); in onLongPressNavigationButtons() 1340 activityManager.stopSystemLockTaskMode(); in onLongPressNavigationButtons()
|