Home
last modified time | relevance | path

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

/system/bt/service/
Dlow_energy_client.cpp80 bool ProcessUUID(const uint8_t* uuid_data, size_t uuid_len, UUID* out_uuid) { in ProcessUUID() argument
89 uuid_bytes[uuid_len - i - 1] = uuid_data[i]; in ProcessUUID()
94 uuid_bytes[uuid_len - i - 1] = uuid_data[i]; in ProcessUUID()
99 uuid_bytes[uuid_len - i - 1] = uuid_data[i]; in ProcessUUID()
199 const uint8_t* uuid_data = data.data() + i + 2; in ProcessAdvertiseData() local
202 if (!ProcessUUID(uuid_data, uuid_len, &uuid)) in ProcessAdvertiseData()
/system/bt/service/test/
Dlow_energy_client_unittest.cpp150 const std::vector<uint8_t>& uuid_data() const { return uuid_data_; } in uuid_data() function in bluetooth::__anond33f6f700111::AdvertiseDataHandler
805 EXPECT_EQ(uuid_16bit_canonical, adv_handler->uuid_data()); in TEST_F()
815 EXPECT_EQ(uuid_32bit_canonical, adv_handler->uuid_data()); in TEST_F()
825 EXPECT_EQ(uuid_128bit, adv_handler->uuid_data()); in TEST_F()
835 EXPECT_EQ(uuid_16bit_canonical, adv_handler->uuid_data()); in TEST_F()
843 EXPECT_EQ(uuid_32bit_canonical, adv_handler->uuid_data()); in TEST_F()
851 EXPECT_EQ(uuid_128bit, adv_handler->uuid_data()); in TEST_F()
858 EXPECT_EQ(uuid_32bit_canonical, adv_handler->uuid_data()); in TEST_F()