Home
last modified time | relevance | path

Searched refs:local_name (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dadb_listeners.cpp48 std::string local_name; member in alistener
58 : local_name(_local_name), connect_to(_connect_to) { in alistener()
141 l->local_name.c_str(), l->connect_to.c_str()); in format_listeners()
146 InstallStatus remove_listener(const char* local_name, atransport* transport) in remove_listener() argument
150 if (local_name == (*iter)->local_name) { in remove_listener()
174 return listener->local_name == "*smartsocket*"; in close_smartsockets()
179 InstallStatus install_listener(const std::string& local_name, const char* connect_to, in install_listener() argument
184 if (local_name == l->local_name) { in install_listener()
207 auto listener = std::make_unique<alistener>(local_name, connect_to); in install_listener()
210 listener->fd = socket_spec_listen(listener->local_name, error, &resolved); in install_listener()
[all …]
Dadb_listeners.h35 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/
Dmain.cpp162 std::string local_name = in drop_privileges() local
164 if (install_listener(local_name, "*smartsocket*", nullptr, 0, nullptr, &error)) { in drop_privileges()
/system/bt/vendor_libs/test_vendor_lib/src/
Devent_packet.cc116 uint8_t status, const std::string& local_name) { in CreateCommandCompleteReadLocalName() argument
121 for (size_t i = 0; i < local_name.length(); i++) in CreateCommandCompleteReadLocalName()
122 CHECK(evt_ptr->AddPayloadOctets1(local_name[i])); in CreateCommandCompleteReadLocalName()
124 for (size_t i = 0; i < 248 - local_name.length() - 1; i++) in CreateCommandCompleteReadLocalName()
/system/bt/vendor_libs/test_vendor_lib/include/
Devent_packet.h70 uint8_t status, const std::string& local_name);
/system/bt/bta/dm/
Dbta_dm_act.cc89 static void bta_dm_set_eir(char* local_name);
3239 static void bta_dm_set_eir(char* local_name) { in bta_dm_set_eir() argument
3263 if (local_name == NULL) { in bta_dm_set_eir()
3264 if (BTM_ReadLocalDeviceName(&local_name) != BTM_SUCCESS) { in bta_dm_set_eir()
3278 if (local_name) in bta_dm_set_eir()
3279 local_name_len = strlen(local_name); in bta_dm_set_eir()
3300 local_name, p_bta_dm_eir_cfg->bta_dm_eir_min_name_len); in bta_dm_set_eir()
3312 if (local_name != NULL) { in bta_dm_set_eir()
3313 memcpy(p, local_name, local_name_len); in bta_dm_set_eir()