/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
D | ExerciseRouteRequestTest.kt | 91 ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) { in requestRoute_showsDialog_clickAllowThis_returnsRoute_permissionRemainsRevoked() 114 ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) { in requestRoute_showsDialog_clickAllowAll_returnsRoute_grantsPermission() 137 ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) { in requestRoute_showsDialog_clickDeny_returnsNull_permissionRemainsRevoked() 157 val result = ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) in requestRoute_ownSession_writeRouteGranted_readRoutesDenied_returnsRoute() 178 ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) { in requestRoute_ownSession_writeRouteDenied_readRoutesDenied_notUserFixed_showsDialog() 205 ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) in requestRoute_ownSession_writeRouteDenied_readRoutesDenied_userFixed_returnsNull() 227 ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) in requestRoute_ownSession_writeRouteDenied_readRoutesGranted_returnsRoute() 247 val result = ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) in requestRoute_readRoutesGranted_doesNotShowDialog_returnsRoute() 265 val result = ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) in requestRoute_sessionWithoutRoute_returnsNull() 279 val result = ROUTE_READER_WRITER_APP.startActivityForResult(requestIntent) in requestRoute_nonExistingSession_returnsNull() [all …]
|
/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/services/Car/tests/CarFrameworkPackageStubsTest/src/com/android/car/frameworkpackagestubs/test/ |
D | StubsTest.java | 135 int result = startActivityForResult(intent); in checkIfHandleByStub() 142 private int startActivityForResult(Intent intent) { in startActivityForResult() method in StubsTest 146 getResultActivity.startActivityForResult(intent, 0); in startActivityForResult()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstallerMain.java | 151 startActivityForResult(intent, REQUEST_CONFIRM_CREDENTIALS); in confirmDeviceCredential() 197 startActivityForResult(installIntent, REQUEST_INSTALL); in startInstallActivity() 243 startActivityForResult(intent, REQUEST_INSTALL); in startWifiInstallActivity() 256 startActivityForResult(openIntent, REQUEST_OPEN_DOCUMENT); in startOpenDocumentActivity()
|
/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/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | IntentSearchViewHolder.java | 66 fragment.startActivityForResult(intent, REQUEST_CODE_NO_OP); in onBind() 74 fragment.startActivityForResult(intent, REQUEST_CODE_NO_OP); in onBind()
|
/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/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | SettingsFragmentTestCase.java | 203 assertThrows(() -> mFragment.startActivityForResult(new Intent(), 0xffff, in startActivityForResult_largeRequestCode_throwsError() 213 mFragment.startActivityForResult(new Intent(), i, in startActivityForResult_tooManyRequests_throwsError() 255 mFragment.startActivityForResult(intent, reqCode, callback); in onActivityResult_hasValidRequestCode_triggersOnActivityResult() 270 mFragment.startActivityForResult(intent, reqCode, callback); in onActivityResult_wrongRequestCode_doesntTriggerOnActivityResult()
|
/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/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetNetworkFragmentTest.java | 71 doNothing().when(mFragment).startActivityForResult(any(), anyInt()); in setUp() 79 verify(mFragment).startActivityForResult(captor.capture(), eq(REQUEST_CODE)); in onResetButtonPressed_launchesCheckLockActivity()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | TestAppProxy.java | 172 public Instrumentation.ActivityResult startActivityForResult(Intent intent) throws Exception { in startActivityForResult() method in TestAppProxy 173 return startActivityForResult(intent, null); in startActivityForResult() 191 public Instrumentation.ActivityResult startActivityForResult(Intent intent, Runnable runnable) in startActivityForResult() method in TestAppProxy
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSubTest.java | 162 doNothing().when(mFragment).startActivityForResult(any(Intent.class), anyInt()); in setUp() 330 verify(mFragment).startActivityForResult(intentCaptor.capture(), in onSwitchChanged_enableSetting_shouldLaunchWfcDisclaimerFragment() 346 verify(mFragment).startActivityForResult(intentCaptor.capture(), in onActivityResult_finishWfcDisclaimerFragment_shouldLaunchCarrierActivity() 375 verify(mFragment, never()).startActivityForResult(any(Intent.class), anyInt()); in onSwitchChanged_disableSetting_shouldNotLaunchWfcDisclaimerFragment()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AddAccountWithTypeActivity.java | 75 startActivityForResult(new Intent(addAccountIntent), REQUEST_ADD_ACCOUNT); 135 startActivityForResult(i, REQUEST_CHOOSE_ACCOUNT_TYPE); in startAccountTypePicker()
|
/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/biometrics/activeunlock/ |
D | ActiveUnlockRequireBiometricSetup.java | 127 startActivityForResult(intent, BIOMETRIC_ENROLL_REQUEST); in onNextButtonClick() 140 startActivityForResult(activeUnlockIntent, ACTIVE_UNLOCK_REQUEST); in onActivityResult()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 113 startActivityForResult(intent, REQUEST_PICK_CONTACT); in onCreate() 217 startActivityForResult(intent, REQUEST_CROP_PHOTO); in onActivityResult() 376 startActivityForResult(intent, REQUEST_PICK_DEFAULT_ACCOUNT_FOR_NEW_CONTACT); in selectAccountAndCreateContact()
|
/packages/apps/Provision/src/com/android/provision/ |
D | DefaultActivity.java | 143 startActivityForResult(intent, REQUEST_CODE_STEP1); in provisionDeviceOwner() 182 startActivityForResult(intent, requestCodeStep2); in onProvisioningStep1Result()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | DeviceAdminAddFragmentTest.java | 403 doNothing().when(mSpiedFragment).startActivityForResult(any(Intent.class), anyInt()); in testUninstallOnClickListener_activeAdmin() 409 verify(mSpiedFragment).startActivityForResult(intentArgumentCaptor.capture(), in testUninstallOnClickListener_activeAdmin() 425 doNothing().when(mSpiedFragment).startActivityForResult(any(Intent.class), anyInt()); in testUninstallOnClickListener_inactiveAdmin() 431 verify(mSpiedFragment).startActivityForResult(intentArgumentCaptor.capture(), in testUninstallOnClickListener_inactiveAdmin()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/help/ |
D | SupportFeatureProviderImpl.java | 34 activity.startActivityForResult(intent, 0); in startSupport()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/help/ |
D | SupportFeatureProviderImpl.java | 34 activity.startActivityForResult(intent, 0); in startSupport()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | ProxyLauncher.java | 32 startActivityForResult(intent, 0); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/compat/telecom/ |
D | TelecomManagerCompat.java | 46 activity.startActivityForResult(intent, 0); in placeCall()
|