/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume() 121 if (resultCode != RESULT_CANCELED) { in onActivityResult() 122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
|
D | ActivityTestsBase.java | 109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad() 150 if (res == Activity.RESULT_CANCELED) { in waitForResultOrThrow() 188 mResultCode = Activity.RESULT_CANCELED; in waitForResult() 209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg)); in onTimeout()
|
D | IntentSenderTest.java | 59 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied() 89 is.send(Activity.RESULT_CANCELED, finish, null); in ignore_testLocalReceivePermissionDenied()
|
D | BroadcastTest.java | 400 null, finish, null, Activity.RESULT_CANCELED, null, null); in testRegisteredReceivePermissionDenied() 427 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRegisteredBroadcastPermissionDenied() 449 null, finish, null, Activity.RESULT_CANCELED, in ignore_testLocalReceivePermissionDenied() 473 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testLocalBroadcastPermissionDenied() 495 null, finish, null, Activity.RESULT_CANCELED, in ignore_testRemoteReceivePermissionDenied() 519 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRemoteBroadcastPermissionDenied()
|
D | ClearTop.java | 45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
|
D | LaunchpadActivity.java | 143 private int mResultCode = RESULT_CANCELED; 351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 450 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
|
/frameworks/base/core/java/android/accounts/ |
D | GrantCredentialsPermissionActivity.java | 65 setResult(Activity.RESULT_CANCELED); in onCreate() 79 setResult(Activity.RESULT_CANCELED); in onCreate() 87 setResult(Activity.RESULT_CANCELED); in onCreate() 97 setResult(Activity.RESULT_CANCELED); in onCreate() 186 setResult(RESULT_CANCELED); in onClick()
|
D | ChooseTypeAndAccountActivity.java | 317 if (resultCode == RESULT_CANCELED) { in onActivityResult() 321 setResult(Activity.RESULT_CANCELED); in onActivityResult() 376 setResult(Activity.RESULT_CANCELED); in onActivityResult() 409 setResult(Activity.RESULT_CANCELED); in run() 450 setResult(Activity.RESULT_CANCELED); in setResultAndFinish()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | BaseActivity.java | 73 private int mResultCode = RESULT_CANCELED; 262 if (resultCode == RESULT_CANCELED) { in nextAction() 284 finishAction(RESULT_CANCELED); in finishAction() 299 if (resultCode != RESULT_CANCELED) { in finishAction()
|
D | BaseSetupWizardActivity.java | 76 private int mResultCode = RESULT_CANCELED; 327 finishAction(RESULT_CANCELED); in finishAction() 342 if (resultCode != RESULT_CANCELED) { in finishAction() 521 if (resultCode == RESULT_CANCELED) { in launchNextAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceActivity.kt | 40 setResult(RESULT_CANCELED) in onCreate() 71 setResult(RESULT_CANCELED) in finishActivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/ |
D | MediaProjectionPermissionActivity.java | 133 setResult(RESULT_CANCELED); in onCreate() 146 setResult(RESULT_CANCELED); in onCreate() 177 setResult(RESULT_CANCELED); in onCreate() 184 setResult(RESULT_CANCELED); in onCreate() 310 setResult(RESULT_CANCELED); in onClick() 379 setResult(RESULT_CANCELED); in grantMediaProjectionPermission()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AvatarPhotoControllerTest.java | 137 REQUEST_CODE_TAKE_PHOTO, Activity.RESULT_CANCELED, intent); in takePhotoIsNotFollowedByCropWhenResultCodeNotOk() 178 REQUEST_CODE_CHOOSE_PHOTO, Activity.RESULT_CANCELED, intent); in choosePhotoIsNotFollowedByCropWhenResultCodeNotOk() 209 mController.onActivityResult(REQUEST_CODE_CROP_PHOTO, Activity.RESULT_CANCELED, intent); in cropPhotoResultIsNotReturnedIfResultCancel()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/shortcut/ |
D | CreateBubbleShortcutActivity.kt | 49 setResult(RESULT_CANCELED) in createShortcut()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderDeathRecipientTest.java | 83 final AtomicInteger resultCode = new AtomicInteger(Activity.RESULT_CANCELED); in getNewRemoteBinder() 95 }, mHandler, Activity.RESULT_CANCELED, null, null); in getNewRemoteBinder()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/ |
D | InstallLaunch.kt | 138 else -> setResult(Activity.RESULT_CANCELED, null, true) in <lambda>() 217 setResult(Activity.RESULT_CANCELED, null, shouldFinish) in <lambda>() 280 setResult(Activity.RESULT_CANCELED, null, true) in <lambda>()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | UninstallStages.kt | 60 val activityResultCode: Int = Activity.RESULT_CANCELED,
|
D | InstallStages.kt | 124 val activityResultCode: Int = Activity.RESULT_CANCELED,
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | PendingIntentResultHandler.java | 45 return pendingIntentResponse.getResultCode() == Activity.RESULT_CANCELED; in isCancelledResponse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/ |
D | WidgetConfigurationController.kt | 73 setConfigurationResult(Activity.RESULT_CANCELED) in configureWidget()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/ |
D | WidgetConfigurationControllerTest.kt | 88 underTest.setConfigurationResult(Activity.RESULT_CANCELED) in configurationFails()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionDeviceDataTransferActivity.java | 124 ? RESULT_OK : RESULT_CANCELED); in setResultAndFinish()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewProcessTextTest.java | 88 triggerOnActivityResult(Activity.RESULT_CANCELED, newText); in testProcessTextActivityResultCancel()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 100 private int mActivityResultCode = Activity.RESULT_CANCELED; 512 setActivityResult(RESULT_CANCELED); in bindUi() 517 setActivityResult(RESULT_CANCELED); in bindUi() 693 setActivityResult(RESULT_CANCELED); in onBackPressed()
|
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/client/impl/ |
D | CredentialManagerClientImpl.kt | 95 if (resultCode == Activity.RESULT_CANCELED) { in <lambda>()
|