Home
last modified time | relevance | path

Searched refs:RESULT_CANCELED (Results 1 – 25 of 31) 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.java55 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied()
82 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/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java62 setResult(Activity.RESULT_CANCELED); in onCreate()
76 setResult(Activity.RESULT_CANCELED); in onCreate()
86 setResult(Activity.RESULT_CANCELED); in onCreate()
171 setResult(RESULT_CANCELED); in onClick()
DChooseTypeAndAccountActivity.java310 if (resultCode == RESULT_CANCELED) { in onActivityResult()
314 setResult(Activity.RESULT_CANCELED); in onActivityResult()
367 setResult(Activity.RESULT_CANCELED); in onActivityResult()
400 setResult(Activity.RESULT_CANCELED); in run()
DChooseAccountActivity.java62 setResult(RESULT_CANCELED); in onCreate()
/frameworks/base/services/java/com/android/server/am/
DTaskRecord.java235 if (stack.finishActivityLocked(r, Activity.RESULT_CANCELED, null, "clear", false)) { in performClearTaskAtIndexLocked()
280 if (stack.finishActivityLocked(r, Activity.RESULT_CANCELED, null, "clear", in performClearTaskLocked()
293 stack.finishActivityLocked(ret, Activity.RESULT_CANCELED, null, in performClearTaskLocked()
DActivityStack.java1408 requestFinishActivityLocked(mLastNoHistoryActivity.appToken, Activity.RESULT_CANCELED, in resumeTopActivityLocked()
1627 requestFinishActivityLocked(next.appToken, Activity.RESULT_CANCELED, null, in resumeTopActivityLocked()
2006 if (finishActivityLocked(p, Activity.RESULT_CANCELED, null, "reset", false)) { in resetTargetTaskIfNeededLocked()
2079 finishActivityLocked(p, Activity.RESULT_CANCELED, null, "reset", false); in resetAffinityTaskIfNeededLocked()
2117 finishActivityLocked(p, Activity.RESULT_CANCELED, null, "replace", in resetAffinityTaskIfNeededLocked()
2231 requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in stopActivityLocked()
2302 finishActivityLocked(r, Activity.RESULT_CANCELED, null, "request-sub", in finishSubActivityLocked()
2320 finishActivityLocked(r, Activity.RESULT_CANCELED, null, "crashed", false); in finishTopRunningActivityLocked()
2342 finishActivityLocked(r, Activity.RESULT_CANCELED, null, "crashed", false); in finishTopRunningActivityLocked()
2356 finishActivityLocked(cur, Activity.RESULT_CANCELED, null, "request-affinity", true); in finishActivityAffinityLocked()
[all …]
DActivityStackSupervisor.java1002 stack.requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in realStartActivityLocked()
1168 Activity.RESULT_CANCELED, null); in startActivityLocked()
1183 Activity.RESULT_CANCELED, null); in startActivityLocked()
1220 Activity.RESULT_CANCELED, null); in startActivityLocked()
1437 Activity.RESULT_CANCELED, null); in startActivityUncheckedLocked()
1671 r.requestCode, Activity.RESULT_CANCELED, null); in startActivityUncheckedLocked()
/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
DSetAlarm.java106 finish(Activity.RESULT_CANCELED, ret); in errorFinish()
/frameworks/base/core/java/com/android/internal/app/
DRestrictionsPinActivity.java177 setResult(RESULT_CANCELED); in onClick()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java88 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
DBluetoothMap.java55 public static final int RESULT_CANCELED = 2; field in BluetoothMap
/frameworks/base/docs/html/about/versions/
Dandroid-2.0.1.jd311 enabled and {@link android.app.Activity#RESULT_CANCELED} if the user rejected
316 now returns {@link android.app.Activity#RESULT_CANCELED} if the user rejected
324 android.app.Activity#RESULT_CANCELED} in cases where the contact was not
/frameworks/base/docs/html/training/secure-file-sharing/
Dshare-file.jd124 setResult(Activity.RESULT_CANCELED, null);
281 MainActivity.this.setResult(RESULT_CANCELED,
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd208 android.app.Activity#RESULT_OK} or {@link android.app.Activity#RESULT_CANCELED}. You can then
212 android.app.Activity#RESULT_CANCELED} by default. So, if the user presses the <em>Back</em>
Dresult.jd84 android.app.Activity#RESULT_CANCELED} if the user backed out or the operation failed for some
/frameworks/base/core/java/android/app/
DActivity.java653 public static final int RESULT_CANCELED = 0; field in Activity
749 int mResultCode = RESULT_CANCELED;
2792 if (mResultCode != RESULT_CANCELED || mResultData != null) { in onNavigateUp()
4246 if (mResultCode != RESULT_CANCELED || mResultData != null) { in finishAffinity()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java126 setResult(Activity.RESULT_CANCELED); in onCreate()
935 if (requestCode == CODE_FORWARD && resultCode != RESULT_CANCELED) { in onActivityResult()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java614 setResult(RESULT_CANCELED); in onCreate()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd261 android.app.Activity#RESULT_CANCELED}.</p>
442 be {@link android.app.Activity#RESULT_CANCELED}.</p>
/frameworks/base/docs/html/google/play/billing/
Dbilling_integrate.jd232 …e a result code of {@code Activity.RESULT_OK} (1) or {@code Activity.RESULT_CANCELED} (0). To see …

12