Home
last modified time | relevance | path

Searched refs:uuid1 (Results 1 – 8 of 8) sorted by relevance

/system/bt/service/test/
Duuid_unittest.cpp138 UUID uuid1(my_uuid_string); in TEST() local
141 ASSERT_TRUE(uuid1.is_valid()); in TEST()
142 ASSERT_TRUE(uuid0 == uuid1); in TEST()
150 UUID uuid1("1*90"); in TEST() local
151 ASSERT_FALSE(uuid1.is_valid()); in TEST()
154 ASSERT_FALSE(uuid1.is_valid()); in TEST()
Dgatt_client_unittest.cpp132 UUID uuid1 = UUID::GetRandom(); in TEST_F() local
136 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback)); in TEST_F()
166 hal_uuid = uuid1.GetBlueDroid(); in TEST_F()
173 EXPECT_EQ(uuid1, cb_uuid); in TEST_F()
Dparcel_helpers_unittest.cpp152 UUID uuid1 = UUID::GetRandom(); in TEST() local
157 auto char_id = GattIdentifier::CreateCharacteristicId(3, uuid1, *service_id); in TEST()
Dgatt_server_unittest.cpp245 UUID uuid1 = UUID::GetRandom(); in SetUpTestService() local
253 test_char_id_ = *gatt_server_->AddCharacteristic(uuid1, 0, 0); in SetUpTestService()
264 bt_uuid_t hal_uuid1 = uuid1.GetBlueDroid(); in SetUpTestService()
340 UUID uuid1 = UUID::GetRandom(); in TEST_F() local
344 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback)); in TEST_F()
375 hal_uuid = uuid1.GetBlueDroid(); in TEST_F()
382 EXPECT_EQ(uuid1, cb_uuid); in TEST_F()
Dlow_energy_client_unittest.cpp334 UUID uuid1 = UUID::GetRandom(); in TEST_F() local
338 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid1, callback)); in TEST_F()
371 hal_uuid = uuid1.GetBlueDroid(); in TEST_F()
378 EXPECT_EQ(uuid1, cb_uuid); in TEST_F()
/system/bt/btif/src/
Dbtif_util.c122 uint16_t uuid1, uuid2, uuid3, uuid5; in string_to_uuid() local
125 &uuid0, &uuid1, &uuid2, &uuid3, &uuid4, &uuid5); in string_to_uuid()
130 uuid1 = htons(uuid1); in string_to_uuid()
137 memcpy(&(p_uuid->uu[4]), &uuid1, 2); in string_to_uuid()
149 uint16_t uuid1, uuid2, uuid3, uuid5; in uuid_to_string_legacy() local
152 memcpy(&uuid1, &(p_uuid->uu[4]), 2); in uuid_to_string_legacy()
159 ntohl(uuid0), ntohs(uuid1), in uuid_to_string_legacy()
Dbtif_gatt_test.c271 btif_to_bta_uuid(&param.service, params->uuid1); in btif_gattc_test_command_impl()
/system/bt/btcore/test/
Dproperty_test.cpp151 const bt_uuid_t *uuid1 = property_as_uuids(property, &uuid_cnt1); in TEST_F() local
152 EXPECT_EQ(0, memcmp(uuid1->uu, uuid1->uu, sizeof(bt_uuid_t))); in TEST_F()