Home
last modified time | relevance | path

Searched refs:getResultCode (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java64 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()
DVideoCaptureIntentTest.java138 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/
DImageCaptureIntentTest.java59 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()
DVideoCaptureIntentTest.java115 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/
DDeletionHelperSettingsTest.java119 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/
DFingerprintEnrollFindSensorTest.java143 assertThat(shadowActivity.getResultCode()).named("result code") in clickSkip_shouldReturnResultSkip()
165 assertThat(Shadows.shadowOf(mActivity).getResultCode()).isEqualTo(Activity.RESULT_CANCELED); in onActivityResult_withNullIntentShouldNotCrash()
DSetupFingerprintEnrollIntroductionTest.java98 assertThat(shadowActivity.getResultCode()).named("Result code") in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip()
117 assertThat(shadowActivity.getResultCode()).named("Result code") in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
DFingerprintSuggestionActivityTest.java78 assertThat(shadowActivity.getResultCode()).named("Result code") in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
/packages/services/Telecomm/src/com/android/server/telecom/
DRespondViaSmsManager.java59 if (getResultCode() == Activity.RESULT_OK) { in onReceive()
69 "Message failed with error %s", getResultCode()); in onReceive()
/packages/apps/LegacyCamera/
Dproguard.flags7 public int getResultCode();
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
DSendStatusReceiver.java39 final int resultCode = getResultCode(); in onReceive()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProviderBroadcastReceiverTest.java46 resultCodeReceiver.set(getResultCode()); in testBroadcastToRealProvider()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocalePickerWithRegionActivityTest.java40 assertEquals(Activity.RESULT_OK, shadowActivity.getResultCode()); in onLocaleSelected_resultShouldBeOK()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSendStatusReceiver.java61 final int resultCode = getResultCode(); in onReceive()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java252 int result = getResultCode(); in requestExtraTempFiles()
411 int resultCode = getResultCode(); in downloadSingleFile()
/packages/apps/LegacyCamera/src/com/android/camera/
DActivityBase.java120 public int getResultCode() { in getResultCode() method in ActivityBase
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DForceStopPreference.java67 setVisible(getResultCode() != Activity.RESULT_CANCELED); in refresh()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DStatusSmsFetcher.java100 int resultCode = getResultCode(); in onReceive()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java94 switch (getResultCode()) { in setUp()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettings.java408 protected int getResultCode() { in getResultCode() method in DeletionHelperSettings
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationDetailsFragment.java429 boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java606 final boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppButtonsPreferenceController.java607 final boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java237 public int getResultCode() { in getResultCode() method in SapMessage
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java1088 int result = getResultCode(); in onReceive()

12