Home
last modified time | relevance | path

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

/system/bt/service/test/
Dgatt_client_unittest.cc101 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
104 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
108 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
113 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
132 client_id0, uuid0); in TEST_F()
138 EXPECT_EQ(uuid0, client->GetAppIdentifier()); in TEST_F()
139 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dlow_energy_client_unittest.cc190 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
193 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
197 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
202 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
221 client_if0, uuid0); in TEST_F()
227 EXPECT_EQ(uuid0, client->GetAppIdentifier()); in TEST_F()
228 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Da2dp_source_unittest.cc180 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
183 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
193 EXPECT_EQ(uuid0, a2dp_source->GetAppIdentifier()); in TEST_F()
194 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Da2dp_sink_unittest.cc183 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
186 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
196 EXPECT_EQ(uuid0, a2dp_sink->GetAppIdentifier()); in TEST_F()
197 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dgatt_server_unittest.cc249 Uuid uuid0 = Uuid::GetRandom(); in SetUpTestService() local
255 Service service(0, true, uuid0, {}, {}); in SetUpTestService()
270 {.uuid = uuid0, in SetUpTestService()
322 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
325 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
329 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
334 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
353 server_if0, uuid0); in TEST_F()
359 EXPECT_EQ(uuid0, server->GetAppIdentifier()); in TEST_F()
360 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dlow_energy_scanner_unittest.cc215 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
218 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
223 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
244 EXPECT_EQ(uuid0, scanner->GetAppIdentifier()); in TEST_F()
245 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dlow_energy_advertiser_unittest.cc223 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
231 EXPECT_TRUE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
236 EXPECT_FALSE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
257 EXPECT_EQ(uuid0, advertiser->GetAppIdentifier()); in TEST_F()
258 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
/system/bt/btcore/test/
Dproperty_test.cc136 Uuid uuid0 = Uuid::From128BitBE({{ in TEST_F() local
140 bt_property_t* property = property_new_uuids(&uuid0, 1); in TEST_F()
142 EXPECT_EQ(0, memcmp(uuid0.To128BitBE().data(), property->val, sizeof(Uuid))); in TEST_F()
148 EXPECT_EQ(uuid0, *uuid1); in TEST_F()