/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 275 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 276 final Intent result = mActivity.setResult.getLastValue().second; in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 303 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 304 final Intent result = mActivity.setResult.getLastValue().second; in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 333 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testSaveDocument_SetsCorrectResultAndFinishes() 334 final Intent result = mActivity.setResult.getLastValue().second; in testSaveDocument_SetsCorrectResultAndFinishes() 383 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent() 384 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent() 410 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection() 411 final Intent result = mActivity.setResult.getLastValue().second; in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection() [all …]
|
D | TestActivity.java | 30 public TestEventListener<Pair<Integer, Intent>> setResult; field in TestActivity 43 setResult = new TestEventListener<>(); in init() 48 public void setResult(int resultCode, Intent intent, int notUsed) { in setResult() method in TestActivity 49 setResult.accept(Pair.create(resultCode, intent)); in setResult()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | RequestPermissionActivity.java | 75 setResult(Activity.RESULT_CANCELED); in onCreate() 280 setResult(returnCode); in proceedAndFinish() 285 setResult(Activity.RESULT_CANCELED); in cancelAndFinish() 316 setResult(RESULT_CANCELED); in parseIntent() 334 setResult(RESULT_CANCELED); in parseIntent() 342 setResult(RESULT_CANCELED); in parseIntent() 360 setResult(RESULT_CANCELED); in onBackPressed()
|
D | RequestPermissionHelperActivity.java | 62 setResult(RESULT_CANCELED); in onCreate() 133 setResult(Activity.RESULT_OK); in onClick() 139 setResult(Activity.RESULT_OK); in onClick()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 79 setResult(Activity.RESULT_CANCELED); in onCreate() 284 setResult(returnCode); in proceedAndFinish() 289 setResult(Activity.RESULT_CANCELED); in cancelAndFinish() 320 setResult(RESULT_CANCELED); in parseIntent() 338 setResult(RESULT_CANCELED); in parseIntent() 346 setResult(RESULT_CANCELED); in parseIntent() 364 setResult(RESULT_CANCELED); in onBackPressed()
|
D | RequestPermissionHelperActivity.java | 62 setResult(RESULT_CANCELED); in onCreate() 133 setResult(Activity.RESULT_OK); in onClick() 139 setResult(Activity.RESULT_OK); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | RequestToggleWiFiActivity.java | 75 setResult(Activity.RESULT_CANCELED); in onCreate() 151 setResult(RESULT_OK); in onStart() 165 setResult(RESULT_OK); in onStart() 181 setResult(RESULT_OK); in onStart() 199 setResult(RESULT_OK); in onStart() 312 RequestToggleWiFiActivity.this.setResult(Activity.RESULT_OK); in onReceive()
|
D | WifiDialogActivity.java | 124 setResult(RESULT_FORGET); in onForget() 160 setResult(RESULT_CONNECTED, resultData); in onSubmit() 186 setResult(RESULT_CONNECTED, data); in onActivityResult()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 75 setResult(Activity.RESULT_CANCELED); in onCreate() 151 setResult(RESULT_OK); in onStart() 165 setResult(RESULT_OK); in onStart() 181 setResult(RESULT_OK); in onStart() 199 setResult(RESULT_OK); in onStart() 312 RequestToggleWiFiActivity.this.setResult(Activity.RESULT_OK); in onReceive()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 77 setResult(Activity.RESULT_CANCELED); in onCreate() 120 setResult(RESULT_OK); in onClick() 145 setResult(RESULT_OK); in onStart() 161 setResult(RESULT_OK); in onStart() 264 activity.setResult(Activity.RESULT_OK); in onReceive()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/ |
D | BiometricEnrollIntroduction.java | 175 setResult(RESULT_FINISHED); in onNextButtonClick() 227 setResult(resultCode, data); in onActivityResult() 239 setResult(resultCode, data); in onActivityResult() 247 setResult(resultCode, data); in onActivityResult() 261 setResult(RESULT_SKIP); in onSkipButtonClick()
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollIntroduction.java | 189 setResult(RESULT_FINISHED); in onNextButtonClick() 242 setResult(resultCode, data); in onActivityResult() 254 setResult(resultCode, data); in onActivityResult() 262 setResult(resultCode, data); in onActivityResult() 276 setResult(RESULT_SKIP); in onSkipButtonClick()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmLockPassword.java | 298 mCredentialCheckResultTracker.setResult(true, new Intent(), 0, mEffectiveUserId); in authenticationSucceeded() 347 mCredentialCheckResultTracker.setResult(false, intent, 0, mEffectiveUserId); in handleNext() 373 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startVerifyPassword() 402 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startCheckPassword() 421 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 428 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 501 getActivity().setResult(RESULT_CANCELED); in onClick()
|
D | ConfirmLockPattern.java | 156 getActivity().setResult(Activity.RESULT_OK); in onCreateView() 346 mCredentialCheckResultTracker.setResult(true, new Intent(), 0, mEffectiveUserId); in authenticationSucceeded() 364 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 371 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 415 mCredentialCheckResultTracker.setResult(false, intent, 0, mEffectiveUserId); 442 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, 478 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ConfirmLockPassword.java | 298 mCredentialCheckResultTracker.setResult(true, new Intent(), 0, mEffectiveUserId); in authenticationSucceeded() 347 mCredentialCheckResultTracker.setResult(false, intent, 0, mEffectiveUserId); in handleNext() 373 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startVerifyPassword() 402 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, in startCheckPassword() 421 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 428 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 501 getActivity().setResult(RESULT_CANCELED); in onClick()
|
D | ConfirmLockPattern.java | 156 getActivity().setResult(Activity.RESULT_OK); in onCreateView() 346 mCredentialCheckResultTracker.setResult(true, new Intent(), 0, mEffectiveUserId); in authenticationSucceeded() 364 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 371 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 415 mCredentialCheckResultTracker.setResult(false, intent, 0, mEffectiveUserId); 442 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, 478 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs,
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyCallbackModeExitDialog.java | 240 setResult(RESULT_CANCELED); in onCreateDialog() 257 setResult(RESULT_CANCELED); in onCreateDialog() 301 EmergencyCallbackModeExitDialog.this.setResult(RESULT_CANCELED); in onCancel() 319 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK); 351 EmergencyCallbackModeExitDialog.this.setResult(RESULT_CANCELED);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 166 setResult(resultCode); in onActivityResult() 175 setResult(resultCode); in onActivityResult() 189 setResult(resultCode); in onActivityResult() 235 setResult(Activity.RESULT_CANCELED); in onNegativeButtonClick() 266 setResult(Activity.RESULT_CANCELED); in onPositiveButtonClick() 275 setResult(Activity.RESULT_CANCELED); in onProvisioningAborted()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSizesControllerTest.java | 66 mController.setResult(null); in requestingUpdateAfterFailureHasErrorText() 83 mController.setResult(result); in properlyPopulatedAfterValidEntry() 100 mController.setResult(result); in fakeCacheFlagSetsCacheToZero() 118 mController.setResult(result); in fakeDataFlagSetsDataAndCacheToZero()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/ |
D | FingerprintEnrollFindSensor.java | 133 setResult(RESULT_SKIP); in onSkipButtonClick() 167 setResult(RESULT_FINISHED); in onActivityResult() 170 setResult(RESULT_SKIP); in onActivityResult() 173 setResult(RESULT_TIMEOUT); in onActivityResult()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollFindSensor.java | 133 setResult(RESULT_SKIP); in onSkipButtonClick() 167 setResult(RESULT_FINISHED); in onActivityResult() 170 setResult(RESULT_SKIP); in onActivityResult() 173 setResult(RESULT_TIMEOUT); in onActivityResult()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | RemoteInputEntrypointActivity.java | 35 setResult(RESULT_CANCELED); in onCreate() 50 setResult(RESULT_OK); in onCreate() 53 setResult(RESULT_CANCELED); in onCreate()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleShortcuts.java | 49 setResult(RESULT_OK); in onCreate() 58 setResult(RESULT_OK); in onCreate() 65 setResult(RESULT_CANCELED); in onCreate()
|
/packages/apps/TV/src/com/android/tv/ |
D | LauncherActivity.java | 77 setResult(Activity.RESULT_OK); in onCreate() 83 setResult(Activity.RESULT_CANCELED, intent); in onCreate() 90 setResult(resultCode, data); in onActivityResult()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | OAuthAuthenticationActivity.java | 81 setResult(RESULT_OAUTH_USER_CANCELED, intent); in shouldOverrideUrlLoading() 130 setResult(RESULT_OAUTH_USER_CANCELED, null); in onCreate() 187 setResult(RESULT_OAUTH_FAILURE, null); in onLoadFinished() 195 setResult(RESULT_OAUTH_SUCCESS, intent); in onLoadFinished()
|