Home
last modified time | relevance | path

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

12

/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java195 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in querySingleFont()
212 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMultipleFont()
234 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryAttributes()
242 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryAttributes()
259 assertEquals(Columns.RESULT_CODE_FONT_NOT_FOUND, font.getResultCode()); in queryNotFound()
275 assertEquals(Columns.RESULT_CODE_FONT_UNAVAILABLE, font.getResultCode()); in queryUnavailable()
291 assertEquals(Columns.RESULT_CODE_MALFORMED_QUERY, font.getResultCode()); in queryMalformed()
307 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMultipleOneNotFound()
309 assertEquals(Columns.RESULT_CODE_FONT_NOT_FOUND, font2.getResultCode()); in queryMultipleOneNotFound()
329 assertEquals(Columns.RESULT_CODE_OK, font.getResultCode()); in queryMandatoryFieldsOnly()
DMockFontProvider.java95 public int getResultCode() { in getResultCode() method in MockFontProvider.Font
200 builder.add(Columns.RESULT_CODE, font.getResultCode()); in buildCursor()
/cts/tests/tests/content/src/android/content/cts/
DBroadcastReceiverTest.java162 if (getResultCode() == mExpectedInitialCode) { in onReceive()
178 assertEquals(0, internalReceiver.getResultCode()); in testOnReceive()
206 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPackage()
235 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverComponent()
263 assertEquals(MockReceiver.RESULT_CODE, internalReceiver.getResultCode()); in testManifestReceiverPermission()
289 assertEquals(RESULT_INITIAL_CODE, internalReceiver.getResultCode()); in testNoManifestReceiver()
304 assertEquals(0, internalOrderReceiver.getResultCode()); in testAbortBroadcast()
323 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testAbortBroadcast()
342 assertEquals(0, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
354 assertEquals(RESULT_INTERNAL_FINAL_CODE, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccManagerTest.java131 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testDownloadSubscription()
174 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testDeleteSubscription()
204 EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_ERROR, mCallbackReceiver.getResultCode()); in testSwitchToSubscription()
239 mCallbackReceiver.getResultCode()); in testStartResolutionActivity()
268 int resultCode = getResultCode(); in onReceive()
/cts/tests/app/src/android/app/cts/
DInstrumentation_ActivityResultTest.java30 assertEquals(Activity.RESULT_OK, result.getResultCode()); in testActivityResultOp()
34 assertEquals(Activity.RESULT_CANCELED, result.getResultCode()); in testActivityResultOp()
/cts/tests/tests/os/src/android/os/cts/
DResultReceiverTest.java36 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver()
69 public int getResultCode() { in getResultCode() method in ResultReceiverTest.MockResultReceiver
DActivityTestsBase.java195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_report/
DReportData.java132 public ResultCode getResultCode() { in getResultCode() method in ReportData
259 return getResultCode() != null; in getComponents()
271 return getResultCode(); in getComponents()
294 + getResultCode().toIndentedString(indent); in getComponents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java68 while (mEnableRetry && testDetails.getResultCode().equals(ResultCode.FAIL)) { in executeTests()
122 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest()
DBaseSensorTestActivity.java219 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run()
489 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult()
517 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests()
542 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in promptUserToSetResult()
662 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in logTestDetails()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DBaseGnssTestActivity.java179 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run()
338 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult()
366 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java167 handleResultCode(getResultCode(), "delivery"); in onReceive()
169 handleResultCode(getResultCode(), "sent"); in onReceive()
/cts/tests/app/app/src/android/app/stubs/
DMockReceiver.java42 sResultCode = getResultCode(); in onReceive()
DActivityTestsBase.java209 public int getResultCode() { in getResultCode() method in ActivityTestsBase
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DSyncOrderedBroadcast.java38 mReceivedCode = getResultCode();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/
DGnssTestDetails.java92 public ResultCode getResultCode() { in getResultCode() method in GnssTestDetails
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java97 public ResultCode getResultCode() { in getResultCode() method in SensorTestDetails
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAssistScreenCaptureDisabledTest.java73 q.offer(getResultCode() == Activity.RESULT_OK); in assertScreenCapturePossible()
/cts/tests/tests/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java122 result.offer(getResultCode()); in sendOrderedBroadcastAndReturnResultCode()
/cts/tests/tests/media/src/android/media/cts/
DSession2CommandTest.java138 assertEquals(TEST_RESULT_CODE, result.getResultCode()); in testGetResultCodeAndData()
DMediaController2Test.java355 assertEquals(SESSION_RESULT_CODE, controllerCallback.mCommandResult.getResultCode()); in testCallback_onCommandResult()
390 controllerCallback.mCommandResult.getResultCode()); in testCancelSessionCommand()
DMediaSession2Test.java539 assertEquals(resultCode, sessionCallback.mCommandResult.getResultCode()); in testCallback_onCommandResult()
615 sessionCallback.mCommandResult.getResultCode()); in testCancelSessionCommand()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java114 final int resultCode = getResultCode(); in onReceive()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadReceiverTest.java262 receivedCode.add(getResultCode()); in sendBroadcastAndValidate()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsDownloadService.java384 b.putInt(ARGUMENT_RESULT_CODE, getResultCode());

12