/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/base/core/java/android/accounts/ |
D | GrantCredentialsPermissionActivity.java | 62 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()
|
D | ChooseTypeAndAccountActivity.java | 310 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()
|
D | ChooseAccountActivity.java | 62 setResult(RESULT_CANCELED); in onCreate()
|
/frameworks/base/services/java/com/android/server/am/ |
D | TaskRecord.java | 235 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()
|
D | ActivityStack.java | 1408 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 …]
|
D | ActivityStackSupervisor.java | 1002 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/ |
D | SetAlarm.java | 106 finish(Activity.RESULT_CANCELED, ret); in errorFinish()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | RestrictionsPinActivity.java | 177 setResult(RESULT_CANCELED); in onClick()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 88 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
|
D | BluetoothMap.java | 55 public static final int RESULT_CANCELED = 2; field in BluetoothMap
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.0.1.jd | 311 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/ |
D | share-file.jd | 124 setResult(Activity.RESULT_CANCELED, null); 281 MainActivity.this.setResult(RESULT_CANCELED,
|
/frameworks/base/docs/html/training/basics/intents/ |
D | filters.jd | 208 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>
|
D | result.jd | 84 android.app.Activity#RESULT_CANCELED} if the user backed out or the operation failed for some
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 653 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/ |
D | DocumentsActivity.java | 126 setResult(Activity.RESULT_CANCELED); in onCreate() 935 if (requestCode == CODE_FORWARD && resultCode != RESULT_CANCELED) { in onActivityResult()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceActivity.java | 614 setResult(RESULT_CANCELED); in onCreate()
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | bluetooth.jd | 261 android.app.Activity#RESULT_CANCELED}.</p> 442 be {@link android.app.Activity#RESULT_CANCELED}.</p>
|
/frameworks/base/docs/html/google/play/billing/ |
D | billing_integrate.jd | 232 …e a result code of {@code Activity.RESULT_OK} (1) or {@code Activity.RESULT_CANCELED} (0). To see …
|