Home
last modified time | relevance | path

Searched refs:uuid0 (Results 1 – 7 of 7) sorted by relevance

/system/bt/service/test/
Dgatt_client_unittest.cpp115 UUID uuid0 = UUID::GetRandom(); in TEST_F() local
118 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
122 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
127 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
146 hal_uuid = uuid0.GetBlueDroid(); in TEST_F()
154 EXPECT_EQ(uuid0, client->GetAppIdentifier()); in TEST_F()
155 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Duuid_unittest.cpp137 UUID uuid0(my_uuid); in TEST() local
140 ASSERT_TRUE(uuid0.is_valid()); in TEST()
142 ASSERT_TRUE(uuid0 == uuid1); in TEST()
143 ASSERT_TRUE(UUID::kNumBytes128 == uuid0.GetShortestRepresentationSize()); in TEST()
147 UUID uuid0("000102030405060708090A0B0C0D0E0F"); in TEST() local
148 ASSERT_FALSE(uuid0.is_valid()); in TEST()
Dparcel_helpers_unittest.cpp151 UUID uuid0 = UUID::GetRandom(); in TEST() local
156 "01:23:45:67:89:ab", 5, uuid0, false); in TEST()
Dlow_energy_client_unittest.cpp317 UUID uuid0 = UUID::GetRandom(); in TEST_F() local
320 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
324 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
329 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
348 hal_uuid = uuid0.GetBlueDroid(); in TEST_F()
356 EXPECT_EQ(uuid0, client->GetAppIdentifier()); in TEST_F()
357 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dgatt_server_unittest.cpp244 UUID uuid0 = UUID::GetRandom(); in SetUpTestService() local
252 test_service_id_ = *gatt_server_->BeginServiceDeclaration(uuid0, true); in SetUpTestService()
323 UUID uuid0 = UUID::GetRandom(); in TEST_F() local
326 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
330 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
335 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
354 hal_uuid = uuid0.GetBlueDroid(); in TEST_F()
362 EXPECT_EQ(uuid0, server->GetAppIdentifier()); in TEST_F()
363 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
/system/bt/btif/src/
Dbtif_util.c121 uint32_t uuid0, uuid4; in string_to_uuid() local
125 &uuid0, &uuid1, &uuid2, &uuid3, &uuid4, &uuid5); in string_to_uuid()
129 uuid0 = htonl(uuid0); in string_to_uuid()
136 memcpy(&(p_uuid->uu[0]), &uuid0, 4); in string_to_uuid()
148 uint32_t uuid0, uuid4; in uuid_to_string_legacy() local
151 memcpy(&uuid0, &(p_uuid->uu[0]), 4); in uuid_to_string_legacy()
159 ntohl(uuid0), ntohs(uuid1), in uuid_to_string_legacy()
/system/bt/btcore/test/
Dproperty_test.cpp136 bt_uuid_t uuid0 = { in TEST_F() local
144 bt_property_t *property = property_new_uuids(&uuid0, 1); in TEST_F()
146 EXPECT_EQ(0, strcmp((const char *)uuid0.uu, (char *)property->val)); in TEST_F()