Home
last modified time | relevance | path

Searched refs:device_ids (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/discovery/device/
Deir_data_unittest.cc122 std::vector<std::vector<uint8_t>> device_ids; in TEST() local
123 ASSERT_TRUE(eir_data.GetDeviceId(device_ids)); in TEST()
124 ASSERT_EQ(1U, device_ids.size()); in TEST()
125 ASSERT_EQ(0x01, device_ids[0][0]); in TEST()
196 std::vector<std::vector<uint8_t>> device_ids; in TEST() local
197 ASSERT_TRUE(eir_data.GetDeviceId(device_ids)); in TEST()
198 ASSERT_EQ(v1.size(), device_ids[0].size()); in TEST()
199 ASSERT_THAT(v1, testing::ContainerEq(device_ids[0])); in TEST()
Deir_data.cc138 bool EirData::GetDeviceId(std::vector<std::vector<uint8_t>>& device_ids) const { in GetDeviceId()
141 device_ids.push_back(gap_data.data_); in GetDeviceId()
144 return !device_ids.empty(); in GetDeviceId()