Home
last modified time | relevance | path

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

/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp302 Result halResult = Result::NOT_INITIALIZED; in getProperties() local
304 halResult = result; in getProperties()
311 EXPECT_EQ(Result::OK, halResult); in getProperties()
318 if (hidlReturn.isOk() && halResult == Result::OK) { in getProperties()
331 Result halResult = Result::NOT_INITIALIZED; in openTuner() local
333 halResult = result; in openTuner()
340 EXPECT_EQ(Result::OK, halResult); in openTuner()
354 Result halResult = Result::NOT_INITIALIZED; in checkAntenna() local
357 halResult = result; in checkAntenna()
363 return ((halResult == Result::OK) && (halConfig.antennaConnected == true)); in checkAntenna()
[all …]
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp210 Result halResult = Result::UNKNOWN_ERROR; in openSession() local
212 halResult = result; in openSession()
219 EXPECT_EQ(Result::OK, halResult); in openSession()
226 auto halResult = Result::UNKNOWN_ERROR; in getAmFmRegionConfig() local
228 halResult = result; in getAmFmRegionConfig()
235 if (halResult == Result::NOT_SUPPORTED) return false; in getAmFmRegionConfig()
237 EXPECT_EQ(Result::OK, halResult); in getAmFmRegionConfig()
238 return halResult == Result::OK; in getAmFmRegionConfig()
374 Result halResult; in TEST_P() local
377 halResult = result; in TEST_P()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.cpp296 std::vector<uint32_t> halResult(alignedSizeIn<uint32_t>(sizeof(uint32_t) + configSize), 0); in getCurrentConfigImpl() local
300 &halResultSize, &halResult[0], sizeof(uint32_t), [&] { onSuccess(&halResult[1]); }); in getCurrentConfigImpl()
327 std::vector<uint8_t> halResult(static_cast<size_t>(halResultSize), 0); in getSupportedConfigsImpl() local
330 halCmd, &halResultSize, &halResult[0], 2 * sizeof(uint32_t), [&] { in getSupportedConfigsImpl()
331 uint32_t* halResult32 = reinterpret_cast<uint32_t*>(&halResult[0]); in getSupportedConfigsImpl()
560 std::vector<uint32_t> halResult(volumes.size(), 0); in setAndGetVolume() local
562 &halData[0], &halResultSize, &halResult[0]); in setAndGetVolume()
565 result.setToExternal(&halResult[0], halResultSize); in setAndGetVolume()
659 std::unique_ptr<uint8_t[]> halResult(new uint8_t[halResultSize]); in command() local
660 memset(&halResult[0], 0, halResultSize); in command()
[all …]
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanBusV1_0TargetTest.cpp62 Result halResult; in listen() local
64 mCanBus->listen(filter, listener, hidl_utils::fill(&halResult, &closeHandle)).assertOk(); in listen()
66 return {halResult, closeHandle}; in listen()
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp177 Result halResult = Result::NOT_INITIALIZED; in openTuner() local
179 halResult = result; in openTuner()
187 EXPECT_EQ(Result::OK, halResult); in openTuner()
193 Result halResult = Result::NOT_INITIALIZED; in openTuner() local
195 halResult = result; in openTuner()
198 EXPECT_EQ(Result::OK, halResult); in openTuner()