Searched refs:local_name (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/ |
D | adb_listeners.cpp | 48 std::string local_name; member in alistener 58 : local_name(_local_name), connect_to(_connect_to) { in alistener() 137 l->local_name.c_str(), l->connect_to.c_str()); in format_listeners() 142 InstallStatus remove_listener(const char* local_name, atransport* transport) in remove_listener() argument 146 if (local_name == (*iter)->local_name) { in remove_listener() 170 return listener->local_name == "*smartsocket*"; in close_smartsockets() 175 InstallStatus install_listener(const std::string& local_name, const char* connect_to, in install_listener() argument 180 if (local_name == l->local_name) { in install_listener() 203 auto listener = std::make_unique<alistener>(local_name, connect_to); in install_listener() 206 listener->fd = socket_spec_listen(listener->local_name, error, &resolved); in install_listener() [all …]
|
D | adb_listeners.h | 35 InstallStatus install_listener(const std::string& local_name, const char* connect_to, 41 InstallStatus remove_listener(const char* local_name, atransport* transport);
|
/system/core/adb/daemon/ |
D | main.cpp | 173 std::string local_name = in drop_privileges() local 175 if (install_listener(local_name, "*smartsocket*", nullptr, 0, nullptr, &error)) { in drop_privileges()
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 92 static void bta_dm_set_eir(char* local_name); 3261 static void bta_dm_set_eir(char* local_name) { in bta_dm_set_eir() argument 3285 if (local_name == NULL) { in bta_dm_set_eir() 3286 if (BTM_ReadLocalDeviceName(&local_name) != BTM_SUCCESS) { in bta_dm_set_eir() 3300 if (local_name) in bta_dm_set_eir() 3301 local_name_len = strlen(local_name); in bta_dm_set_eir() 3322 local_name, p_bta_dm_eir_cfg->bta_dm_eir_min_name_len); in bta_dm_set_eir() 3334 if (local_name != NULL) { in bta_dm_set_eir() 3335 memcpy(p, local_name, local_name_len); in bta_dm_set_eir()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | event_packet_builder.cc | 143 hci::Status status, const std::vector<uint8_t>& local_name) { in CreateCommandCompleteReadLocalName() argument 147 size_t len = local_name.size(); in CreateCommandCompleteReadLocalName() 151 CHECK(evt_ptr->AddPayloadOctets(len, local_name)); in CreateCommandCompleteReadLocalName()
|
D | event_packet_builder.h | 91 … const std::vector<uint8_t>& local_name);
|