Home
last modified time | relevance | path

Searched refs:startActivityAsUser (Results 1 – 25 of 70) sorted by relevance

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java276 doNothing().when(mContext).startActivityAsUser(any(), any(), any()); in callKey_shortPress_withoutEventHandler_launchesDialer()
281 verify(mContext).startActivityAsUser( in callKey_shortPress_withoutEventHandler_launchesDialer()
295 verify(mContext, never()).startActivityAsUser(any(), any(), any()); in callKey_shortPress_withoutEventHandler_whenCallRinging_answersCall()
310 verify(mContext, never()).startActivityAsUser(any(), any(), any()); in callKey_shortPress_withEventHandler_triggersEventHandler()
332 doNothing().when(mContext).startActivityAsUser(any(), any(), any()); in callKey_longPress_withoutEventHandler_redialsLastCall()
337 verify(mContext).startActivityAsUser( in callKey_longPress_withoutEventHandler_redialsLastCall()
346 verify(mContext, never()).startActivityAsUser(any(), any(), any()); in callKey_longPress_withoutEventHandler_redialsLastCall()
356 verify(mContext, never()).startActivityAsUser(any(), any(), any()); in callKey_longPress_withoutEventHandler_withNoLastCall_doesNothing()
371 verify(mContext, never()).startActivityAsUser(any(), any(), any()); in callKey_longPress_withoutEventHandler_whenCallRinging_answersCall()
384 verify(mContext, never()).startActivityAsUser(any(), any(), any()); in callKey_longPress_withEventHandler_triggersEventHandler()
/packages/apps/Settings/src/com/android/settings/privacy/
DEnableContentCaptureWithServiceSettingsPreferenceController.java101 context.startActivityAsUser(intent, userHandles.get(0)); in show()
112 context.startActivityAsUser(intent, user); in show()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProviderTest.java74 verify(mContext).startActivityAsUser(any(), any()); in maybeLaunchDpc_success()
83 verify(mContext, never()).startActivityAsUser(any(), any()); in maybeLaunchDpc_cannotResolveIntent()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageFileCategoryPreferenceControllerTest.java101 verify(mContext, never()).startActivityAsUser( in handlePreferenceClicked_currentUserAndNoActivityToHandleIntent_doesNotThrow()
124 verify(mContext).startActivityAsUser(argumentCaptor.capture(), nullable(UserHandle.class)); in handlePreferenceClicked_currentUserAndActivityToHandleIntent_startsNewActivity()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomBroadcastIntentProcessor.java261 mContext.startActivityAsUser(callIntent, userHandle); in sendSmsIntent()
272 mContext.startActivityAsUser(callIntent, userHandle); in sendCallBackIntent()
DDialerCodeReceiver.java74 context.startActivityAsUser(confirmIntent, UserHandle.CURRENT); in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java205 doAnswer(callable).when(mActivity).startActivityAsUser(captor.capture(), in setUp()
324 verify(mActivity).startActivityAsUser(any(Intent.class), eq(new UserHandle(10))); in testStartBatteryDetailPage_WorkApp()
337 verify(mActivity).startActivityAsUser(any(Intent.class), eq(new UserHandle(currentUser))); in testStartBatteryDetailPage_typeUser_startByCurrentUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DCustomActivity.java25 public void startActivityAsUser(Intent intent, UserHandle user) {} in startActivityAsUser() method in CustomActivity
/packages/apps/Settings/src/com/android/settings/
DBrightnessPreference.java34 getContext().startActivityAsUser(new Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG), in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DBrightnessPreference.java34 getContext().startActivityAsUser(new Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG), in onClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowActivity.java31 protected void startActivityAsUser(Intent intent, UserHandle user) { in startActivityAsUser() method in ShadowActivity
/packages/apps/Nfc/src/com/android/nfc/
DNfcRootActivity.java38 startActivityAsUser(launchIntent, UserHandle.CURRENT); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingRequest.java54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingRequest.java54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingRequest.java54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java254 mContext.startActivityAsUser(rootActivityIntent, new UserHandle(userId)); in restartTask()
390 mContext.startActivityAsUser(newActivityIntent, options.toBundle(), in handleBlockActivity()
DCarInputService.java508 mContext.startActivityAsUser(dialerIntent, null, UserHandle.CURRENT_OR_SELF); in launchDialerHandler()
519 mContext.startActivityAsUser(callLastNumberIntent, null, UserHandle.CURRENT_OR_SELF); in dialLastCallHandler()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java396 mContext.startActivityAsUser(dialogIntent, UserHandle.CURRENT); in launchTapAgain()
408 mContext.startActivityAsUser(intent, UserHandle.CURRENT); in launchResolver()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultWorkAutofillPreferenceController.java81 mContext.startActivityAsUser(intent, mUserHandle); in startActivity()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultWorkAutofillPreferenceController.java81 mContext.startActivityAsUser(intent, mUserHandle); in startActivity()
/packages/apps/Settings/src/com/android/settings/print/
DProfileSettingsPreferenceFragment.java55 getActivity().startActivityAsUser(intent, selectedUser); in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DProfileSettingsPreferenceFragment.java55 getActivity().startActivityAsUser(intent, selectedUser); in onViewCreated()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageFileCategoryPreferenceController.java64 getContext().startActivityAsUser(intent, in handlePreferenceClicked()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DSettingsWithHeader.java79 info.setOnClickListener(v -> getActivity().startActivityAsUser(mInfoIntent, in updateHeader()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbService.java115 context.startActivityAsUser(manageDevice, UserHandle.CURRENT); in handle()

123