Home
last modified time | relevance | path

Searched refs:ActivityManagerInternal (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemUserInfoHelper.java24 import android.app.ActivityManagerInternal;
48 @Nullable private ActivityManagerInternal mActivityManagerInternal;
59 protected final ActivityManagerInternal getActivityManagerInternal() { in getActivityManagerInternal()
62 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in getActivityManagerInternal()
110 ActivityManagerInternal activityManagerInternal = getActivityManagerInternal(); in isCurrentUserId()
125 ActivityManagerInternal activityManagerInternal = getActivityManagerInternal(); in getCurrentUserId()
163 ActivityManagerInternal activityManagerInternal = getActivityManagerInternal(); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DGracePeriodObserverTest.java25 import android.app.ActivityManagerInternal;
59 ActivityManagerInternal activityManagerInternal = mock(ActivityManagerInternal.class); in setUpOnce()
60 LocalServices.addService(ActivityManagerInternal.class, activityManagerInternal); in setUpOnce()
66 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDownOnce()
75 .when(LocalServices.getService(ActivityManagerInternal.class)).getCurrentUserId(); in setUp()
/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java18 import android.app.ActivityManagerInternal;
60 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in isAppActive()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java26 import android.app.ActivityManagerInternal;
55 private ActivityManagerInternal mActivityManagerInternal;
65 ActivityManagerInternal.class, mock(ActivityManagerInternal.class)); in setUpOnce()
71 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDownOnce()
86 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java30 import android.app.ActivityManagerInternal;
133 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class); in testCluster()
136 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in testCluster()
137 LocalServices.addService(ActivityManagerInternal.class, ami); in testCluster()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerService.java20 import static android.app.ActivityManagerInternal.ALLOW_NON_FULL;
26 import android.app.ActivityManagerInternal;
145 ActivityManagerInternal am = LocalServices.getService(ActivityManagerInternal.class); in runForUserLocked()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspaceManagerService.java20 import static android.app.ActivityManagerInternal.ALLOW_NON_FULL;
27 import android.app.ActivityManagerInternal;
157 ActivityManagerInternal am = LocalServices.getService(ActivityManagerInternal.class); in runForUserLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DPinnerServiceTest.java27 import android.app.ActivityManagerInternal;
89 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp()
99 ActivityManagerInternal mockActivityManagerInternal = mock(ActivityManagerInternal.class); in setUp()
101 LocalServices.addService(ActivityManagerInternal.class, mockActivityManagerInternal); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java31 import android.app.ActivityManagerInternal;
110 private ActivityManagerInternal mAmInternal;
127 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp()
128 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setUp()
167 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDown()
DSystemServicesTestRule.java39 import android.app.ActivityManagerInternal;
258 final ActivityManagerInternal amInternal = mAmService.mInternal;
278 LocalServices.addService(ActivityManagerInternal.class, amInternal);
377 LocalServices.removeServiceForTest(ActivityManagerInternal.class);
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java21 import static android.app.ActivityManagerInternal.ALLOW_NON_FULL;
28 import android.app.ActivityManagerInternal;
176 ActivityManagerInternal am = LocalServices.getService(ActivityManagerInternal.class); in runForUserLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java30 import android.app.ActivityManagerInternal;
63 private ActivityManagerInternal mActivityManagerInternal;
81 () -> LocalServices.getService(ActivityManagerInternal.class)); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java25 import android.app.ActivityManagerInternal;
102 final ActivityManagerInternal mAmInternal;
114 mAmInternal = mock(ActivityManagerInternal.class); in UriGrantsMockContext()
115 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in UriGrantsMockContext()
116 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in UriGrantsMockContext()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java40 import android.app.ActivityManagerInternal;
80 @Mock private ActivityManagerInternal mAmInternalMock;
94 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp()
95 LocalServices.addService(ActivityManagerInternal.class, mAmInternalMock); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java23 import android.app.ActivityManagerInternal;
116 final ActivityManagerInternal amInternal = in sendNext()
117 LocalServices.getService(ActivityManagerInternal.class); in sendNext()
DPendingIntentController.java28 import android.app.ActivityManagerInternal;
81 ActivityManagerInternal mAmInternal;
109 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
/frameworks/base/services/core/java/com/android/server/audio/
DSystemServerAdapter.java22 import android.app.ActivityManagerInternal;
101 ActivityManagerInternal.class).getCurrentProfileIds(); in broadcastStickyIntentToCurrentProfileGroup()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemUserInfoHelperTest.java24 import android.app.ActivityManagerInternal;
71 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDown()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java5 import android.app.ActivityManagerInternal;
73 private final ActivityManagerInternal mActivityManagerInternal;
104 ActivityManagerInternal activityManagerInternal, in Vr2dDisplay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinatorTest.java27 import android.app.ActivityManagerInternal;
65 @Mock private ActivityManagerInternal mActivityMangerInternal;
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DCurrentUserServiceSupplier.java30 import android.app.ActivityManagerInternal;
159 private final ActivityManagerInternal mActivityManager;
192 LocalServices.getService(ActivityManagerInternal.class)); in CurrentUserServiceSupplier()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerInternalTest.java24 import android.app.ActivityManagerInternal;
55 private ActivityManagerInternal mAmi;
/frameworks/base/core/java/android/webkit/
DWebViewLibraryLoader.java20 import android.app.ActivityManagerInternal;
125 boolean success = LocalServices.getService(ActivityManagerInternal.class) in createRelroFile()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DEnvironmentImpl.java24 import android.app.ActivityManagerInternal;
144 return LocalServices.getService(ActivityManagerInternal.class).getCurrentUserId(); in getCurrentUserId()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java20 import android.app.ActivityManagerInternal;
64 private final ActivityManagerInternal mAmInternal;
81 LocalServices.getService(ActivityManagerInternal.class)); in HintManagerService()

12345