Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DStartManagedProfileTaskTest.java63 @Mock private IActivityManager mIActivityManager; field in StartManagedProfileTaskTest
82 mTask = new StartManagedProfileTask(mIActivityManager, mContext, TEST_PARAMS, mCallback, in setUp()
102 }).when(mIActivityManager).startUserInBackground(TEST_USER_ID); in testSuccess()
134 when(mIActivityManager.startUserInBackground(TEST_USER_ID)).thenReturn(false); in testError()
156 when(mIActivityManager.startUserInBackground(TEST_USER_ID)) in testRemoteException()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DWaitForDebuggerPreferenceControllerTest.java59 private IActivityManager mIActivityManager; field in WaitForDebuggerPreferenceControllerTest
71 doReturn(mIActivityManager).when(mController).getActivityManagerService(); in setup()
85 verify(mIActivityManager) in onPreferenceChange_settingEnabledFoobarApp_waitForDebuggerShouldBeOn()
96 verify(mIActivityManager) in onPreferenceChange_settingDisabledFoobarApp_waitForDebuggerShouldBeOff()
184 verify(mIActivityManager).setDebugApp(null /* package name */, in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
/packages/apps/Nfc/src/com/android/nfc/
DForegroundUtils.java32 private final IActivityManager mIActivityManager; field in ForegroundUtils
48 mIActivityManager = ActivityManager.getService(); in ForegroundUtils()
50 mIActivityManager.registerProcessObserver(this); in ForegroundUtils()
121 return mIActivityManager.isUidActive(uid, NfcApplication.NFC_PROCESS); in isInForegroundLocked()
DNfcDispatcher.java86 private final IActivityManager mIActivityManager; field in NfcDispatcher
108 mIActivityManager = ActivityManager.getService(); in NfcDispatcher()
698 mIActivityManager.resumeAppSwitches(); in resumeAppSwitches()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DStartManagedProfileTask.java52 private final IActivityManager mIActivityManager; field in StartManagedProfileTask
70 mIActivityManager = checkNotNull(iActivityManager); in StartManagedProfileTask()
80 if (!mIActivityManager.startUserInBackground(userId)) { in run()