Home
last modified time | relevance | path

Searched refs:guid (Results 1 – 11 of 11) sorted by relevance

/packages/modules/adb/daemon/
Dmdns.cpp165 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 …]
Dusb_ffs.cpp92 usb_os_desc_guid_t guid; member
96 .guid = os_desc_guid,
/packages/modules/adb/client/pairing/tests/
Dpairing_connection_test.cpp128 .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()
Dpairing_server.cpp138 '\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()
/packages/modules/adb/proto/
Dadb_known_hosts.proto26 string guid = 1; field
/packages/modules/adb/client/
Dadb_wifi.cpp174 if (host == host_info.guid()) { in adb_wifi_is_known_host()
/packages/modules/adb/
Dsysdeps_win32.cpp916 GUID guid = WSAID_WSARECVMSG; in GetWSARecvMsgFunc() local
919 if (WSAIoctl(fh->fh_socket, SIO_GET_EXTENSION_FUNCTION_POINTER, &guid, sizeof(guid), &func, in GetWSARecvMsgFunc()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...