/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 | 56 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied() 83 is.send(Activity.RESULT_CANCELED, finish, null); in testLocalReceivePermissionDenied()
|
D | BroadcastTest.java | 393 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()
|
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() 449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
|
/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 | 72 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/ |
D | GrantCredentialsPermissionActivity.java | 58 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()
|
D | ChooseTypeAndAccountActivity.java | 321 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()
|
D | ChooseAccountActivity.java | 69 setResult(RESULT_CANCELED); in onCreate()
|
/frameworks/base/media/java/android/media/ |
D | MediaTranscodeManager.java | 177 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/ |
D | BinderDeathRecipientTest.java | 76 final AtomicInteger resultCode = new AtomicInteger(Activity.RESULT_CANCELED); in getNewRemoteBinder() 88 }, mHandler, Activity.RESULT_CANCELED, null, null); in getNewRemoteBinder()
|
/frameworks/base/media/jni/ |
D | android_media_MediaTranscodeManager.cpp | 42 RESULT_CANCELED = 4, enumerator
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 126 setResult(RESULT_CANCELED); in onClick()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceChooserActivity.java | 94 setResult(RESULT_CANCELED); in cancel()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStaging.java | 69 setResult(RESULT_CANCELED); in onCreate()
|
D | InstallStart.java | 102 setResult(RESULT_CANCELED); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentController.java | 287 receiver.send(Activity.RESULT_CANCELED, null); in registerIntentSenderCancelListener() 330 callbacks.getBroadcastItem(i).send(Activity.RESULT_CANCELED, null); in handlePendingIntentCancelled()
|
D | BugReportHandlerUtil.java | 133 Activity.RESULT_CANCELED, in launchBugReportHandlerApp()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasBenchmark.java | 268 setResult(RESULT_CANCELED); in onBenchmarkFinish()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 184 setResult(RESULT_CANCELED); in onClick()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbapClient.java | 52 public static final int RESULT_CANCELED = 2; field in BluetoothPbapClient
|
D | BluetoothPbap.java | 110 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
|
D | BluetoothSap.java | 91 public static final int RESULT_CANCELED = 2; field in BluetoothSap
|