/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestApp.java | 96 public void onActivityResult(int requestCode, int resultCode, Intent data) { 97 if (resultCode == RESULT_OK) {
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 139 super.onActivityResult(requestCode, resultCode, data); 142 handleRecordingResult(resultCode, data); 168 private void handleRecordingResult(int resultCode, Intent data) { 169 if (resultCode != RESULT_OK) { 170 handleError(new Exception("Failed to do recording. Error Code: " + resultCode));
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ActivityState.java | 59 public int resultCode = Activity.RESULT_CANCELED; 100 protected void setStateResult(int resultCode, Intent data) { 102 mResult.resultCode = resultCode; 112 protected void onStateResult(int requestCode, int resultCode, Intent data) { 223 onStateResult(entry.requestCode, entry.resultCode, entry.resultData);
|
Wallpaper.java | 122 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 123 if (resultCode != RESULT_OK) { 124 setResult(resultCode);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowActivity.java | 41 private int resultCode; 117 public final void setResult(int resultCode) { 118 this.resultCode = resultCode; 122 public final void setResult(int resultCode, Intent data) { 123 this.resultCode = resultCode; 274 * @return the {@code resultCode} set by one of the {@code setResult()} methods 277 return resultCode; 395 public void receiveResult(Intent requestIntent, int resultCode, Intent resultIntent) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
CameraActivity.java | 286 int requestCode, int resultCode, Intent data) { 288 if (resultCode == ProxyLauncher.RESULT_USER_CANCELED 290 resultCode = RESULT_CANCELED; 292 super.onActivityResult(requestCode, resultCode, data); 294 if (resultCode == ProxyLauncher.RESULT_USER_CANCELED) { 295 resultCode = RESULT_CANCELED; 297 mCurrentModule.onActivityResult(requestCode, resultCode, data);
|
ActivityBase.java | 272 protected void setResultEx(int resultCode) { 273 mResultCodeForTesting = resultCode; 274 setResult(resultCode); 277 protected void setResultEx(int resultCode, Intent data) { 278 mResultCodeForTesting = resultCode; 280 setResult(resultCode, data);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
InstallApk.java | 75 public void onActivityResult(int requestCode, int resultCode, Intent intent) { 77 if (resultCode == Activity.RESULT_OK) { 79 } else if (resultCode == Activity.RESULT_CANCELED) { 85 if (resultCode == Activity.RESULT_OK) { 87 } else if (resultCode == Activity.RESULT_CANCELED) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothToggleActivity.java | 97 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 98 super.onActivityResult(requestCode, resultCode, data); 101 boolean enabledBluetooth = RESULT_OK == resultCode;
|
ConnectionAccessServerActivity.java | 92 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 93 super.onActivityResult(requestCode, resultCode, data); 96 if (resultCode == RESULT_OK) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 86 super.onActivityResult(requestCode, resultCode, data); 87 if (resultCode == Activity.RESULT_CANCELED) return;
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperActivity.java | 55 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 56 super.onActivityResult(requestCode, resultCode, data); 59 if (resultCode == RESULT_OK) finish();
|
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminActivationTest.java | 79 public void onActivityResult(int requestCode, int resultCode, Intent data) { 84 mLastOnActivityResultResultCode = resultCode;
|
/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);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
Summarizer.java | 153 "span." + AbstractResult.ResultCode.RESULTS_DIFFER.name() + "{" + 156 "span." + AbstractResult.ResultCode.NO_EXPECTED_RESULT.name() + "{" + 438 AbstractResult.ResultCode resultCode; 451 resultCode = result.getResultCode(); 463 if (resultCode == AbstractResult.ResultCode.RESULTS_DIFFER) { 485 if (resultCode == AbstractResult.ResultCode.RESULTS_DIFFER) { 514 AbstractResult.ResultCode resultCode = result.getResultCode() [all...] |
/development/apps/Development/src/com/android/development/ |
InstrumentationList.java | 176 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { 183 Log.i("instrumentation", "INSTRUMENTATION_STATUS_CODE: " + resultCode); 186 int resultCode, Bundle results) { 193 Log.i("instrumentation", "INSTRUMENTATION_CODE: " + resultCode);
|
/packages/apps/Browser/src/com/android/browser/ |
ActivityController.java | 60 void onActivityResult(int requestCode, int resultCode, Intent intent);
|
UploadHandler.java | 59 void onResult(int resultCode, Intent intent) { 61 if (resultCode == Activity.RESULT_CANCELED && mCaughtActivityNotFoundException) { 68 Uri result = intent == null || resultCode != Activity.RESULT_OK ? null 77 if (result == null && intent == null && resultCode == Activity.RESULT_OK) {
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactEditorAccountsChangedActivity.java | 164 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 168 if (resultCode != RESULT_OK) { 172 AccountWithDataSet account = mEditorUtils.getCreatedAccount(resultCode, data); 174 setResult(resultCode);
|
/packages/apps/Mms/apptests/src/com/android/mms/tests/ |
SmsSendIntentTestActivity.java | 170 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 173 if (resultCode == RESULT_OK) { 175 } else if (resultCode == RESULT_CANCELED) { 178 msg += resultCode;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
RequestPermissionActivity.java | 182 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 184 Log.e(TAG, "Unexpected onActivityResult " + requestCode + ' ' + resultCode); 189 if (resultCode != RESULT_BT_STARTING_OR_STARTED) { 190 setResult(resultCode);
|
/packages/apps/Gallery2/src/com/android/camera/ |
CameraActivity.java | 406 int requestCode, int resultCode, Intent data) { 408 if (resultCode == ProxyLauncher.RESULT_USER_CANCELED 410 resultCode = RESULT_CANCELED; 412 super.onActivityResult(requestCode, resultCode, data); 414 if (resultCode == ProxyLauncher.RESULT_USER_CANCELED) { 415 resultCode = RESULT_CANCELED; 417 mCurrentModule.onActivityResult(requestCode, resultCode, data);
|
ActivityBase.java | 273 protected void setResultEx(int resultCode) { 274 mResultCodeForTesting = resultCode; 275 setResult(resultCode); 278 protected void setResultEx(int resultCode, Intent data) { 279 mResultCodeForTesting = resultCode; 281 setResult(resultCode, data);
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChat.java | 290 public void onActivityResult(int requestCode, int resultCode, Intent data) { 291 if(D) Log.d(TAG, "onActivityResult " + resultCode); 295 if (resultCode == Activity.RESULT_OK) { 301 if (resultCode == Activity.RESULT_OK) { 307 if (resultCode == Activity.RESULT_OK) {
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
UiAutomatorTestRunner.java | 70 public void sendStatus(int resultCode, Bundle status) { 71 mWatcher.instrumentationStatus(null, resultCode, status); 185 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { 201 System.out.println("INSTRUMENTATION_STATUS_CODE: " + resultCode); 208 public void instrumentationFinished(ComponentName name, int resultCode, Bundle results) { 224 System.out.println("INSTRUMENTATION_CODE: " + resultCode);
|