/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SubActivityScreen.java | 108 protected void onActivityResult(int requestCode, int resultCode, 112 // + " res=" + resultCode); 121 if (resultCode != RESULT_CANCELED) { 123 "Incorrect result code returned: " + resultCode)); 128 if (resultCode != RESULT_OK) { 130 "Incorrect result code returned: " + resultCode));
|
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 112 public void finishWithResult(int resultCode, Intent data) { 115 finishWithResult(resultCode, data, where); 118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 121 mResultCode = resultCode;
|
IntentSenderTest.java | 49 int resultCode, String resultData, Bundle resultExtras) { 76 int resultCode, String resultData, Bundle resultExtras) {
|
/cts/tests/src/android/app/cts/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 113 public void finishWithResult(int resultCode, Intent data) { 116 finishWithResult(resultCode, data, where); 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 121 mResultCode = resultCode;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RedirectMain.java | 61 protected void onActivityResult(int requestCode, int resultCode, 66 if (resultCode == RESULT_CANCELED) { 80 if (resultCode != RESULT_CANCELED) {
|
FragmentReceiveResult.java | 103 public void onActivityResult(int requestCode, int resultCode, Intent data) { 112 // This is a standard resultCode that is sent back if the 115 if (resultCode == RESULT_CANCELED) { 122 text.append(Integer.toString(resultCode));
|
/packages/apps/Settings/src/com/android/settings/ |
MediaFormat.java | 82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 83 super.onActivityResult(requestCode, resultCode, data); 91 if (resultCode == Activity.RESULT_OK) { 93 } else if (resultCode == Activity.RESULT_CANCELED) {
|
/frameworks/base/core/java/android/app/ |
ResultInfo.java | 36 public ResultInfo(String resultWho, int requestCode, int resultCode, 40 mResultCode = resultCode;
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
AppWidgetHostActivity.java | 99 void handleAppWidgetPickResult(int resultCode, Intent intent) { 104 if (resultCode == RESULT_OK) { 119 void handleAppWidgetConfigureResult(int resultCode, Intent data) { 121 Log.d(TAG, "resultCode=" + resultCode + " appWidgetId=" + appWidgetId); 126 if (resultCode == RESULT_OK) { 147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 150 handleAppWidgetPickResult(resultCode, data); 153 handleAppWidgetConfigureResult(resultCode, data);
|
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
SocialWidgetConfigureActivity.java | 54 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 57 if (resultCode == Activity.RESULT_OK) {
|
/packages/apps/Gallery/src/com/android/camera/ |
Wallpaper.java | 66 protected void onActivityResult(int requestCode, int resultCode, 69 setResult(resultCode);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 141 private void handleResultCode(int resultCode, String action) { 142 if (resultCode == Activity.RESULT_OK) { 147 String reason = getErrorReason(resultCode); 165 private String getErrorReason(int resultCode) { 166 switch (resultCode) {
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 118 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 120 Log.e(TAG, "Unexpected onActivityResult " + requestCode + " " + resultCode); 124 if (resultCode == Activity.RESULT_CANCELED) { 126 } else if (resultCode == Activity.RESULT_OK) { 129 addMsg("Result = " + resultCode);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentReceiveResultSupport.java | 105 public void onActivityResult(int requestCode, int resultCode, Intent data) { 114 // This is a standard resultCode that is sent back if the 117 if (resultCode == RESULT_CANCELED) { 124 text.append(Integer.toString(resultCode));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
ConnectionAccessClientActivity.java | 90 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 91 super.onActivityResult(requestCode, resultCode, data); 94 if (resultCode == RESULT_OK) { 103 if (resultCode == RESULT_OK) {
|
/cts/tests/tests/holo/src/android/holo/cts/ |
ThemeTestActivity.java | 122 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 129 handleResult(resultCode, data); 137 private void handleResult(int resultCode, Intent data) { 138 if (resultCode == RESULT_CANCELED) {
|
/packages/apps/Camera/src/com/android/camera/ |
CameraModule.java | 45 public void onActivityResult(int requestCode, int resultCode, Intent data);
|
/packages/apps/Gallery2/src/com/android/camera/ |
CameraModule.java | 45 public void onActivityResult(int requestCode, int resultCode, Intent data);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AddAccountSettings.java | 156 public void onActivityResult(int requestCode, int resultCode, Intent data) { 159 if (resultCode == RESULT_CANCELED) { 160 setResult(resultCode); 168 setResult(resultCode);
|
/cts/tests/tests/app/src/android/app/cts/ |
LocalActivityManagerTest.java | 118 public void setResult(final int resultCode) { 122 assertEquals(CTSResult.RESULT_OK, resultCode);
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerStub.java | 85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 86 super.onActivityResult(requestCode, resultCode, data);
|
/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);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModel.java | 97 public void onActivityResult(int requestCode, int resultCode, Intent data) { 98 if (resultCode == RESULT_OK) {
|