Home
last modified time | relevance | path

Searched refs:halResult (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp300 Result halResult = Result::NOT_INITIALIZED; in getProperties() local
302 halResult = result; in getProperties()
309 EXPECT_EQ(Result::OK, halResult); in getProperties()
316 if (hidlReturn.isOk() && halResult == Result::OK) { in getProperties()
329 Result halResult = Result::NOT_INITIALIZED; in openTuner() local
331 halResult = result; in openTuner()
338 EXPECT_EQ(Result::OK, halResult); in openTuner()
352 Result halResult = Result::NOT_INITIALIZED; in checkAntenna() local
355 halResult = result; in checkAntenna()
361 return ((halResult == Result::OK) && (halConfig.antennaConnected == true)); in checkAntenna()
[all …]
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp209 Result halResult = Result::UNKNOWN_ERROR; in openSession() local
211 halResult = result; in openSession()
218 EXPECT_EQ(Result::OK, halResult); in openSession()
225 auto halResult = Result::UNKNOWN_ERROR; in getAmFmRegionConfig() local
227 halResult = result; in getAmFmRegionConfig()
234 if (halResult == Result::NOT_SUPPORTED) return false; in getAmFmRegionConfig()
236 EXPECT_EQ(Result::OK, halResult); in getAmFmRegionConfig()
237 return halResult == Result::OK; in getAmFmRegionConfig()
373 Result halResult; in TEST_F() local
376 halResult = result; in TEST_F()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.cpp308 uint32_t halResult[alignedSizeIn<uint32_t>(sizeof(uint32_t) + configSize)]; in getCurrentConfigImpl() local
309 memset(halResult, 0, sizeof(halResult)); in getCurrentConfigImpl()
312 sizeof(uint32_t), &halCmd, &halResultSize, halResult, in getCurrentConfigImpl()
313 sizeof(uint32_t), [&] { onSuccess(&halResult[1]); }); in getCurrentConfigImpl()
340 uint8_t halResult[halResultSize]; in getSupportedConfigsImpl() local
341 memset(&halResult[0], 0, halResultSize); in getSupportedConfigsImpl()
344 halCmd, &halResultSize, &halResult[0], 2 * sizeof(uint32_t), [&] { in getSupportedConfigsImpl()
345 uint32_t* halResult32 = reinterpret_cast<uint32_t*>(&halResult[0]); in getSupportedConfigsImpl()
520 uint32_t halResult[volumes.size()]; in setAndGetVolume() local
522 &halData[0], &halResultSize, halResult); in setAndGetVolume()
[all …]
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp178 Result halResult = Result::NOT_INITIALIZED; in openTuner() local
180 halResult = result; in openTuner()
188 EXPECT_EQ(Result::OK, halResult); in openTuner()
194 Result halResult = Result::NOT_INITIALIZED; in openTuner() local
196 halResult = result; in openTuner()
199 EXPECT_EQ(Result::OK, halResult); in openTuner()