/cts/tests/tests/app/src/android/app/cts/ |
Instrumentation_ActivityResultTest.java | 30 assertEquals(Activity.RESULT_OK, result.getResultCode()); 34 assertEquals(Activity.RESULT_CANCELED, result.getResultCode());
|
/cts/tests/src/android/app/cts/ |
MockReceiver.java | 37 sResultCode = getResultCode();
|
ActivityTestsBase.java | 195 public int getResultCode() {
|
/cts/tests/tests/os/src/android/os/cts/ |
ResultReceiverTest.java | 37 assertEquals(resultCode, sender.getResultCode()); 70 public int getResultCode() {
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 64 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 88 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 117 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 133 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 145 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
|
VideoCaptureIntentTest.java | 138 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 150 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 230 assertEquals(Activity.RESULT_OK, activity.getResultCode());
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 59 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 83 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 109 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 121 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
|
VideoCaptureIntentTest.java | 115 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 127 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 207 assertEquals(Activity.RESULT_OK, activity.getResultCode());
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 59 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 83 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); 109 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 121 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
|
VideoCaptureIntentTest.java | 115 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 127 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); 207 assertEquals(Activity.RESULT_OK, activity.getResultCode());
|
/cts/tests/tests/content/src/android/content/cts/ |
BroadcastReceiverTest.java | 140 assertEquals(0, internalReceiver.getResultCode()); 163 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); 177 assertEquals(0, internalOrderReceiver.getResultCode()); 194 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode());
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiver.java | 57 intent.putExtra("result", getResultCode());
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 119 handleResultCode(getResultCode(), "delivery"); 121 handleResultCode(getResultCode(), "sent");
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ActivityBase.java | 120 public int getResultCode() {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
VoiceRecognition.java | 185 if (getResultCode() != Activity.RESULT_OK) { 189 showToast("Error code:" + getResultCode());
|
/frameworks/base/core/java/android/content/ |
BroadcastReceiver.java | 272 * Version of {@link BroadcastReceiver#getResultCode() 273 * BroadcastReceiver.getResultCode()} for 276 public final int getResultCode() { 558 public final int getResultCode() { [all...] |
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
ModifyInstallerPackageTest.java | 51 switch (getResultCode()) {
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessagingDemo.java | 131 switch (getResultCode()) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ActivityTestsBase.java | 194 public int getResultCode() {
|
BroadcastTest.java | 292 assertEquals("Incorrect code: " + broadcastReceiver.getResultCode(), 293 3, broadcastReceiver.getResultCode());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaServiceCategoryProgramHandler.java | 127 int resultCode = getResultCode();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nls/ |
MockListener.java | 204 accept(Integer.valueOf(getResultCode()));
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
DialogSmsDisplayTests.java | 94 switch (getResultCode()) {
|
/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 108 if (getResultCode() != Activity.RESULT_OK) { 111 + ": canceled: " + getResultCode());
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 528 return r.getResultCode() == 1; 630 if (localLOGV) Log.i(TAG, "Got notification: clear cache succeeded "+getResultCode()); 663 assertEquals(receiver.getResultCode(), 1);
|