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.cpp207 Result halResult = Result::UNKNOWN_ERROR; in openSession() local
209 halResult = result; in openSession()
216 EXPECT_EQ(Result::OK, halResult); in openSession()
223 auto halResult = Result::UNKNOWN_ERROR; in getAmFmRegionConfig() local
225 halResult = result; in getAmFmRegionConfig()
232 if (halResult == Result::NOT_SUPPORTED) return false; in getAmFmRegionConfig()
234 EXPECT_EQ(Result::OK, halResult); in getAmFmRegionConfig()
235 return halResult == Result::OK; in getAmFmRegionConfig()
371 Result halResult; in TEST_P() local
374 halResult = result; in TEST_P()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.cpp310 std::vector<uint32_t> halResult(alignedSizeIn<uint32_t>(sizeof(uint32_t) + configSize), 0); in getCurrentConfigImpl() local
314 &halResultSize, &halResult[0], sizeof(uint32_t), [&] { onSuccess(&halResult[1]); }); in getCurrentConfigImpl()
341 std::vector<uint8_t> halResult(static_cast<size_t>(halResultSize), 0); in getSupportedConfigsImpl() local
344 halCmd, &halResultSize, &halResult[0], 2 * sizeof(uint32_t), [&] { in getSupportedConfigsImpl()
345 uint32_t* halResult32 = reinterpret_cast<uint32_t*>(&halResult[0]); in getSupportedConfigsImpl()
520 std::vector<uint32_t> halResult(volumes.size(), 0); in setAndGetVolume() local
522 &halData[0], &halResultSize, &halResult[0]); in setAndGetVolume()
525 result.setToExternal(&halResult[0], halResultSize); in setAndGetVolume()
631 std::unique_ptr<uint8_t[]> halResult(new uint8_t[halResultSize]); in command() local
632 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()