Home
last modified time | relevance | path

Searched refs:RESULT_SUCCESS (Results 1 – 25 of 33) sorted by relevance

12

/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/src/android/appsecurity/cts/keyrotationtest/service/
DSignatureQueryService.java150 if (verificationResult != RESULT_SUCCESS) { in verifySignatures()
157 if (verificationResult != RESULT_SUCCESS) { in verifySignatures()
163 if (verificationResult != RESULT_SUCCESS) { in verifySignatures()
217 return RESULT_SUCCESS; in verifyGetSignatures()
281 return RESULT_SUCCESS; in verifyGetSigningCertificates()
323 return RESULT_SUCCESS; in verifyHasSigningCertificate()
352 return RESULT_SUCCESS; in verifyCheckSignatures()
377 return RESULT_SUCCESS; in verifyCheckSignatures()
DISignatureQueryService.aidl23 const int RESULT_SUCCESS = 0; field
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerTest.java556 assertEquals(Tuner.RESULT_SUCCESS, res); in testFrontendHardwareInfo()
568 assertEquals(Tuner.RESULT_SUCCESS, res); in testTuning()
572 assertEquals(Tuner.RESULT_SUCCESS, res); in testTuning()
579 assertTrue((res == Tuner.RESULT_SUCCESS) || (res == Tuner.RESULT_UNAVAILABLE)); in testTuning()
582 assertEquals(Tuner.RESULT_SUCCESS, res); in testTuning()
609 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
611 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
615 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
617 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
640 assertEquals(Tuner.RESULT_SUCCESS, result); in testRequestFrontendThenTune()
[all …]
DSharedFilterTestService.java93 if (f.start() != Tuner.RESULT_SUCCESS) { in verifySharedFilter()
98 if (f.flush() != Tuner.RESULT_SUCCESS) { in verifySharedFilter()
111 if (f.stop() != Tuner.RESULT_SUCCESS) { in verifySharedFilter()
DTunerDvrTest.java198 assertEquals(Tuner.RESULT_SUCCESS, in testSetRecordBufferStatusCheckIntervalHint()
238 assertEquals(Tuner.RESULT_SUCCESS, in testSetPlaybackBufferStatusCheckIntervalHint()
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DTunerTest.java555 assertEquals(Tuner.RESULT_SUCCESS, res); in testFrontendHardwareInfo()
567 assertEquals(Tuner.RESULT_SUCCESS, res); in testTuning()
571 assertEquals(Tuner.RESULT_SUCCESS, res); in testTuning()
578 assertTrue((res == Tuner.RESULT_SUCCESS) || (res == Tuner.RESULT_UNAVAILABLE)); in testTuning()
581 assertEquals(Tuner.RESULT_SUCCESS, res); in testTuning()
608 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
610 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
614 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
616 assertEquals(Tuner.RESULT_SUCCESS, res); in testMultiTuning()
639 assertEquals(Tuner.RESULT_SUCCESS, result); in testRequestFrontendThenTune()
[all …]
DSharedFilterTestService.java93 if (f.start() != Tuner.RESULT_SUCCESS) { in verifySharedFilter()
98 if (f.flush() != Tuner.RESULT_SUCCESS) { in verifySharedFilter()
111 if (f.stop() != Tuner.RESULT_SUCCESS) { in verifySharedFilter()
DTunerDvrTest.java198 assertEquals(Tuner.RESULT_SUCCESS, in testSetRecordBufferStatusCheckIntervalHint()
238 assertEquals(Tuner.RESULT_SUCCESS, in testSetPlaybackBufferStatusCheckIntervalHint()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobSchedulingTest.java183 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.schedule(jobInfo)); in testMinSuccessfulSchedulingQuota()
207 i < 300 ? JobScheduler.RESULT_SUCCESS : JobScheduler.RESULT_FAILURE; in testFailingScheduleOnQuotaExceeded()
233 JobScheduler.RESULT_SUCCESS, mJobScheduler.schedule(jobInfo));
256 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.schedule(jobInfo));
350 assertEquals(JobScheduler.RESULT_SUCCESS, jsA.schedule(jobA));
351 assertEquals(JobScheduler.RESULT_SUCCESS, jsB.schedule(jobB));
396 assertEquals(JobScheduler.RESULT_SUCCESS, jsA.schedule(jobA));
397 assertEquals(JobScheduler.RESULT_SUCCESS, jsB.schedule(jobB));
423 assertEquals(JobScheduler.RESULT_SUCCESS, jsA.schedule(jobA));
424 assertEquals(JobScheduler.RESULT_SUCCESS, jsB.schedule(jobB));
[all …]
DUserInitiatedJobTest.java213 .awaitJobScheduleResult(DEFAULT_WAIT_TIMEOUT_MS, JobScheduler.RESULT_SUCCESS)); in testRestrictedBalToTop()
259 .awaitJobScheduleResult(DEFAULT_WAIT_TIMEOUT_MS, JobScheduler.RESULT_SUCCESS)); in testRestrictedToggling()
357 .awaitJobScheduleResult(DEFAULT_WAIT_TIMEOUT_MS, JobScheduler.RESULT_SUCCESS)); in testSchedulingBal()
413 .awaitJobScheduleResult(DEFAULT_WAIT_TIMEOUT_MS, JobScheduler.RESULT_SUCCESS)); in testSchedulingFgs_approved()
443 .awaitJobScheduleResult(DEFAULT_WAIT_TIMEOUT_MS, JobScheduler.RESULT_SUCCESS)); in testSchedulingTop()
468 DEFAULT_WAIT_TIMEOUT_MS, JobScheduler.RESULT_SUCCESS)); in testSchedulingUij()
DJobParametersTest.java171 assertEquals(JobScheduler.RESULT_SUCCESS, jsA.schedule(jobA)); in testNamespaceJobParameters()
172 assertEquals(JobScheduler.RESULT_SUCCESS, jsB.schedule(jobB)); in testNamespaceJobParameters()
DJobWorkItemTest.java310 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.enqueue(jobInfo, jwi)); in testPersisted_withPersistableBundle()
370 assertEquals(JobScheduler.RESULT_SUCCESS, mJobScheduler.enqueue(jobInfo, jwi)); in testScheduleItemWithNetworkInfoAndNetworkConstraint()
/cts/tests/tests/nfc/src/android/nfc/tech/cts/
DMifareClassicTest.java261 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{})); in testAuthenticateSectorWithKeyA()
277 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{})); in testAuthenticateSectorWithKeyB()
294 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, null)); in testAuthenticateSectorWithKeyB_nullTransceive()
314 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0xA})); in testReadBlock()
329 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{})); in testWriteBlock()
353 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0x0})); in testIncrement()
367 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0x0})); in testDecrement()
381 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0x0})); in testTransfer()
394 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0x0})); in testRestore()
407 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0xF})); in testTransceive()
DMifareUltralightTest.java103 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, pages)); in testReadPages()
123 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{})); in testWritePage()
146 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, response)); in testTransceieve()
DNfcBTest.java98 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0xF})); in testTransceive()
DNfcVTest.java97 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, new byte[]{0xF})); in testTransceive()
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobSchedulerReceiver.java57 if (result != JobScheduler.RESULT_SUCCESS) { in onReceive()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java324 if (expectedResult == TranscodingSession.RESULT_SUCCESS) { in testTranscodingWithExpectResult()
370 TranscodingSession.RESULT_SUCCESS); in testTranscodingToCacheDir()
381 TranscodingSession.RESULT_SUCCESS); in testTranscodingToInternalFilesDir()
497 assertEquals(TranscodingSession.RESULT_SUCCESS, transcodingSession.getResult()); in transcodeFile()
534 assertEquals(TranscodingSession.RESULT_SUCCESS, session.getResult()); in transcodeFile()
747 assertEquals(TranscodingSession.RESULT_SUCCESS, TranscodingSession.getResult()); in testTranscodingProgressUpdate()
797 assertEquals(TranscodingSession.RESULT_SUCCESS, TranscodingSession.getResult()); in testClearOnProgressUpdateListener()
850 assertEquals(TranscodingSession.RESULT_SUCCESS, TranscodingSession.getResult()); in testAddingClientUids()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DSharedUidTest.java57 assertEquals(JobScheduler.RESULT_SUCCESS, js.schedule(ji)); in testCancelDisabledPackageJob()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DAuthenticatorContentProvider.java37 public static final int RESULT_SUCCESS = 1; field in AuthenticatorContentProvider
/cts/tests/app/FgsStartTest/helper/src/android/app/fgsstarttesthelper/
DFgsNewLogicTest.java61 if (result != JobScheduler.RESULT_SUCCESS) { in runTest()
/cts/tests/tests/car/src/android/car/app/cts/
DCarActivityManagerTest.java133 assertThat(ret).isEqualTo(CarActivityManager.RESULT_SUCCESS); in testSetPersistentActivity()
152 assertThat(ret).isEqualTo(CarActivityManager.RESULT_SUCCESS); in testSetPersistentActivity()
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiControlManagerHelper.java86 if (result == HdmiControlManager.RESULT_SUCCESS) { in deviceSelect()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDataServiceCallbackTest.java39 private static final int RESULT = DataServiceCallback.RESULT_SUCCESS;
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestJobSchedulerReceiver.java134 if (result != JobScheduler.RESULT_SUCCESS) { in onReceive()

12