Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_types_test.cc59 LeAudioLtvMap ltv_map = in TEST() local
61 auto hash_one = ltv_map.GetHash(); in TEST()
64 ASSERT_FALSE(ltv_map.IsEmpty()); in TEST()
65 ASSERT_EQ((size_t)3, ltv_map.Size()); in TEST()
67 ASSERT_TRUE(ltv_map.Find(0x03)); in TEST()
68 ASSERT_THAT(*(ltv_map.Find(0x03)), ElementsAre(0xde, 0xc0, 0xd0)); in TEST()
79 ltv_map.Append(ltv_map2); in TEST()
80 ASSERT_NE(ltv_map.GetHash(), 0lu); in TEST()
81 ASSERT_NE(ltv_map.GetHash(), hash_one); in TEST()
82 ASSERT_NE(ltv_map.GetHash(), hash_two); in TEST()
[all …]
Dle_audio_types.cc466 LeAudioLtvMap ltv_map; in Parse() local
467 success = ltv_map.Parse(p_value, len); in Parse()
471 return ltv_map; in Parse()
Ddevices_test.cc431 auto ltv_map = LeAudioLtvMap(); in Add() local
432 ltv_map in Add()
447 ? ltv_map in Add()
449 .codec_spec_caps_raw = ltv_map.RawPacket(), in Add()
461 auto ltv_map = LeAudioLtvMap({ in Add() local
477 ? ltv_map in Add()
479 .codec_spec_caps_raw = ltv_map.RawPacket(), in Add()
Dstate_machine_test.cc906 auto ltv_map = types::LeAudioLtvMap({ local
931 .codec_spec_caps = ltv_map,
932 .codec_spec_caps_raw = ltv_map.RawPacket(),
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_utils_unittest.cc192 auto ltv_map = PrepareStackCapability( in PrepareStackPacRecord() local
197 .codec_spec_caps = ltv_map, in PrepareStackPacRecord()
198 .codec_spec_caps_raw = ltv_map.RawPacket(), in PrepareStackPacRecord()