Home
last modified time | relevance | path

Searched refs:setResultCode (Results 1 – 19 of 19) sorted by relevance

/cts/tests/suspendapps/test-apps/TestDeviceAdmin/src/com/android/suspendapps/testdeviceadmin/
DTestCommsReceiver.java72 setResultCode(RESULT_OK); in onReceive()
83 setResultCode(RESULT_OK); in onReceive()
91 setResultCode(RESULT_OK); in onReceive()
99 setResultCode(RESULT_OK); in onReceive()
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DProcessBroadcast.java65 setResultCode(1); in onReceive()
67 setResultCode(0); in onReceive()
71 setResultCode(getUserDataVersion(context)); in onReceive()
84 setResultCode(0); in requestAudioFocus()
92 setResultCode(0); in abandonAudioFocus()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAuthenticationTest.java113 AuthenticationActivity.setResultCode(RESULT_OK); in testFillResponseAuth_withNewAutofillSessionStartByActivity()
164 AuthenticationActivity.setResultCode(RESULT_OK); in testFillResponseAuth()
225 AuthenticationActivity.setResultCode(RESULT_CANCELED); in datasetAuthTwoFields()
238 AuthenticationActivity.setResultCode(RESULT_OK); in datasetAuthTwoFields()
302 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned()
323 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned()
337 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned()
349 AuthenticationActivity.setResultCode(RESULT_OK); in testDatasetAuthEphemeralOrPinned()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DMockReceiverDisableable.java28 setResultCode(RESULT_CODE); in onReceive()
DBroadcastReceiverTest.java162 setResultCode(RESULT_INTERNAL_FINAL_CODE); in onReceive()
182 setResultCode(RESULT_INTERNAL_FINAL_CODE); in onReceive()
434 res.setResultCode(42); in testAsync()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppBroadcastController.java33 setResultCode(Activity.RESULT_OK); in onReceive()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtilsReceiver.java46 setResultCode(Activity.RESULT_OK); in onReceive()
49 setResultCode(Activity.RESULT_CANCELED); in onReceive()
/cts/tests/tests/appwidget/packages/src/android/appwidget/cts/packages/
DSimpleProvider.java22 setResultCode(Activity.RESULT_OK); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackLatencyActivity.java1074 private void setResultCode(boolean pass, int code) { in setResultCode() method in AudioLoopbackLatencyActivity.LoopbackLatencyRequirements
1150 setResultCode(internalPathRun, RESULTCODE_FAIL_NOINTERNAL); in evaluate()
1159 setResultCode(basicPass, RESULTCODE_FAIL_BASIC); in evaluate()
1175 setResultCode(mpcAtLeastOnePass, RESULTCODE_FAIL_MPC); in evaluate()
1185 setResultCode(proAudioAtLeastOnePass, RESULTCODE_FAIL_PROONEPATH); in evaluate()
1192 setResultCode(proAudioLimitsPass, RESULTCODE_FAIL_PROLIMITS_ANALOG); in evaluate()
1196 setResultCode(proAudioLimitsPass, RESULTCODE_FAIL_PROLIMITS_USB); in evaluate()
1198 setResultCode(proAudioLimitsPass, RESULTCODE_FAIL_PRO_NOWIRED); in evaluate()
1208 setResultCode(has24BitHardwareSupportPass, RESULTCODE_FAIL_24BIT); in evaluate()
1218 setResultCode(timestampPass, RESULTCODE_WARNING_TIMESTAMP); in evaluate()
/cts/hostsidetests/devicepolicy/app/Assistant/src/com/android/cts/devicepolicy/assistapp/
DMyInteractionService.java68 setResultCode(mReady ? Activity.RESULT_OK : Activity.RESULT_CANCELED); in onReceive()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAuthenticationActivity.java108 setResultCode(null, RESULT_OK); in resetStaticState()
208 public static void setResultCode(int resultCode) { in setResultCode() method in AuthenticationActivity
218 public static void setResultCode(CountDownLatch latch, int resultCode) { in setResultCode() method in AuthenticationActivity
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DPccFieldClassificationTest.java609 AuthenticationActivity.setResultCode(RESULT_CANCELED); in datasetAuthTwoFields()
628 AuthenticationActivity.setResultCode(RESULT_OK); in datasetAuthTwoFields()
714 AuthenticationActivity.setResultCode(RESULT_CANCELED); in fillResponseAuthBothFields()
733 AuthenticationActivity.setResultCode(RESULT_OK); in fillResponseAuthBothFields()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DAuthenticationTest.java120 AuthenticationActivity.setResultCode(RESULT_CANCELED); in datasetAuthTwoFields()
139 AuthenticationActivity.setResultCode(RESULT_OK); in datasetAuthTwoFields()
811 AuthenticationActivity.setResultCode(RESULT_CANCELED); in fillResponseAuthBothFields()
830 AuthenticationActivity.setResultCode(RESULT_OK); in fillResponseAuthBothFields()
952 AuthenticationActivity.setResultCode(latch, RESULT_OK); in testFillResponseAuthWhenAppCallsCancel()
1202 AuthenticationActivity.setResultCode(RESULT_OK); in testFillResponseFiltering()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java397 StartActivityVerifierPage.setResultCode(10); in startActivityForResult_startsActivityAndReceivesResultWithData()
418 StartActivityVerifierPage.setResultCode(10); in startActivityForResult_startsActivityAndReceivesResultWithNoData()
539 StartActivityVerifierPage.setResultCode(0x1337); in restartGame_withNonGameActivityAbove_gameSessionIsPersisted()
921 public static void setResultCode(int resultCode) throws Exception {
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/supl_report/
DReportData.java138 public void setResultCode(Asn1Object value) { in setResultCode() method in ReportData
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDeviceOwnerHelper.java279 receiver.setResultCode(code); in sendNoLog()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java2392 setResultCode(3); in onReceive()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt1080 method @NonNull public android.app.RemoteLockscreenValidationResult.Builder setResultCode(int);
Dcurrent.txt10035 method public final void setResultCode(int);
10049 method public final void setResultCode(int);