/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 78 private IActivityManager mIActivityManager; field in BackgroundRestrictionsTest 111 mIActivityManager = ActivityManager.getService(); in setUp() 137 mIActivityManager.makePackageIdle(TEST_APP_PACKAGE, UserHandle.USER_CURRENT); in testPowerWhiteList() 154 mIActivityManager.makePackageIdle(TEST_APP_PACKAGE, UserHandle.USER_CURRENT); in testFeatureFlag()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 57 private final IActivityManager mIActivityManager; field in KeyguardStatusView 134 mIActivityManager = ActivityManager.getService(); in KeyguardStatusView() 433 mIActivityManager.switchUser(UserHandle.USER_SYSTEM); in onLogoutClicked() 434 mIActivityManager.stopUser(currentUserId, true /*force*/, null); in onLogoutClicked()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 678 verify(mIActivityManager, atLeast(1)).broadcastIntent(eq((IApplicationThread) null), in testEmergencyCallbackMessages() 712 verify(mIActivityManager, atLeast(2)).broadcastIntent(eq((IApplicationThread) null), in testEmergencyCallbackMessages() 766 verify(mIActivityManager, atLeast(1)).broadcastIntent(eq((IApplicationThread) null), in testModemResetInEmergencyCallbackMessages() 800 verify(mIActivityManager, atLeast(2)).broadcastIntent(eq((IApplicationThread) null), in testModemResetInEmergencyCallbackMessages()
|
D | TelephonyTest.java | 190 protected IActivityManager mIActivityManager; field in TelephonyTest 515 doReturn(mIIntentSender).when(mIActivityManager).getIntentSender(anyInt(), in setUp() 569 mIActivityManager); in setUp()
|
D | SubscriptionInfoUpdaterTest.java | 157 doReturn(mUserInfo).when(mIActivityManager).getCurrentUser(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 87 IActivityManager mIActivityManager; field in AppStateTracker 419 mIActivityManager = Preconditions.checkNotNull(injectIActivityManager()); in onSystemServicesReady() 436 mIActivityManager.registerUidObserver(new UidObserver(), in onSystemServicesReady()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 120 doReturn(new int[]{UserHandle.USER_SYSTEM}).when(mIActivityManager).getRunningUserIds(); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AlarmManagerServiceTest.java | 115 private IActivityManager mIActivityManager; field in AlarmManagerServiceTest 253 doReturn(mIActivityManager).when(ActivityManager::getService); in setUp() 281 verify(mIActivityManager).registerUidObserver(any(IUidObserver.class), anyInt(), anyInt(), in setUp()
|
D | DeviceIdleControllerTest.java | 115 private IActivityManager mIActivityManager; field in DeviceIdleControllerTest 225 return mIActivityManager; in injectIActivityManager()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 550 verify(mIActivityManager, atLeast(1)).broadcastIntent(eq((IApplicationThread)null), in testEcbm() 578 verify(mIActivityManager, atLeast(2)).broadcastIntent(eq((IApplicationThread)null), in testEcbm()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 177 doReturn(new int[]{UserHandle.USER_SYSTEM}).when(mIActivityManager).getRunningUserIds(); in setUp()
|