Home
last modified time | relevance | path

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

/system/bt/service/test/
Dgatt_client_unittest.cc102 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
105 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
109 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
114 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
133 client_id0, uuid0); in TEST_F()
139 EXPECT_EQ(uuid0, client->GetAppIdentifier()); in TEST_F()
140 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dlow_energy_client_unittest.cc192 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
195 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
199 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
204 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
223 client_if0, uuid0); in TEST_F()
229 EXPECT_EQ(uuid0, client->GetAppIdentifier()); in TEST_F()
230 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.cc250 Uuid uuid0 = Uuid::GetRandom(); in SetUpTestService() local
256 Service service(0, true, uuid0, {}, {}); in SetUpTestService()
271 {.uuid = uuid0, 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 server_if0, uuid0); in TEST_F()
360 EXPECT_EQ(uuid0, server->GetAppIdentifier()); in TEST_F()
361 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dlow_energy_scanner_unittest.cc220 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
223 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
228 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
250 EXPECT_EQ(uuid0, scanner->GetAppIdentifier()); in TEST_F()
251 EXPECT_EQ(uuid0, cb_uuid); in TEST_F()
Dlow_energy_advertiser_unittest.cc225 Uuid uuid0 = Uuid::GetRandom(); in TEST_F() local
233 EXPECT_TRUE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
238 EXPECT_FALSE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
259 EXPECT_EQ(uuid0, advertiser->GetAppIdentifier()); in TEST_F()
260 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()