Searched refs:RESULT_CANCELED (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityScreen.java85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!"));
121 if (resultCode != RESULT_CANCELED) {
122 setResult(RESULT_CANCELED, (new Intent()).setAction(
129 setResult(RESULT_CANCELED, (new Intent()).setAction(
132 setResult(RESULT_CANCELED, (new Intent()).setAction(
135 setResult(RESULT_CANCELED, (new Intent()).setAction(
138 setResult(RESULT_CANCELED, (new Intent()).setAction(
144 setResult(RESULT_CANCELED, (new Intent()).setAction(
H A DClearTop.java45 setResult(RESULT_CANCELED, new Intent().setAction(
H A DActivityTestsBase.java109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error));
150 if (res == Activity.RESULT_CANCELED) {
188 mResultCode = Activity.RESULT_CANCELED;
209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg));
H A DIntentSenderTest.java55 is.send(Activity.RESULT_CANCELED, finish, null);
82 is.send(Activity.RESULT_CANCELED, finish, null);
H A DBroadcastTest.java390 null, finish, null, Activity.RESULT_CANCELED, null, null);
417 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED,
439 null, finish, null, Activity.RESULT_CANCELED,
463 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED,
485 null, finish, null, Activity.RESULT_CANCELED,
509 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED,
H A DLaunchpadActivity.java143 private int mResultCode = RESULT_CANCELED;
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(
357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error));
/frameworks/base/core/java/android/accounts/
H A DGrantCredentialsPermissionActivity.java71 setResult(Activity.RESULT_CANCELED);
143 setResult(RESULT_CANCELED);
H A DChooseAccountActivity.java45 setResult(RESULT_CANCELED);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPbap.java86 public static final int RESULT_CANCELED = 2; field in class:BluetoothPbap
H A DBluetoothHeadset.java112 public static final int RESULT_CANCELED = 2; field in class:BluetoothHeadset
/frameworks/base/core/java/com/android/internal/app/
H A DRingtonePickerActivity.java248 setResult(RESULT_CANCELED);
/frameworks/base/services/java/com/android/server/am/
H A DActivityStack.java546 requestFinishActivityLocked(r, Activity.RESULT_CANCELED, null,
1320 requestFinishActivityLocked(next, Activity.RESULT_CANCELED, null,
1642 Activity.RESULT_CANCELED, null, "reset")) {
1702 Activity.RESULT_CANCELED, null, "reset")) {
1752 Activity.RESULT_CANCELED, null, "replace")) {
1814 if (finishActivityLocked(r, i, Activity.RESULT_CANCELED,
1829 finishActivityLocked(ret, index, Activity.RESULT_CANCELED,
1955 Activity.RESULT_CANCELED, null);
1966 Activity.RESULT_CANCELED, null);
1993 Activity.RESULT_CANCELED, nul
[all...]
H A DActivityRecord.java540 r.app, Activity.RESULT_CANCELED, info);
H A DActivityManagerService.java2398 mMainStack.finishActivityLocked(r, index, Activity.RESULT_CANCELED,
2481 Activity.RESULT_CANCELED, null, "request-sub");
2605 finishInstrumentationLocked(app, Activity.RESULT_CANCELED, info);
3163 Activity.RESULT_CANCELED, null, "close-sys");
3298 r.stack.finishActivityLocked(r, i, Activity.RESULT_CANCELED, null, "uninstall");
5036 if (r.stack.finishActivityLocked(r, i, Activity.RESULT_CANCELED,
5649 count-1, Activity.RESULT_CANCELED, null, "unhandled-back");
6381 r.stack.finishActivityLocked(r, i, Activity.RESULT_CANCELED, null, "crashed");
6407 Activity.RESULT_CANCELED, null, "crashed");
6421 Activity.RESULT_CANCELED, nul
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java399 * which can be the standard results RESULT_CANCELED, RESULT_OK, or any
407 * activity will receive a result with the code RESULT_CANCELED.</p>
601 public static final int RESULT_CANCELED = 0; field in class:Activity
669 int mResultCode = RESULT_CANCELED;
3114 * activity, often RESULT_CANCELED or RESULT_OK
3116 * @see #RESULT_CANCELED
3133 * activity, often RESULT_CANCELED or RESULT_OK
3136 * @see #RESULT_CANCELED
3319 * {@link #RESULT_CANCELED} if the activity explicitly returned that,
H A DActivityThread.java1710 .finishActivity(r.token, Activity.RESULT_CANCELED, null);
2225 .finishActivity(token, Activity.RESULT_CANCELED, null);

Completed in 975 milliseconds