Home
last modified time | relevance | path

Searched refs:RESULT_CANCELED (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java85 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()
DActivityTestsBase.java109 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()
DIntentSenderTest.java56 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied()
83 is.send(Activity.RESULT_CANCELED, finish, null); in testLocalReceivePermissionDenied()
DBroadcastTest.java393 null, finish, null, Activity.RESULT_CANCELED, null, null); in testRegisteredReceivePermissionDenied()
420 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRegisteredBroadcastPermissionDenied()
442 null, finish, null, Activity.RESULT_CANCELED, in testLocalReceivePermissionDenied()
466 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testLocalBroadcastPermissionDenied()
488 null, finish, null, Activity.RESULT_CANCELED, in testRemoteReceivePermissionDenied()
512 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRemoteBroadcastPermissionDenied()
DClearTop.java45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DLaunchpadActivity.java143 private int mResultCode = RESULT_CANCELED;
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseActivity.java73 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()
DBaseSetupWizardActivity.java72 private int mResultCode = RESULT_CANCELED;
290 finishAction(RESULT_CANCELED); in finishAction()
305 if (resultCode != RESULT_CANCELED) { in finishAction()
472 if (resultCode == RESULT_CANCELED) { in launchNextAction()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java58 setResult(Activity.RESULT_CANCELED); in onCreate()
72 setResult(Activity.RESULT_CANCELED); in onCreate()
82 setResult(Activity.RESULT_CANCELED); in onCreate()
171 setResult(RESULT_CANCELED); in onClick()
DChooseTypeAndAccountActivity.java321 if (resultCode == RESULT_CANCELED) { in onActivityResult()
325 setResult(Activity.RESULT_CANCELED); in onActivityResult()
380 setResult(Activity.RESULT_CANCELED); in onActivityResult()
413 setResult(Activity.RESULT_CANCELED); in run()
454 setResult(Activity.RESULT_CANCELED); in setResultAndFinish()
DChooseAccountActivity.java69 setResult(RESULT_CANCELED); in onCreate()
/frameworks/base/media/java/android/media/
DMediaTranscodeManager.java177 public static final int RESULT_CANCELED = 4; field in MediaTranscodeManager.TranscodingJob
183 RESULT_CANCELED,
233 setJobFinished(RESULT_CANCELED); in cancel()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderDeathRecipientTest.java76 final AtomicInteger resultCode = new AtomicInteger(Activity.RESULT_CANCELED); in getNewRemoteBinder()
88 }, mHandler, Activity.RESULT_CANCELED, null, null); in getNewRemoteBinder()
/frameworks/base/media/jni/
Dandroid_media_MediaTranscodeManager.cpp42 RESULT_CANCELED = 4, enumerator
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java126 setResult(RESULT_CANCELED); in onClick()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java94 setResult(RESULT_CANCELED); in cancel()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStaging.java69 setResult(RESULT_CANCELED); in onCreate()
DInstallStart.java102 setResult(RESULT_CANCELED); in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java287 receiver.send(Activity.RESULT_CANCELED, null); in registerIntentSenderCancelListener()
330 callbacks.getBroadcastItem(i).send(Activity.RESULT_CANCELED, null); in handlePendingIntentCancelled()
DBugReportHandlerUtil.java133 Activity.RESULT_CANCELED, in launchBugReportHandlerApp()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java268 setResult(RESULT_CANCELED); in onBenchmarkFinish()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java184 setResult(RESULT_CANCELED); in onClick()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbapClient.java52 public static final int RESULT_CANCELED = 2; field in BluetoothPbapClient
DBluetoothPbap.java110 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
DBluetoothSap.java91 public static final int RESULT_CANCELED = 2; field in BluetoothSap

12