/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 | 55 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied() 82 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/support/fragment/tests/java/android/support/v4/app/ |
D | FragmentReceiveResultTest.java | 75 startActivityForResult(20, Activity.RESULT_CANCELED, "content 20"); in testStartActivityForResultCanceled() 79 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartActivityForResultCanceled() 97 startIntentSenderForResult(40, Activity.RESULT_CANCELED, "content 40"); in testStartIntentSenderForResultCanceled() 101 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartIntentSenderForResultCanceled()
|
/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 | 320 if (resultCode == RESULT_CANCELED) { in onActivityResult() 324 setResult(Activity.RESULT_CANCELED); in onActivityResult() 379 setResult(Activity.RESULT_CANCELED); in onActivityResult() 412 setResult(Activity.RESULT_CANCELED); in run() 453 setResult(Activity.RESULT_CANCELED); in setResultAndFinish()
|
D | ChooseAccountActivity.java | 64 setResult(RESULT_CANCELED); in onCreate()
|
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
D | SetAlarm.java | 106 finish(Activity.RESULT_CANCELED, ret); in errorFinish()
|
/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 | 91 setResult(RESULT_CANCELED); in cancel()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentReceiveResultSupport.java | 143 if (resultCode == RESULT_CANCELED) { in onActivityResult()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 87 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
|
D | BluetoothPbapClient.java | 54 public static final int RESULT_CANCELED = 2; field in BluetoothPbapClient
|
D | BluetoothSap.java | 91 public static final int RESULT_CANCELED = 2; field in BluetoothSap
|
D | BluetoothMap.java | 53 public static final int RESULT_CANCELED = 2; field in BluetoothMap
|
D | BluetoothMapClient.java | 73 public static final int RESULT_CANCELED = 2; field in BluetoothMapClient
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 171 setResult(RESULT_CANCELED); in onClick()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasBenchmark.java | 268 setResult(RESULT_CANCELED); in onBenchmarkFinish()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStack.java | 2408 requestFinishActivityLocked(mLastNoHistoryActivity.appToken, Activity.RESULT_CANCELED, in resumeTopActivityInnerLocked() 2646 requestFinishActivityLocked(next.appToken, Activity.RESULT_CANCELED, null, in resumeTopActivityInnerLocked() 3085 p, Activity.RESULT_CANCELED, null, "reset-task", false)) { in resetTargetTaskIfNeededLocked() 3164 p, Activity.RESULT_CANCELED, null, "move-affinity", false); in resetAffinityTaskIfNeededLocked() 3199 finishActivityLocked(p, Activity.RESULT_CANCELED, null, "replace", in resetAffinityTaskIfNeededLocked() 3395 if (requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in stopActivityLocked() 3473 finishActivityLocked(r, Activity.RESULT_CANCELED, null, "request-sub", in finishSubActivityLocked() 3494 finishActivityLocked(r, Activity.RESULT_CANCELED, null, reason, false); in finishTopRunningActivityLocked() 3517 finishActivityLocked(r, Activity.RESULT_CANCELED, null, reason, false); in finishTopRunningActivityLocked() 3533 finishActivityLocked(r, Activity.RESULT_CANCELED, null, "finish-voice", in finishVoiceTask() [all …]
|
D | ActivityStarter.java | 19 import static android.app.Activity.RESULT_CANCELED; 425 -1, resultRecord, resultWho, requestCode, RESULT_CANCELED, null); in startActivity() 463 RESULT_CANCELED, null); in startActivity() 1136 mStartActivity.resultWho, mStartActivity.requestCode, RESULT_CANCELED, in startActivityUnchecked() 1374 mStartActivity.resultWho, mStartActivity.requestCode, RESULT_CANCELED, in sendNewTaskResultRequestIfNeeded()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 153 mTextView.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_CANCELED, in testProcessTextActivityResultCancel()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | ImageProcessingActivityJB.java | 666 setResult(RESULT_CANCELED); in onBenchmarkFinish()
|