Searched refs:allIds (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/broadcastradio/common/utilsaidl/test/ |
D | BroadcastRadioUtilsTest.cpp | 240 std::vector<int64_t> allIds = utils::getAllIds(sel, IdentifierType::AMFM_FREQUENCY_KHZ); in TEST() local 242 ASSERT_EQ(allIds.size(), 2u); in TEST() 243 EXPECT_NE(std::find(allIds.begin(), allIds.end(), kFmFrequencyKHz), allIds.end()); in TEST() 244 EXPECT_NE(std::find(allIds.begin(), allIds.end(), secondaryFrequencyKHz), allIds.end()); in TEST() 250 std::vector<int64_t> allIds = utils::getAllIds(sel, IdentifierType::DAB_SID_EXT); in TEST() local 252 ASSERT_EQ(allIds.size(), 1u); in TEST() 253 EXPECT_NE(std::find(allIds.begin(), allIds.end(), kDabSidExt), allIds.end()); in TEST()
|
/hardware/interfaces/audio/aidl/vts/ |
D | VtsHalAudioCoreModuleTargetTest.cpp | 136 std::vector<int32_t> GetNonExistentIds(const C& allIds, bool includeZero = true) { in GetNonExistentIds() argument 137 if (allIds.empty()) { in GetNonExistentIds() 141 if (auto value = *std::min_element(allIds.begin(), allIds.end()) - 1; in GetNonExistentIds() 147 if (auto value = *std::max_element(allIds.begin(), allIds.end()) + 1; in GetNonExistentIds()
|