/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 276 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/ |
D | EnableContentCaptureWithServiceSettingsPreferenceController.java | 101 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/ |
D | ProvisioningIntentProviderTest.java | 74 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/ |
D | StorageFileCategoryPreferenceControllerTest.java | 101 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/ |
D | TelecomBroadcastIntentProcessor.java | 261 mContext.startActivityAsUser(callIntent, userHandle); in sendSmsIntent() 272 mContext.startActivityAsUser(callIntent, userHandle); in sendCallBackIntent()
|
D | DialerCodeReceiver.java | 74 context.startActivityAsUser(confirmIntent, UserHandle.CURRENT); in onReceive()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetailTest.java | 205 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/ |
D | CustomActivity.java | 25 public void startActivityAsUser(Intent intent, UserHandle user) {} in startActivityAsUser() method in CustomActivity
|
/packages/apps/Settings/src/com/android/settings/ |
D | BrightnessPreference.java | 34 getContext().startActivityAsUser(new Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG), in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | BrightnessPreference.java | 34 getContext().startActivityAsUser(new Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG), in onClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowActivity.java | 31 protected void startActivityAsUser(Intent intent, UserHandle user) { in startActivityAsUser() method in ShadowActivity
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcRootActivity.java | 38 startActivityAsUser(launchIntent, UserHandle.CURRENT); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothPairingRequest.java | 54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
|
/packages/services/Car/service/src/com/android/car/ |
D | SystemActivityMonitoringService.java | 254 mContext.startActivityAsUser(rootActivityIntent, new UserHandle(userId)); in restartTask() 390 mContext.startActivityAsUser(newActivityIntent, options.toBundle(), in handleBlockActivity()
|
D | CarInputService.java | 508 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/ |
D | HostEmulationManager.java | 396 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/ |
D | DefaultWorkAutofillPreferenceController.java | 81 mContext.startActivityAsUser(intent, mUserHandle); in startActivity()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultWorkAutofillPreferenceController.java | 81 mContext.startActivityAsUser(intent, mUserHandle); in startActivity()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | ProfileSettingsPreferenceFragment.java | 55 getActivity().startActivityAsUser(intent, selectedUser); in onViewCreated()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | ProfileSettingsPreferenceFragment.java | 55 getActivity().startActivityAsUser(intent, selectedUser); in onViewCreated()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageFileCategoryPreferenceController.java | 64 getContext().startActivityAsUser(intent, in handlePreferenceClicked()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | SettingsWithHeader.java | 79 info.setOnClickListener(v -> getActivity().startActivityAsUser(mInfoIntent, in updateHeader()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | BootUsbService.java | 115 context.startActivityAsUser(manageDevice, UserHandle.CURRENT); in handle()
|