Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java30 import android.app.ActivityManagerInternal;
107 private ActivityManagerInternal mAmInternal;
122 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp()
123 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setUp()
DSystemServicesTestRule.java38 import android.app.ActivityManagerInternal;
144 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class);
145 doReturn(ami).when(() -> LocalServices.getService(eq(ActivityManagerInternal.class)));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java19 import android.app.ActivityManagerInternal;
49 private ActivityManagerInternal mActivityManagerInternal;
204 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in isAppForeground()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java23 import android.app.ActivityManagerInternal;
284 public ActivityManagerInternal getActivityManagerInternal() { in getActivityManagerInternal()
285 return LocalServices.getService(ActivityManagerInternal.class); in getActivityManagerInternal()
314 ActivityManagerInternal getActivityManagerInternal(); in getActivityManagerInternal()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java5 import android.app.ActivityManagerInternal;
72 private final ActivityManagerInternal mActivityManagerInternal;
103 ActivityManagerInternal activityManagerInternal, in Vr2dDisplay()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerInternalTest.java22 import android.app.ActivityManagerInternal;
49 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/am/
DPendingIntentController.java27 import android.app.ActivityManagerInternal;
70 ActivityManagerInternal mAmInternal;
86 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java39 import android.app.ActivityManagerInternal;
101 @Mock private ActivityManagerInternal mActivityManagerInternalMock;
153 addLocalServiceMock(ActivityManagerInternal.class, mActivityManagerInternalMock); in setUp()
201 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java16 import android.app.ActivityManagerInternal;
76 private ActivityManagerInternal mActivityManagerInternal;
573 public ActivityManagerInternal getActivityManagerInternal() { in getActivityManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java28 import android.app.ActivityManagerInternal;
97 public ActivityManagerInternal activityManagerInternal;
137 activityManagerInternal = mock(ActivityManagerInternal.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java18 import android.app.ActivityManagerInternal;
192 ActivityManagerInternal getActivityManagerInternal() { in getActivityManagerInternal()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java19 import static android.app.ActivityManagerInternal.ALLOW_FULL_ONLY;
24 import android.app.ActivityManagerInternal;
163 private final ActivityManagerInternal mAmInternal;
184 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in ClipboardService()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java32 import android.app.ActivityManagerInternal;
102 private ActivityManagerInternal mAm;
447 private ActivityManagerInternal getAmInternal() { in getAmInternal()
450 mAm = LocalServices.getService(ActivityManagerInternal.class); in getAmInternal()
DContentCapturePerUserService.java37 import android.app.ActivityManagerInternal;
402 if (callingUid != packageUid && !LocalServices.getService(ActivityManagerInternal.class) in assertCallerLocked()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java20 import android.app.ActivityManagerInternal;
74 private final ActivityManagerInternal mActivityManagerInternal;
90 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in MediaProjectionManagerService()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java19 import android.app.ActivityManagerInternal;
232 mFileUpdater.systemReady(LocalServices.getService(ActivityManagerInternal.class) in systemReady()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java37 import android.app.ActivityManagerInternal;
74 private ActivityManagerInternal mActivityMangerInternal;
100 .when(() -> LocalServices.getService(ActivityManagerInternal.class)); in setUp()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java21 import android.app.ActivityManagerInternal;
120 private final ActivityManagerInternal mActivityManagerInternal;
168 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in Notifier()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java20 import android.app.ActivityManagerInternal;
88 ActivityManagerInternal mActivityManagerInternal;
488 ActivityManagerInternal injectActivityManagerInternal() { in injectActivityManagerInternal()
489 return LocalServices.getService(ActivityManagerInternal.class); in injectActivityManagerInternal()
DPinnerService.java26 import android.app.ActivityManagerInternal;
109 private final ActivityManagerInternal mAmInternal;
171 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in PinnerService()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java42 public abstract class ActivityManagerInternal { class
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java24 import android.app.ActivityManagerInternal;
340 final String msg = LocalServices.getService(ActivityManagerInternal.class) in registerContentObserver()
407 final String msg = LocalServices.getService(ActivityManagerInternal.class) in notifyChange()
1333 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller()
1334 LocalServices.getService(ActivityManagerInternal.class); in getSyncExemptionAndCleanUpExtrasForCaller()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java23 import static android.app.ActivityManagerInternal.ALLOW_FULL_ONLY;
47 import android.app.ActivityManagerInternal;
117 ActivityManagerInternal mAmInternal;
156 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java24 import android.app.ActivityManagerInternal;
100 final ActivityManagerInternal mAmInternal;
117 LocalServices.getService(ActivityManagerInternal.class)); in VoiceInteractionManagerService()
1285 ActivityManagerInternal.class).getCurrentUserId()); in RoleObserver()

123