/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | ImageCaptureIntentTest.java | 64 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput() 88 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput() 117 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testRetake() 133 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testCancel() 145 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testSnapshotCancel()
|
D | VideoCaptureIntentTest.java | 138 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testCancel() 150 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testRecordCancel() 230 assertEquals(Activity.RESULT_OK, activity.getResultCode());
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | ImageCaptureIntentTest.java | 59 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput() 83 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput() 109 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testCancel() 121 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testSnapshotCancel()
|
D | VideoCaptureIntentTest.java | 115 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testCancel() 127 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode()); in testRecordCancel() 207 assertEquals(Activity.RESULT_OK, activity.getResultCode());
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | DeletionHelperSettingsTest.java | 119 assertThat(settings.getResultCode()).isEqualTo(Activity.RESULT_OK); in requestingSpecificBytesToClearSetsOkResultCodeOnSufficientClear() 138 assertThat(settings.getResultCode()).isEqualTo(Activity.RESULT_CANCELED); in requestingSpecificBytesToClearSetsNegativeResultCodeOnSufficientClear() 155 assertThat(settings.getResultCode()).isEqualTo(Activity.RESULT_CANCELED); in requestingSpecificBytesToClearSetsNegativeResultCodeOnNoClear()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollFindSensorTest.java | 143 assertThat(shadowActivity.getResultCode()).named("result code") in clickSkip_shouldReturnResultSkip() 165 assertThat(Shadows.shadowOf(mActivity).getResultCode()).isEqualTo(Activity.RESULT_CANCELED); in onActivityResult_withNullIntentShouldNotCrash()
|
D | SetupFingerprintEnrollIntroductionTest.java | 98 assertThat(shadowActivity.getResultCode()).named("Result code") in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip() 117 assertThat(shadowActivity.getResultCode()).named("Result code") in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
|
D | FingerprintSuggestionActivityTest.java | 78 assertThat(shadowActivity.getResultCode()).named("Result code") in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RespondViaSmsManager.java | 59 if (getResultCode() == Activity.RESULT_OK) { in onReceive() 69 "Message failed with error %s", getResultCode()); in onReceive()
|
/packages/apps/LegacyCamera/ |
D | proguard.flags | 7 public int getResultCode();
|
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SendStatusReceiver.java | 39 final int resultCode = getResultCode(); in onReceive()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProviderBroadcastReceiverTest.java | 46 resultCodeReceiver.set(getResultCode()); in testBroadcastToRealProvider()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/ |
D | LocalePickerWithRegionActivityTest.java | 40 assertEquals(Activity.RESULT_OK, shadowActivity.getResultCode()); in onLocaleSelected_resultShouldBeOK()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SendStatusReceiver.java | 61 final int resultCode = getResultCode(); in onReceive()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | EmbmsSampleDownloadService.java | 252 int result = getResultCode(); in requestExtraTempFiles() 411 int resultCode = getResultCode(); in downloadSingleFile()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ActivityBase.java | 120 public int getResultCode() { in getResultCode() method in ActivityBase
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | ForceStopPreference.java | 67 setVisible(getResultCode() != Activity.RESULT_CANCELED); in refresh()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | StatusSmsFetcher.java | 100 int resultCode = getResultCode(); in onReceive()
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplayTests.java | 94 switch (getResultCode()) { in setUp()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionHelperSettings.java | 408 protected int getResultCode() { in getResultCode() method in DeletionHelperSettings
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragment.java | 429 boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 606 final boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 607 final boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 237 public int getResultCode() { in getResultCode() method in SapMessage
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 1088 int result = getResultCode(); in onReceive()
|