Searched refs:guid (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/daemon/ |
D | mdns.cpp | 165 std::string guid = "adb-"; in GenerateDeviceGuid() local 172 guid += serial + '-'; in GenerateDeviceGuid() 174 guid += RandomAlphaNumString(6); in GenerateDeviceGuid() 175 return guid; in GenerateDeviceGuid() 179 std::string guid = android::base::GetProperty("persist.adb.wifi.guid", ""); in ReadDeviceGuid() local 180 if (guid.empty()) { in ReadDeviceGuid() 181 guid = GenerateDeviceGuid(); in ReadDeviceGuid() 182 CHECK(!guid.empty()); in ReadDeviceGuid() 183 android::base::SetProperty("persist.adb.wifi.guid", guid); in ReadDeviceGuid() 185 return guid; in ReadDeviceGuid() [all …]
|
D | usb_ffs.cpp | 92 usb_os_desc_guid_t guid; member 96 .guid = os_desc_guid,
|
/system/core/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 128 .guid = "my_server_guid", 133 .guid = "my_client_guid", 204 ASSERT_EQ(strlen(peer_info->guid), strlen(client_info_.guid)); in TEST_F() 205 EXPECT_EQ(::memcmp(peer_info->guid, client_info_.guid, strlen(client_info_.guid)), 0); in TEST_F() 229 ASSERT_EQ(strlen(peer_info->guid), strlen(server_info_.guid)); in TEST_F() 230 EXPECT_EQ(::memcmp(peer_info->guid, server_info_.guid, strlen(server_info_.guid)), 0); in TEST_F() 386 ASSERT_EQ(strlen(peer_info->guid), strlen(client_info_.guid)); in TEST_F() 387 EXPECT_EQ(::memcmp(peer_info->guid, client_info_.guid, strlen(client_info_.guid)), 0); in TEST_F() 422 ASSERT_EQ(strlen(peer_info->guid), strlen(server_info_.guid)); in TEST_F() 423 EXPECT_EQ(::memcmp(peer_info->guid, server_info_.guid, strlen(server_info_.guid)), in TEST_F()
|
D | pairing_server.cpp | 138 '\0' == peer_info.guid[kPeerGuidLength - 1] && strlen(peer_info.name) > 0 && in PairingServerImpl() 139 strlen(peer_info.guid) > 0); in PairingServerImpl() 328 std::string(peer_info->guid), Data(*cert)); in connectionEventsWorker() 347 auto [fd, name, guid, cert] = std::move(*p); in connectionEventsWorker() 348 if (name.has_value() && guid.has_value() && cert.has_value() && !name->empty() && in connectionEventsWorker() 349 !guid->empty() && !cert->empty()) { in connectionEventsWorker() 356 CHECK_LE(guid->size(), kPeerGuidLength); in connectionEventsWorker() 359 strncpy(info.guid, guid->data(), guid->size()); in connectionEventsWorker() 411 '\0' != peer_info.guid[kPeerGuidLength - 1] || strlen(peer_info.name) == 0 || in create() 412 strlen(peer_info.guid) == 0) { in create()
|
/system/core/adb/proto/ |
D | adb_known_hosts.proto | 26 string guid = 1; field
|
/system/core/adb/client/ |
D | adb_wifi.cpp | 173 if (host == host_info.guid()) { in adb_wifi_is_known_host()
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 57 "base/guid.cc",
|