/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ActivityBase.java | 109 protected void setResultEx(int resultCode) { in setResultEx() argument 110 mResultCodeForTesting = resultCode; in setResultEx() 111 setResult(resultCode); in setResultEx() 114 protected void setResultEx(int resultCode, Intent data) { in setResultEx() argument 115 mResultCodeForTesting = resultCode; in setResultEx() 117 setResult(resultCode, data); in setResultEx()
|
/packages/apps/Phone/tests/src/com/android/phone/tests/ |
D | OtaspTestActivity.java | 90 int resultCode = intent.getIntExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE, in onCreate() local 92 Log.i(LOG_TAG, " - resultCode = " + resultCode); in onCreate() 95 switch (resultCode) { in onCreate() 106 resultString = "Unexpected code: " + resultCode; in onCreate() 136 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 138 + " result " + resultCode + " data " + data); in onActivityResult() 166 switch (resultCode) { in onActivityResult() 183 Log.i(LOG_TAG, "==> onActivityResult: unknown result: " + resultCode); in onActivityResult()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetConfigure.java | 74 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument 76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { in onActivityResult() 82 resultCode = Activity.RESULT_OK; in onActivityResult() 94 resultCode = Activity.RESULT_CANCELED; in onActivityResult() 100 setResult(resultCode, resultValue); in onActivityResult()
|
D | Wallpaper.java | 66 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument 69 setResult(resultCode); in onActivityResult()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ActivityState.java | 57 public int resultCode = Activity.RESULT_CANCELED; field in ActivityState.ResultEntry 85 protected void setStateResult(int resultCode, Intent data) { in setStateResult() argument 87 mResult.resultCode = resultCode; in setStateResult() 97 protected void onStateResult(int requestCode, int resultCode, Intent data) { in onStateResult() argument 162 onStateResult(entry.requestCode, entry.resultCode, entry.resultData); in resume()
|
D | Wallpaper.java | 105 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 106 if (resultCode != RESULT_OK) { in onActivityResult() 107 setResult(resultCode); in onActivityResult()
|
/packages/apps/Settings/src/com/android/settings/ |
D | MediaFormat.java | 82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 83 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 91 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 93 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult()
|
D | CryptKeeperSettings.java | 182 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 183 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 191 if (resultCode == Activity.RESULT_OK && data != null) { in onActivityResult()
|
D | MasterClear.java | 80 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 81 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 89 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
|
D | ChooseLockGeneric.java | 151 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 152 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 154 if (requestCode == CONFIRM_EXISTING_REQUEST && resultCode == Activity.RESULT_OK) { in onActivityResult() 159 getActivity().setResult(resultCode); in onActivityResult()
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 114 Log.e(TAG, "Unexpected onActivityResult " + requestCode + " " + resultCode); in onActivityResult() 118 if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult() 120 } else if (resultCode == Activity.RESULT_OK) { in onActivityResult() 123 addMsg("Result = " + resultCode); in onActivityResult()
|
/packages/apps/Mms/apptests/src/com/android/mms/tests/ |
D | SmsSendIntentTestActivity.java | 166 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 169 if (resultCode == RESULT_OK) { in onActivityResult() 171 } else if (resultCode == RESULT_CANCELED) { in onActivityResult() 174 msg += resultCode; in onActivityResult()
|
/packages/apps/Browser/src/com/android/browser/ |
D | UploadHandler.java | 59 void onResult(int resultCode, Intent intent) { in onResult() argument 61 if (resultCode == Activity.RESULT_CANCELED && mCaughtActivityNotFoundException) { in onResult() 68 Uri result = intent == null || resultCode != Activity.RESULT_OK ? null in onResult() 77 if (result == null && intent == null && resultCode == Activity.RESULT_OK) { in onResult()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorAccountsChangedActivity.java | 164 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 168 if (resultCode != RESULT_OK) { in onActivityResult() 172 AccountWithDataSet account = mEditorUtils.getCreatedAccount(resultCode, data); in onActivityResult() 174 setResult(resultCode); in onActivityResult()
|
D | PhotoSelectionActivity.java | 464 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 467 if (mPhotoHandler.handlePhotoActivityResult(requestCode, resultCode, data)) { in onActivityResult() 481 mPendingPhotoResult = new PendingPhotoResult(requestCode, resultCode, data); in onActivityResult() 567 private PendingPhotoResult(int requestCode, int resultCode, Intent data) { in PendingPhotoResult() argument 569 mResultCode = resultCode; in PendingPhotoResult()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 184 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 186 Log.e(TAG, "Unexpected onActivityResult " + requestCode + ' ' + resultCode); in onActivityResult() 191 if (resultCode != RESULT_BT_STARTING_OR_STARTED) { in onActivityResult() 192 setResult(resultCode); in onActivityResult()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AddAccountSettings.java | 123 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 126 if (resultCode == RESULT_CANCELED) { in onActivityResult() 127 setResult(resultCode); in onActivityResult()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
D | QuickContactTestsActivity.java | 85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 86 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 87 if (resultCode == Activity.RESULT_CANCELED) return; in onActivityResult()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperActivity.java | 55 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 56 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 59 if (resultCode == RESULT_OK) finish(); in onActivityResult()
|
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
D | SocialWidgetConfigureActivity.java | 54 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 57 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ActivityBase.java | 199 protected void setResultEx(int resultCode) { in setResultEx() argument 200 mResultCodeForTesting = resultCode; in setResultEx() 201 setResult(resultCode); in setResultEx() 204 protected void setResultEx(int resultCode, Intent data) { in setResultEx() argument 205 mResultCodeForTesting = resultCode; in setResultEx() 207 setResult(resultCode, data); in setResultEx()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 84 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 85 if (resultCode != RESULT_OK) { in onActivityResult() 86 setResult(resultCode, new Intent().putExtra( in onActivityResult()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountCheckSettingsFragment.java | 471 int resultCode = MessagingException.UNSPECIFIED_EXCEPTION; in doInBackground() local 473 resultCode = bundle.getInt( in doInBackground() 476 if (resultCode == MessagingException.SECURITY_POLICIES_REQUIRED) { in doInBackground() 479 return new MessagingException(resultCode, mStoreHost); in doInBackground() 480 } else if (resultCode == MessagingException.SECURITY_POLICIES_UNSUPPORTED) { in doInBackground() 483 return new MessagingException(resultCode, mStoreHost, data); in doInBackground() 484 } else if (resultCode != MessagingException.NO_ERROR) { in doInBackground() 487 return new MessagingException(resultCode, errorMessage); in doInBackground()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasSyncService.java | 433 int resultCode = MessagingException.NO_ERROR; in validateAccount() local 486 resultCode = MessagingException.ACCESS_DENIED; in validateAccount() 492 resultCode = MessagingException.PROTOCOL_VERSION_UNSUPPORTED; in validateAccount() 494 resultCode = resp.isMissingCertificate() in validateAccount() 504 resultCode = MessagingException.UNSPECIFIED_EXCEPTION; in validateAccount() 519 resultCode = resp.isMissingCertificate() in validateAccount() 525 resultCode = MessagingException.AUTHENTICATION_FAILED_OR_SERVER_ERROR; in validateAccount() 533 resultCode = MessagingException.IOERROR; in validateAccount() 542 resultCode = MessagingException.SECURITY_POLICIES_REQUIRED; in validateAccount() 549 resultCode = MessagingException.ACCESS_DENIED; in validateAccount() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaSet.java | 53 void onSyncDone(MediaSet mediaSet, int resultCode); in onSyncDone() argument 331 public void onSyncDone(MediaSet mediaSet, int resultCode) { in onSyncDone() argument 334 if (resultCode == SYNC_RESULT_ERROR) mResult = SYNC_RESULT_ERROR; in onSyncDone()
|