Home
last modified time | relevance | path

Searched refs:mIActivityManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java78 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/
DKeyguardStatusView.java57 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/
DGsmCdmaPhoneTest.java678 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()
DTelephonyTest.java190 protected IActivityManager mIActivityManager; field in TelephonyTest
515 doReturn(mIIntentSender).when(mIActivityManager).getIntentSender(anyInt(), in setUp()
569 mIActivityManager); in setUp()
DSubscriptionInfoUpdaterTest.java157 doReturn(mUserInfo).when(mIActivityManager).getCurrentUser(); in setUp()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java87 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/
DCdmaInboundSmsHandlerTest.java120 doReturn(new int[]{UserHandle.USER_SYSTEM}).when(mIActivityManager).getRunningUserIds(); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java115 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()
DDeviceIdleControllerTest.java115 private IActivityManager mIActivityManager; field in DeviceIdleControllerTest
225 return mIActivityManager; in injectIActivityManager()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java550 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/
DGsmInboundSmsHandlerTest.java177 doReturn(new int[]{UserHandle.USER_SYSTEM}).when(mIActivityManager).getRunningUserIds(); in setUp()