Searched refs:mIActivityManager (Results 1 – 5 of 5) sorted by relevance
63 @Mock private IActivityManager mIActivityManager; field in StartManagedProfileTaskTest82 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()
59 private IActivityManager mIActivityManager; field in WaitForDebuggerPreferenceControllerTest71 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()
52 private final IActivityManager mIActivityManager; field in StartManagedProfileTask70 mIActivityManager = checkNotNull(iActivityManager); in StartManagedProfileTask()80 if (!mIActivityManager.startUserInBackground(userId)) { in run()
32 private final IActivityManager mIActivityManager; field in ForegroundUtils48 mIActivityManager = ActivityManager.getService(); in ForegroundUtils()50 mIActivityManager.registerProcessObserver(this); in ForegroundUtils()
86 private final IActivityManager mIActivityManager; field in NfcDispatcher108 mIActivityManager = ActivityManager.getService(); in NfcDispatcher()698 mIActivityManager.resumeAppSwitches(); in resumeAppSwitches()