Searched refs:local_name (Results 1 – 9 of 9) 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() 139 l->local_name.c_str(), l->connect_to.c_str()); in format_listeners() 144 InstallStatus remove_listener(const char* local_name, atransport* transport) in remove_listener() argument 148 if (local_name == (*iter)->local_name) { in remove_listener() 182 return listener->local_name == "*smartsocket*"; in close_smartsockets() 188 InstallStatus install_listener(const std::string& local_name, const char* connect_to, in install_listener() argument 193 if (local_name == l->local_name) { in install_listener() 216 auto listener = std::make_unique<alistener>(local_name, connect_to); in install_listener() 219 listener->fd = socket_spec_listen(listener->local_name, error, &resolved); in install_listener() [all …]
|
D | adb_listeners.h | 37 InstallStatus install_listener(const std::string& local_name, const char* connect_to, 43 InstallStatus remove_listener(const char* local_name, atransport* transport);
|
/system/bt/gd/hci/facade/ |
D | controller_facade.cc | 52 std::string local_name = controller_->GetControllerLocalName(); in GetLocalName() local 53 response->set_name(local_name); in GetLocalName()
|
/system/bt/gd/hci/ |
D | controller.cc | 401 void write_local_name(std::string local_name) { in write_local_name() 402 ASSERT(local_name.length() <= 248); in write_local_name() 404 local_name.append(std::string(248 - local_name.length(), '\0')); in write_local_name() 406 std::copy(std::begin(local_name), std::end(local_name), std::begin(local_name_array)); in write_local_name() 868 void Controller::WriteLocalName(std::string local_name) { in WriteLocalName() argument 869 impl_->local_name_ = local_name; in WriteLocalName() 870 CallOn(impl_.get(), &impl::write_local_name, local_name); in WriteLocalName()
|
D | controller.h | 83 virtual void WriteLocalName(std::string local_name);
|
D | controller_test.cc | 80 std::array<uint8_t, 248> local_name = {'D', 'U', 'T', '\0'}; in HandleCommand() local 81 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand()
|
D | hci_packets.pdl | 1532 local_name : 8[248], // Null-terminated UTF-8 encoded name 1544 local_name : 8[248], // Null-terminated UTF-8 encoded name
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 94 static void bta_dm_set_eir(char* local_name); 3268 static void bta_dm_set_eir(char* local_name) { in bta_dm_set_eir() argument 3292 if (local_name == NULL) { in bta_dm_set_eir() 3293 if (BTM_ReadLocalDeviceName(&local_name) != BTM_SUCCESS) { in bta_dm_set_eir() 3307 if (local_name) in bta_dm_set_eir() 3308 local_name_len = strlen(local_name); in bta_dm_set_eir() 3329 local_name, p_bta_dm_eir_cfg->bta_dm_eir_min_name_len); in bta_dm_set_eir() 3341 if (local_name != NULL) { in bta_dm_set_eir() 3342 memcpy(p, local_name, local_name_len); in bta_dm_set_eir()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | dual_mode_controller.cc | 1110 std::array<uint8_t, 248> local_name{}; in ReadLocalName() local 1111 local_name.fill(0x00); in ReadLocalName() 1116 std::copy_n(properties_.GetName().begin(), len, local_name.begin()); in ReadLocalName() 1119 kNumCommandPackets, ErrorCode::SUCCESS, local_name); in ReadLocalName() 1126 const auto local_name = command_view.GetLocalName(); in WriteLocalName() local 1129 name_vec[i] = local_name[i]; in WriteLocalName()
|