Searched refs:local_name (Results 1 – 10 of 10) sorted by relevance
/system/bt/gd/rust/hci/src/ |
D | controller_facade.rs | 52 let mut builder = WriteLocalNameBuilder { local_name: [0; 248] }; in write_local_name() 53 builder.local_name[0..req.get_name().len()].copy_from_slice(req.get_name()); in write_local_name() 63 let local_name = null_terminated_to_string( in get_local_name() localVariable 68 msg.set_name(local_name); in get_local_name()
|
/system/bt/gd/hci/facade/ |
D | controller_facade.cc | 52 std::string local_name = controller_->GetLocalName(); in GetLocalName() local 53 response->set_name(local_name); in GetLocalName()
|
/system/bt/gd/hci/ |
D | controller.cc | 485 void write_local_name(std::string local_name) { in write_local_name() 486 ASSERT(local_name.length() <= 248); in write_local_name() 488 local_name.append(std::string(248 - local_name.length(), '\0')); in write_local_name() 490 std::copy(std::begin(local_name), std::end(local_name), std::begin(local_name_array)); in write_local_name() 1010 void Controller::WriteLocalName(std::string local_name) { in WriteLocalName() argument 1011 impl_->local_name_ = local_name; in WriteLocalName() 1012 CallOn(impl_.get(), &impl::write_local_name, local_name); in WriteLocalName()
|
D | controller_mock.h | 106 MOCK_METHOD(void, WriteLocalName, (std::string local_name));
|
D | controller.h | 124 virtual void WriteLocalName(std::string local_name);
|
D | controller_test.cc | 84 std::array<uint8_t, 248> local_name = {'D', 'U', 'T', '\0'}; in HandleCommand() local 85 … event_builder = ReadLocalNameCompleteBuilder::Create(num_packets, ErrorCode::SUCCESS, local_name); in HandleCommand()
|
D | hci_packets.pdl | 1800 local_name : 8[248], // Null-terminated UTF-8 encoded name 1812 local_name : 8[248], // Null-terminated UTF-8 encoded name
|
/system/bt/btif/src/ |
D | bluetooth.cc | 747 char* local_name; in invoke_oob_data_request_cb() local 748 BTM_ReadLocalDeviceName(&local_name); in invoke_oob_data_request_cb() 750 oob_data.device_name[i] = local_name[i]; in invoke_oob_data_request_cb()
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 91 static void bta_dm_set_eir(char* local_name); 2849 static void bta_dm_set_eir(char* local_name) { in bta_dm_set_eir() argument 2873 if (local_name == NULL) { in bta_dm_set_eir() 2874 if (BTM_ReadLocalDeviceName(&local_name) != BTM_SUCCESS) { in bta_dm_set_eir() 2888 if (local_name) in bta_dm_set_eir() 2889 local_name_len = strlen(local_name); in bta_dm_set_eir() 2910 local_name, p_bta_dm_eir_cfg->bta_dm_eir_min_name_len); in bta_dm_set_eir() 2922 if (local_name != NULL) { in bta_dm_set_eir() 2923 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 | 1270 std::array<uint8_t, 248> local_name{}; in ReadLocalName() local 1271 local_name.fill(0x00); in ReadLocalName() 1276 std::copy_n(properties_.GetName().begin(), len, local_name.begin()); in ReadLocalName() 1279 kNumCommandPackets, ErrorCode::SUCCESS, local_name); in ReadLocalName() 1286 const auto local_name = command_view.GetLocalName(); in WriteLocalName() local 1289 name_vec[i] = local_name[i]; in WriteLocalName()
|