Home
last modified time | relevance | path

Searched refs:activityManager (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java60 IActivityManager activityManager = ActivityManager.getService(); in getSystemLongPressTime() local
64 ContentProviderHolder holder = activityManager.getContentProviderExternal( in getSystemLongPressTime()
87 activityManager.removeContentProviderExternalAsUser(providerName, token, in getSystemLongPressTime()
/frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/
DLaunchActivity.java45 ActivityManager activityManager = in onCreate()
47 final int color = activityManager.getLockTaskModeState() != in onCreate()
DMainActivity.java31 ActivityManager activityManager = in onCreate()
33 final int color = activityManager.getLockTaskModeState() != in onCreate()
/frameworks/base/core/java/android/app/
DHomeVisibilityObserver.java42 void init(Context context, ActivityManager activityManager) { in init() argument
44 mActivityManager = activityManager; in init()
DService.java829 Application application, Object activityManager) { in attach() argument
835 mActivityManager = (IActivityManager)activityManager; in attach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAppOpsListener.java64 public PipAppOpsListener(Context context, IActivityManager activityManager, in PipAppOpsListener() argument
68 mActivityManager = activityManager; in PipAppOpsListener()
DPipUtils.java40 IActivityManager activityManager) { in getTopPinnedActivity() argument
DPipMediaController.java112 public PipMediaController(Context context, IActivityManager activityManager) { in PipMediaController() argument
114 mActivityManager = activityManager; in PipMediaController()
DPipMenuActivityController.java195 public PipMenuActivityController(Context context, IActivityManager activityManager, in PipMenuActivityController() argument
198 mActivityManager = activityManager; in PipMenuActivityController()
DPipMotionHelper.java99 public PipMotionHelper(Context context, IActivityManager activityManager, in PipMotionHelper() argument
104 mActivityManager = activityManager; in PipMotionHelper()
DPipTouchHandler.java179 public PipTouchHandler(Context context, IActivityManager activityManager, in PipTouchHandler() argument
185 mActivityManager = activityManager; in PipTouchHandler()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java52 IActivityManager activityManager, LockPatternUtils lockPatternUtils, in MockInjector() argument
59 mActivityManager = activityManager; in MockInjector()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTargetPackageUtils.java57 final ActivityManager activityManager = context.getSystemService(ActivityManager.class); in killTargetPackage() local
58 activityManager.forceStopPackage(PACKAGE_NAME); in killTargetPackage()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java175 IActivityManager activityManager = ActivityManager.getService(); in parseArgs() local
177 mUserId = activityManager.getCurrentUser().id; in parseArgs()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DHighResThumbnailLoader.java61 public HighResThumbnailLoader(ActivityManagerWrapper activityManager, Looper looper, in HighResThumbnailLoader() argument
63 mActivityManager = activityManager; in HighResThumbnailLoader()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioningController.java63 IActivityTaskManager activityManager, Looper looper) { in TaskPositioningController() argument
66 mActivityManager = activityManager; in TaskPositioningController()
DTaskPositioner.java228 TaskPositioner(WindowManagerService service, IActivityTaskManager activityManager) { in TaskPositioner() argument
230 mActivityManager = activityManager; in TaskPositioner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java233 ScanRequestProxy(Context context, AppOpsManager appOpsManager, ActivityManager activityManager, in ScanRequestProxy() argument
239 mActivityManager = activityManager; in ScanRequestProxy()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java459 IActivityManager activityManager = ActivityManager.getService(); in execute() local
463 ContentProviderHolder holder = activityManager.getContentProviderExternal( in execute()
472 activityManager.removeContentProviderExternalAsUser( in execute()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java124 IActivityManager activityManager = ActivityManager.getService(); in setUp() local
125 spyOn(activityManager); in setUp()
127 doNothing().when(activityManager).registerUidObserver(any(), anyInt(), anyInt(), any()); in setUp()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java506 ActivityManager activityManager = (ActivityManager) in getMemoryInfo() local
509 activityManager.getMemoryInfo(memInfo); in getMemoryInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java294 ActivityManager activityManager = (ActivityManager) context.getSystemService( in updateMccMncConfiguration() local
296 if (!activityManager.updateMccMncConfiguration( in updateMccMncConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java110 IActivityManager activityManager, DozeParameters dozeParameters, in StatusBarWindowController() argument
116 mActivityManager = activityManager; in StatusBarWindowController()
DNavigationBarFragment.java790 IActivityTaskManager activityManager = ActivityTaskManager.getService(); in onLongPressNavigationButtons() local
792 boolean inLockTaskMode = activityManager.isInLockTaskMode(); in onLongPressNavigationButtons()
832 activityManager.stopSystemLockTaskMode(); in onLongPressNavigationButtons()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java461 ActivityManager activityManager = (ActivityManager) in AsyncRenderer() local
463 final int cacheSizeInBytes = activityManager.getMemoryClass() * BYTES_PER_MEGABYTE / 4; in AsyncRenderer()

12