/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | TestActivity.java | 31 public TestEventListener<Pair<Intent, Integer>> startActivityForResult; field in TestActivity 44 startActivityForResult = new TestEventListener<>(); in init() 53 public final void startActivityForResult(@RequiresPermission Intent intent, int requestCode) { in startActivityForResult() method in TestActivity 54 startActivityForResult.accept(Pair.create(intent, requestCode)); in startActivityForResult()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/ |
D | RingtonePreferenceControllerTest.java | 103 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_listenerTriggered() 112 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkDefaultUri() 122 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkDialogTitle() 133 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkRingtoneType() 144 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkShowSilent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 79 startActivityForResult(intent, REQUEST_WIDGET_TYPE); in onCreate() 160 startActivityForResult(request, REQUEST_CROP_IMAGE); in setChoosenPhoto() 192 startActivityForResult(intent, REQUEST_CHOOSE_ALBUM); in setWidgetType() 206 startActivityForResult(request, REQUEST_GET_PHOTO); in setWidgetType()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 285 startActivityForResult(encryptIntent, ENCRYPT_DEVICE_REQUEST_CODE); in requestEncryption() 292 startActivityForResult(intent, WIFI_REQUEST_CODE); in requestWifiPick() 309 startActivityForResult(changeLauncherIntent, CHANGE_LAUNCHER_REQUEST_CODE); in requestLauncherPick() 333 startActivityForResult(intentGetMode, GET_PROVISIONING_MODE_REQUEST_CODE); in maybeShowAdminGetProvisioningModeScreen() 365 startActivityForResult(intent, ADMIN_INTEGRATED_FLOW_PREPARE_REQUEST_CODE); in prepareAdminIntegratedFlow()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | SettingsFragmentTest.java | 160 assertThrows(() -> mFragment.startActivityForResult(new Intent(), 0xffff, in startActivityForResult_largeRequestCode_throwsError() 169 mFragment.startActivityForResult(new Intent(), i, in startActivityForResult_tooManyRequests_throwsError() 207 mFragment.startActivityForResult(new Intent(), reqCode, callback); in onActivityResult_hasValidRequestCode_triggersOnActivityResult() 220 mFragment.startActivityForResult(new Intent(), reqCode, in onActivityResult_wrongRequestCode_doesntTriggerOnActivityResult()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstallerMain.java | 154 startActivityForResult(intent, REQUEST_CONFIRM_CREDENTIALS); in confirmDeviceCredential() 203 startActivityForResult(installIntent, REQUEST_INSTALL); in startInstallActivity() 251 startActivityForResult(intent, REQUEST_INSTALL); in startWifiInstallActivity() 264 startActivityForResult(openIntent, REQUEST_OPEN_DOCUMENT); in startOpenDocumentActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSubTest.java | 149 doNothing().when(mFragment).startActivityForResult(any(Intent.class), anyInt()); in setUp() 295 verify(mFragment).startActivityForResult(intentCaptor.capture(), in onSwitchChanged_enableSetting_shouldLaunchWfcDisclaimerFragment() 311 verify(mFragment).startActivityForResult(intentCaptor.capture(), in onActivityResult_finishWfcDisclaimerFragment_shouldLaunchCarrierActivity() 340 verify(mFragment, never()).startActivityForResult(any(Intent.class), anyInt()); in onSwitchChanged_disableSetting_shouldNotLaunchWfcDisclaimerFragment()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Wallpaper.java | 43 startActivityForResult(intent, CROP_DONE); in onCreate() 49 startActivityForResult(intent, PHOTO_PICKED); in onCreate()
|
/packages/apps/TV/src/com/android/tv/ |
D | LauncherActivity.java | 51 baseActivity.startActivityForResult( in startActivitySafe() 74 startActivityForResult(intent, REQUEST_START_ACTIVITY); in onCreate()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | IntentUtils.java | 53 activity.startActivityForResult(startIntent, requestCode); in startExternalActivityForResult() 65 fragment.startActivityForResult(startIntent, requestCode); in startExternalActivityForResult()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AddAccountWithTypeActivity.java | 55 startActivityForResult(addAccountIntent, REQUEST_ADD_ACCOUNT); 94 startActivityForResult(i, REQUEST_CHOOSE_ACCOUNT_TYPE); in startAccountTypePicker()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ChangeDefaultSmsAppHelper.java | 119 mFragment.startActivityForResult(intent, REQUEST_SET_DEFAULT_SMS_APP); in run() 121 mActivity.startActivityForResult(intent, REQUEST_SET_DEFAULT_SMS_APP); in run()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 113 startActivityForResult(intent, REQUEST_PICK_CONTACT); in onCreate() 215 startActivityForResult(intent, REQUEST_CROP_PHOTO); in onActivityResult() 373 startActivityForResult(intent, REQUEST_PICK_DEFAULT_ACCOUNT_FOR_NEW_CONTACT); in selectAccountAndCreateContact()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | RestrictedProfileSettings.java | 93 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() method in RestrictedProfileSettings 95 super.startActivityForResult(intent, requestCode); in startActivityForResult()
|
D | EditUserPhotoController.java | 219 mFragment.startActivityForResult(intent, REQUEST_CODE_TAKE_PHOTO); in takePhoto() 226 mFragment.startActivityForResult(intent, REQUEST_CODE_CHOOSE_PHOTO); in choosePhoto() 260 mFragment.startActivityForResult(intent, REQUEST_CODE_CROP_PHOTO); in cropPhoto()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | RestrictedProfileSettings.java | 93 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() method in RestrictedProfileSettings 95 super.startActivityForResult(intent, requestCode); in startActivityForResult()
|
D | EditUserPhotoController.java | 219 mFragment.startActivityForResult(intent, REQUEST_CODE_TAKE_PHOTO); in takePhoto() 226 mFragment.startActivityForResult(intent, REQUEST_CODE_CHOOSE_PHOTO); in choosePhoto() 260 mFragment.startActivityForResult(intent, REQUEST_CODE_CROP_PHOTO); in cropPhoto()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppsPickerEntryBasePreferenceControllerTest.java | 151 doNothing().when(mContext).startActivityForResult( in performButtonClick_launchesIntent() 157 verify(mContext).startActivityForResult( in performButtonClick_launchesIntent()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AddNetworkFragment.java | 107 startActivityForResult(WifiDppUtils.getEnrolleeQrCodeScannerIntent(ssid), in onClick() 111 startActivityForResult(WifiDppUtils.getEnrolleeQrCodeScannerIntent(ssid), in onClick()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 243 fragment.startActivityForResult(intent, REQUEST_PICK_MEDIA_FROM_DOCUMENT_PICKER); in launchDocumentImagePicker() 252 fragment.startActivityForResult(intent, REQUEST_PICK_CONTACT_CARD); in launchContactCardPicker() 264 activity.startActivityForResult(intent, 0); in launchPeopleAndOptionsActivity() 315 activity.startActivityForResult(intent, requestCode); in launchAttachmentChooserActivity()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 669 mActivity.startActivityForResult(intent, REQUEST_EDIT); in launchTinyPlanet() 695 ((Activity) mActivity).startActivityForResult(Intent.createChooser(intent, null), in launchPhotoEditor() 717 ((Activity) mActivity).startActivityForResult(Intent.createChooser(intent, null), in launchSimpleEditor() 1051 activity.startActivityForResult(intent, PicasaSource.isPicasaImage(current) in onItemSelected() 1061 mActivity.startActivityForResult(intent, REQUEST_TRIM); in onItemSelected() 1229 activity.startActivityForResult(intent, REQUEST_PLAY_VIDEO); in playVideo()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EditUserPhotoController.java | 219 mFragment.startActivityForResult(intent, REQUEST_CODE_TAKE_PHOTO); in takePhoto() 226 mFragment.startActivityForResult(intent, REQUEST_CODE_CHOOSE_PHOTO); in choosePhoto() 257 mFragment.startActivityForResult(intent, REQUEST_CODE_CROP_PHOTO); in cropPhoto()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/ |
D | BiometricEnrollIntroduction.java | 192 startActivityForResult(intent, CHOOSE_LOCK_GENERIC_REQUEST); in launchChooseLock() 203 startActivityForResult(intent, BIOMETRIC_FIND_SENSOR_REQUEST); in launchNextEnrollingActivity()
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollIntroduction.java | 211 startActivityForResult(intent, CHOOSE_LOCK_GENERIC_REQUEST); in launchChooseLock() 223 startActivityForResult(intent, BIOMETRIC_FIND_SENSOR_REQUEST); in launchNextEnrollingActivity()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/ |
D | TrustedDeviceActivity.java | 319 startActivityForResult(confirmIntent, ACTIVATE_TOKEN_REQUEST_CODE); in validateCredentials() 361 startActivityForResult(intent, CREATE_LOCK_REQUEST_CODE); in createScreenLock() 374 startActivityForResult(intent, RETRIEVE_ASSOCIATED_DEVICE_REQUEST_CODE); in retrieveAssociatedDevice()
|