Home
last modified time | relevance | path

Searched refs:isOk (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/hardware/interfaces/automotive/audiocontrol/aidl/vts/
DVtsHalAudioControlTargetTest.cpp59 ASSERT_TRUE(audioControl->setFadeTowardFront(-1.0f).isOk()); in TEST_P()
62 ASSERT_TRUE(audioControl->setFadeTowardFront(1.0f).isOk()); in TEST_P()
65 ASSERT_TRUE(audioControl->setFadeTowardFront(-0.333f).isOk()); in TEST_P()
68 ASSERT_TRUE(audioControl->setFadeTowardFront(99999.9f).isOk()); in TEST_P()
71 ASSERT_TRUE(audioControl->setFadeTowardFront(-99999.9f).isOk()); in TEST_P()
74 ASSERT_TRUE(audioControl->setFadeTowardFront(0.0f).isOk()); in TEST_P()
81 ASSERT_TRUE(audioControl->setBalanceTowardRight(-1.0f).isOk()); in TEST_P()
84 ASSERT_TRUE(audioControl->setBalanceTowardRight(1.0f).isOk()); in TEST_P()
87 ASSERT_TRUE(audioControl->setBalanceTowardRight(-0.333f).isOk()); in TEST_P()
90 ASSERT_TRUE(audioControl->setBalanceTowardRight(99999.9f).isOk()); in TEST_P()
[all …]
/hardware/interfaces/vr/1.0/vts/functional/
DVtsHalVrV1_0TargetTest.cpp46 EXPECT_TRUE(vr->init().isOk()); in TEST_P()
51 EXPECT_TRUE(vr->init().isOk()); in TEST_P()
52 EXPECT_TRUE(vr->setVrMode(true).isOk()); in TEST_P()
53 EXPECT_TRUE(vr->setVrMode(false).isOk()); in TEST_P()
58 EXPECT_TRUE(vr->init().isOk()); in TEST_P()
59 EXPECT_TRUE(vr->setVrMode(true).isOk()); in TEST_P()
60 EXPECT_TRUE(vr->init().isOk()); in TEST_P()
61 EXPECT_TRUE(vr->setVrMode(false).isOk()); in TEST_P()
62 EXPECT_TRUE(vr->init().isOk()); in TEST_P()
63 EXPECT_TRUE(vr->setVrMode(false).isOk()); in TEST_P()
/hardware/interfaces/power/aidl/vts/
DVtsHalPowerTargetTest.cpp104 ASSERT_TRUE(power->setMode(mode, true).isOk()); in TEST_P()
105 ASSERT_TRUE(power->setMode(mode, false).isOk()); in TEST_P()
108 ASSERT_TRUE(power->setMode(mode, true).isOk()); in TEST_P()
109 ASSERT_TRUE(power->setMode(mode, false).isOk()); in TEST_P()
116 ASSERT_TRUE(power->isModeSupported(mode, &supported).isOk()); in TEST_P()
120 ASSERT_TRUE(power->isModeSupported(mode, &supported).isOk()); in TEST_P()
128 ASSERT_TRUE(power->setBoost(boost, 0).isOk()); in TEST_P()
129 ASSERT_TRUE(power->setBoost(boost, 1000).isOk()); in TEST_P()
130 ASSERT_TRUE(power->setBoost(boost, -1).isOk()); in TEST_P()
133 ASSERT_TRUE(power->setBoost(boost, 0).isOk()); in TEST_P()
[all …]
/hardware/interfaces/oemlock/aidl/vts/
DVtsHalOemLockTargetTest.cpp48 ASSERT_TRUE(ret.isOk()); in TEST_P()
60 ASSERT_TRUE(ret.isOk()); in TEST_P()
72 ASSERT_TRUE(get_ret.isOk()); in TEST_P()
77 ASSERT_TRUE(set_ret.isOk()); in TEST_P()
80 ASSERT_TRUE(check_set_ret.isOk()); in TEST_P()
85 ASSERT_TRUE(restore_ret.isOk()); in TEST_P()
88 ASSERT_TRUE(check_restore_ret.isOk()); in TEST_P()
100 ASSERT_TRUE(ret.isOk()); in TEST_P()
118 ASSERT_TRUE(get_ret.isOk()); in TEST_P()
128 ASSERT_TRUE(set_ret.isOk()); in TEST_P()
[all …]
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp72 EXPECT_TRUE(upstream.isOk()); in TEST_P()
88 EXPECT_TRUE(ret.isOk()); in TEST_P()
96 EXPECT_TRUE(ret.isOk()); in TEST_P()
104 EXPECT_TRUE(ret.isOk()); in TEST_P()
116 EXPECT_TRUE(ret.isOk()); in TEST_P()
125 EXPECT_TRUE(ret.isOk()); in TEST_P()
134 EXPECT_TRUE(ret.isOk()); in TEST_P()
143 EXPECT_TRUE(ret.isOk()); in TEST_P()
152 EXPECT_TRUE(ret.isOk()); in TEST_P()
163 EXPECT_TRUE(ret.isOk()); in TEST_P()
[all …]
/hardware/interfaces/weaver/aidl/vts/
DVtsHalWeaverTargetTest.cpp56 ASSERT_TRUE(ret.isOk()); in TEST_P()
71 ASSERT_TRUE(ret.isOk()); in TEST_P()
74 ASSERT_TRUE(ret.isOk()); in TEST_P()
86 ASSERT_TRUE(configRet.isOk()); in TEST_P()
90 ASSERT_TRUE(writeRet.isOk()); in TEST_P()
100 ASSERT_TRUE(ret.isOk()); in TEST_P()
110 ASSERT_TRUE(readRet.isOk()); in TEST_P()
123 ASSERT_TRUE(initialWriteRet.isOk()); in TEST_P()
126 ASSERT_TRUE(overwriteRet.isOk()); in TEST_P()
136 ASSERT_TRUE(readRet.isOk()); in TEST_P()
[all …]
/hardware/interfaces/identity/aidl/vts/
DReaderAuthTests.cpp157 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
164 .isOk()); in provisionData()
168 ASSERT_TRUE(wc->setExpectedProofOfProvisioningSize(proofOfProvisioningSize).isOk()); in provisionData()
183 ASSERT_TRUE(wc->addAccessControlProfile(0, cert_A, false, 0, 0, &sacp0_).isOk()); in provisionData()
186 ASSERT_TRUE(wc->addAccessControlProfile(1, cert_B, false, 0, 0, &sacp1_).isOk()); in provisionData()
189 ASSERT_TRUE(wc->addAccessControlProfile(2, cert_C, false, 0, 0, &sacp2_).isOk()); in provisionData()
192 ASSERT_TRUE(wc->addAccessControlProfile(3, {}, false, 0, 0, &sacp3_).isOk()); in provisionData()
195 ASSERT_TRUE(wc->beginAddEntry({0}, "ns", "Accessible by A", 1).isOk()); in provisionData()
196 ASSERT_TRUE(wc->addEntryValue({9}, &encContentAccessibleByA_).isOk()); in provisionData()
199 ASSERT_TRUE(wc->beginAddEntry({0, 1}, "ns", "Accessible by A or B", 1).isOk()); in provisionData()
[all …]
DUpdateCredentialTests.cpp78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
85 .isOk()); in provisionData()
98 .isOk()); in provisionData()
102 ASSERT_TRUE(wc->addAccessControlProfile(1, {}, false, 0, 0, &sacp).isOk()); in provisionData()
107 ASSERT_TRUE(wc->beginAddEntry({1}, "ns", "Last name", tstrLastName.size()).isOk()); in provisionData()
108 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in provisionData()
112 EXPECT_TRUE(status.isOk()) << status.exceptionCode() << ": " << status.exceptionMessage(); in provisionData()
157 .isOk()); in TEST_P()
160 ASSERT_TRUE(credential->updateCredential(&wc).isOk()); in TEST_P()
168 ASSERT_FALSE(result.isOk()); in TEST_P()
[all …]
DDeleteCredentialTests.cpp78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
85 .isOk()); in provisionData()
98 .isOk()); in provisionData()
102 ASSERT_TRUE(wc->addAccessControlProfile(1, {}, false, 0, 0, &sacp).isOk()); in provisionData()
105 ASSERT_TRUE(wc->beginAddEntry({1}, "ns", "Some Data", 1).isOk()); in provisionData()
107 ASSERT_TRUE(wc->addEntryValue({9}, &encryptedData).isOk()); in provisionData()
111 EXPECT_TRUE(status.isOk()) << status.exceptionCode() << ": " << status.exceptionMessage(); in provisionData()
122 .isOk()); in TEST_P()
125 ASSERT_TRUE(credential->deleteCredential(&proofOfDeletionSignature).isOk()); in TEST_P()
147 .isOk()); in TEST_P()
[all …]
DProveOwnershipTests.cpp78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
85 .isOk()); in provisionData()
98 .isOk()); in provisionData()
102 ASSERT_TRUE(wc->addAccessControlProfile(1, {}, false, 0, 0, &sacp).isOk()); in provisionData()
105 ASSERT_TRUE(wc->beginAddEntry({1}, "ns", "Some Data", 1).isOk()); in provisionData()
107 ASSERT_TRUE(wc->addEntryValue({9}, &encryptedData).isOk()); in provisionData()
111 EXPECT_TRUE(status.isOk()) << status.exceptionCode() << ": " << status.exceptionMessage(); in provisionData()
126 .isOk()); in TEST_P()
130 ASSERT_TRUE(credential->proveOwnership(challenge, &proofOfOwnershipSignature).isOk()); in TEST_P()
DVtsIWritableIdentityCredentialTests.cpp61 ASSERT_TRUE(credentialStore_->getHardwareInformation(&hwInfo).isOk()); in TEST_P()
73 EXPECT_FALSE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
83 ASSERT_TRUE(credentialStore_->getHardwareInformation(&hwInfo).isOk()); in TEST_P()
97 EXPECT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
121 EXPECT_FALSE(attData2.result.isOk()) << attData2.result.exceptionCode() << "; " in TEST_P()
137 ASSERT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
144 EXPECT_FALSE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
160 EXPECT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
174 EXPECT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
188 EXPECT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
[all …]
/hardware/interfaces/rebootescrow/aidl/vts/functional/
DVtsHalRebootEscrowTargetTest.cpp69 ASSERT_TRUE(rebootescrow->storeKey(KEY_1).isOk()); in TEST_P()
72 ASSERT_TRUE(rebootescrow->retrieveKey(&actualKey).isOk()); in TEST_P()
82 ASSERT_TRUE(rebootescrow->storeKey(KEY_1).isOk()); in TEST_P()
85 ASSERT_TRUE(rebootescrow->retrieveKey(&actualKey).isOk()); in TEST_P()
88 ASSERT_TRUE(rebootescrow->retrieveKey(&actualKey).isOk()); in TEST_P()
98 ASSERT_TRUE(rebootescrow->storeKey(KEY_1).isOk()); in TEST_P()
99 ASSERT_TRUE(rebootescrow->storeKey(KEY_2).isOk()); in TEST_P()
102 ASSERT_TRUE(rebootescrow->retrieveKey(&actualKey).isOk()); in TEST_P()
116 ASSERT_TRUE(rebootescrow->retrieveKey(&actualKey).isOk()); in TEST_P()
/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp67 ASSERT_TRUE(ret.isOk()); in TEST_P()
70 ASSERT_TRUE(ret.isOk()); in TEST_P()
89 ASSERT_TRUE(ret.isOk()); in TEST_P()
92 ASSERT_TRUE(ret.isOk()); in TEST_P()
95 ASSERT_TRUE(ret.isOk()); in TEST_P()
115 ASSERT_TRUE(ret.isOk()); in TEST_P()
118 ASSERT_TRUE(ret.isOk()); in TEST_P()
133 ASSERT_TRUE(ret.isOk()); in TEST_P()
137 ASSERT_TRUE(ret.isOk()); in TEST_P()
146 ASSERT_TRUE(ret.isOk()); in TEST_P()
[all …]
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorManagerTargetTest.cpp65 ASSERT_TRUE(manager->getCapabilities(&capabilities).isOk()); in SetUp()
66 EXPECT_TRUE(manager->getVibratorIds(&vibratorIds).isOk()); in SetUp()
82 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
98 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
119 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
122 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
127 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
135 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
138 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
144 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
[all …]
/hardware/interfaces/oemlock/1.0/vts/functional/
DVtsHalOemLockV1_0TargetTest.cpp53 ASSERT_TRUE(ret.isOk()); in TEST_P()
73 ASSERT_TRUE(ret.isOk()); in TEST_P()
93 ASSERT_TRUE(get_ret.isOk()); in TEST_P()
99 ASSERT_TRUE(set_ret.isOk()); in TEST_P()
102 ASSERT_TRUE(check_set_ret.isOk()); in TEST_P()
108 ASSERT_TRUE(restore_ret.isOk()); in TEST_P()
111 ASSERT_TRUE(check_restore_ret.isOk()); in TEST_P()
130 ASSERT_TRUE(ret.isOk()); in TEST_P()
155 ASSERT_TRUE(get_ret.isOk()); in TEST_P()
166 ASSERT_TRUE(set_ret.isOk()); in TEST_P()
[all …]
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp91 EXPECT_TRUE(ret.isOk()); in TEST_P()
107 ASSERT_TRUE(ret.isOk()); in TEST_P()
122 EXPECT_TRUE(ret.isOk()); in TEST_P()
138 ASSERT_TRUE(ret.isOk()); in TEST_P()
147 EXPECT_TRUE(ret.isOk()); in TEST_P()
157 ASSERT_TRUE(ret.isOk()); in TEST_P()
191 ASSERT_TRUE(ret.isOk()); in SetUp()
228 ASSERT_TRUE(ret.isOk()); in findAndCreateEffect()
245 ASSERT_TRUE(ret.isOk()); in findEffectInstance()
258 ASSERT_TRUE(ret.isOk()); in getChannelCount()
[all …]
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp61 ASSERT_TRUE(ret.isOk()); in TEST_P()
84 ASSERT_TRUE(ret.isOk()); in TEST_P()
94 ASSERT_TRUE(ret.isOk()); in TEST_P()
111 ASSERT_TRUE(configRet.isOk()); in TEST_P()
116 ASSERT_TRUE(writeRet.isOk()); in TEST_P()
127 ASSERT_TRUE(ret.isOk()); in TEST_P()
140 ASSERT_TRUE(readRet.isOk()); in TEST_P()
155 ASSERT_TRUE(initialWriteRet.isOk()); in TEST_P()
159 ASSERT_TRUE(overwriteRet.isOk()); in TEST_P()
172 ASSERT_TRUE(readRet.isOk()); in TEST_P()
[all …]
/hardware/interfaces/gnss/1.0/vts/functional/
DVtsHalGnssV1_0TargetTest.cpp75 if (!result.isOk()) { in SetUp()
79 ASSERT_TRUE(result.isOk()); in SetUp()
149 ASSERT_TRUE(result.isOk()); in SetPositionMode()
163 EXPECT_TRUE(result.isOk()); in StartAndGetSingleLocation()
197 EXPECT_TRUE(result.isOk()); in StopAndClearLocations()
399 ASSERT_TRUE(result.isOk()); in TEST_P()
405 ASSERT_TRUE(result.isOk()); in TEST_P()
410 ASSERT_TRUE(resultVoid.isOk()); in TEST_P()
414 ASSERT_TRUE(resultVoid.isOk()); in TEST_P()
434 ASSERT_TRUE(result.isOk()); in TEST_P()
[all …]
/hardware/interfaces/cas/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp197 EXPECT_TRUE(returnStatus.isOk()); in testEventEcho()
260 if (!status.isOk() || !status) { in createCasPlugin()
264 if (!status.isOk() || !status) { in createCasPlugin()
276 if (!pluginStatus.isOk()) { in createCasPlugin()
289 if (!descramblerStatus.isOk()) { in createCasPlugin()
303 return ::testing::AssertionResult(returnVoid.isOk() && (Status::OK == sessionStatus)); in openCasSession()
359 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestInputBuffer()
363 return ::testing::AssertionResult(returnVoid.isOk()); in descrambleTestInputBuffer()
421 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestOobInput()
425 return ::testing::AssertionResult(returnVoid.isOk()); in descrambleTestOobInput()
[all …]
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test_cases.cpp63 ASSERT_TRUE(gnssMeasurement_2_0.isOk() && gnssMeasurement_1_1.isOk() && in TEST_P()
64 gnssMeasurement_1_0.isOk()); in TEST_P()
93 ASSERT_TRUE(gnssConfiguration.isOk()); in TEST_P()
98 ASSERT_TRUE(result.isOk()); in TEST_P()
109 ASSERT_TRUE(gnssConfiguration.isOk()); in TEST_P()
114 ASSERT_TRUE(result.isOk()); in TEST_P()
124 ASSERT_TRUE(gnssConfiguration.isOk()); in TEST_P()
129 ASSERT_TRUE(result.isOk()); in TEST_P()
143 ASSERT_TRUE(agnssRil_2_0.isOk()); in TEST_P()
148 ASSERT_TRUE(agnssRil_1_0.isOk()); in TEST_P()
[all …]
/hardware/interfaces/tv/cec/1.0/vts/functional/
DVtsHalTvCecV1_0TargetTest.cpp59 ASSERT_TRUE(hdmiCec->linkToDeath(hdmiCec_death_recipient, 0).isOk()); in SetUp()
121 EXPECT_TRUE(ret.isOk()); in TEST_P()
152 EXPECT_TRUE(ret.isOk()); in TEST_P()
168 EXPECT_TRUE(ret.isOk()); in TEST_P()
170 EXPECT_TRUE(ret.isOk()); in TEST_P()
172 EXPECT_TRUE(ret.isOk()); in TEST_P()
175 EXPECT_TRUE(ret.isOk()); in TEST_P()
177 EXPECT_TRUE(ret.isOk()); in TEST_P()
179 EXPECT_TRUE(ret.isOk()); in TEST_P()
184 EXPECT_TRUE(ret.isOk()); in TEST_P()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DIpaEventRelay.cpp51 if (!ret.isOk()) { in onOffloadStarted()
67 if (!ret.isOk()) { in onOffloadStopped()
73 if (!ret.isOk()) { in onOffloadStopped()
85 if (!ret.isOk()) { in onOffloadSupportAvailable()
93 if (!ret.isOk()) { in onLimitReached()
/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp75 ASSERT_TRUE(result.isOk()); in TEST_P()
91 EXPECT_TRUE(result.isOk()); in TEST_P()
97 EXPECT_TRUE(result.isOk()); in TEST_P()
102 EXPECT_TRUE(result.isOk()); in TEST_P()
107 EXPECT_TRUE(result.isOk()); in TEST_P()
114 ASSERT_TRUE(result.isOk()); in TEST_P()
126 EXPECT_TRUE(result.isOk()); in TEST_P()
133 EXPECT_TRUE(result.isOk()); in TEST_P()
137 EXPECT_TRUE(result.isOk()); in TEST_P()
140 EXPECT_TRUE(result.isOk()); in TEST_P()
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/vts/
DVtsHalBiometricsFingerprintTargetTest.cpp147 bool isOk = false; in SetUp() local
161 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
163 } while (!isOk && retries < 2); in SetUp()
165 ASSERT_TRUE(isOk); in SetUp()
170 ASSERT_TRUE(mSession->close().isOk()); in TearDown()
186 ASSERT_TRUE(mHal->getSensorProps(&sensorProps).isOk()); in TEST_P()
197 ASSERT_TRUE(mSession->enroll(hat, &cancellationSignal).isOk()); in TEST_P()
210 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
227 ASSERT_TRUE(mSession->revokeChallenge(nonexistentChallenge).isOk()); in TEST_P()
237 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
[all …]
/hardware/interfaces/biometrics/face/aidl/vts/
DVtsHalBiometricsFaceTargetTest.cpp166 bool isOk = false; in SetUp() local
180 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
182 } while (!isOk && retries < 2); in SetUp()
184 ASSERT_TRUE(isOk); in SetUp()
189 ASSERT_TRUE(mSession->close().isOk()); in TearDown()
205 ASSERT_TRUE(mHal->getSensorProps(&sensorProps).isOk()); in TEST_P()
218 .isOk()); in TEST_P()
233 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
250 ASSERT_TRUE(mSession->revokeChallenge(nonexistentChallenge).isOk()); in TEST_P()
260 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
[all …]

12345678910>>...17