/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/ |
PreProvisioningActivity.java | 84 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 86 if (resultCode == RESULT_CANCELED) { 92 setResult(resultCode); 101 if (resultCode == RESULT_CANCELED) { 105 } else if (resultCode == RESULT_OK) { 114 ProvisionLogger.logw("Unknown result code :" + resultCode);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
DeviceOwnerNegativeTestActivity.java | 100 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 101 super.onActivityResult(requestCode, resultCode, data);
|
/cts/tests/app/app/src/android/app/stubs/ |
LaunchpadActivity.java | 78 public void activityFinished(int resultCode, Intent data, RuntimeException where); 414 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 418 finishWithResult(resultCode, data); 423 finishWithResult(resultCode, data); 520 private void finishWithResult(int resultCode, Intent data) { 521 setTestResult(resultCode, data); 528 private void setTestResult(int resultCode, Intent data) { 531 mResultCode = resultCode;
|
/cts/tests/tests/os/src/android/os/cts/ |
LaunchpadActivity.java | 78 public void activityFinished(int resultCode, Intent data, RuntimeException where); 414 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 418 finishWithResult(resultCode, data); 423 finishWithResult(resultCode, data); 520 private void finishWithResult(int resultCode, Intent data) { 521 setTestResult(resultCode, data); 528 private void setTestResult(int resultCode, Intent data) { 531 mResultCode = resultCode;
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
LaunchingPreferences.java | 82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 83 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
BusinessCardActivity.java | 83 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 84 if (requestCode == PICK_CONTACT_REQUEST && resultCode == RESULT_OK) {
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 115 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { 116 super.onActivityResult(requestCode, resultCode, intent);
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
Notepadv3.java | 119 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { 120 super.onActivityResult(requestCode, resultCode, intent);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/ |
FutureActivity.java | 138 public void onActivityResult(int requestCode, int resultCode, Intent data) { 140 mTask.onActivityResult(requestCode, resultCode, data);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LaunchpadActivity.java | 69 public void activityFinished(int resultCode, Intent data, 339 protected void onActivityResult(int requestCode, int resultCode, 344 finishWithResult(resultCode, data); 349 finishWithResult(resultCode, data); 452 private void finishWithResult(int resultCode, Intent data) { 453 setTestResult(resultCode, data); 457 private void setTestResult(int resultCode, Intent data) { 460 mResultCode = resultCode;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupCredentialsFragment.java | 251 public void onActivityResult(final int requestCode, final int resultCode, final Intent data) { 253 if (resultCode == Activity.RESULT_OK) { 260 resultCode); 263 if (resultCode == OAuthAuthenticationActivity.RESULT_OAUTH_SUCCESS) { 278 } else if (resultCode == OAuthAuthenticationActivity.RESULT_OAUTH_FAILURE 279 || resultCode == OAuthAuthenticationActivity.RESULT_OAUTH_USER_CANCELED) { 280 LogUtils.i(LogUtils.TAG, "Result from oauth %d", resultCode); 282 LogUtils.wtf(LogUtils.TAG, "Unknown result code from OAUTH: %d", resultCode);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
BlockedParticipantsFragment.java | 66 public void onActivityResult(final int requestCode, final int resultCode, final Intent data) { 67 super.onActivityResult(requestCode, resultCode, data);
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
DocumentImagePicker.java | 79 public void onActivityResult(final int requestCode, final int resultCode, final Intent data) { 81 resultCode == Activity.RESULT_OK) {
|
/packages/apps/TV/src/com/android/tv/ |
LauncherActivity.java | 109 public void onActivityResult(int requestCode, int resultCode, Intent data) { 110 setResult(resultCode, data);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
MessageTestActivity.java | 151 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 152 super.onActivityResult(requestCode, resultCode, data); 155 if (resultCode == RESULT_OK) { 164 if (resultCode == RESULT_OK) {
|
ConnectionAccessServerActivity.java | 92 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 93 super.onActivityResult(requestCode, resultCode, data); 96 if (resultCode == RESULT_OK) {
|
DevicePickerActivity.java | 113 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 114 super.onActivityResult(requestCode, resultCode, data); 116 if (resultCode == RESULT_OK) {
|
/frameworks/base/docs/html/training/basics/intents/ |
result.jd | 89 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 93 if (resultCode == RESULT_OK) { 126 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 130 if (resultCode == RESULT_OK) {
|
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/intents/ |
result.jd | 89 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 93 if (resultCode == RESULT_OK) { 126 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 130 if (resultCode == RESULT_OK) {
|
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
LauncherActivity.java | 57 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
MultiLayoutVerificationTest.java | 49 assertNotEquals(result.output, 0, result.resultCode); 105 assertNotEquals(result.output, 0, result.resultCode); 158 assertNotEquals(result.output, 0, result.resultCode); 209 assertNotEquals(result.output, 0, result.resultCode);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactEditorAccountsChangedActivity.java | 182 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 186 if (resultCode != RESULT_OK) { 190 AccountWithDataSet account = mEditorUtils.getCreatedAccount(resultCode, data); 192 setResult(resultCode);
|
/packages/apps/Settings/src/com/android/settings/ |
EncryptionInterstitial.java | 188 public void onActivityResult(int requestCode, int resultCode, Intent data) { 189 super.onActivityResult(requestCode, resultCode, data); 190 if (requestCode == CHOOSE_LOCK_REQUEST && resultCode != RESULT_CANCELED) { 191 getActivity().setResult(resultCode, data);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
RequestPermissionActivity.java | 185 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 187 Log.e(TAG, "Unexpected onActivityResult " + requestCode + ' ' + resultCode); 192 if (resultCode != RESULT_BT_STARTING_OR_STARTED) { 193 setResult(resultCode);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSetupActivity.java | 199 public void finish(int resultCode) { 200 Log.d(TAG, "finishing, resultCode=" + resultCode); 201 setResult(resultCode);
|