Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/packages/modules/Bluetooth/system/gd/storage/
Dclassic_device_test.cc40 ClassicDevice device(&config, &memory_only_config, address.ToString()); in TEST()
48 ClassicDevice device(&config, &memory_only_config, address.ToString()); in TEST()
60 ClassicDevice device1(&config, &memory_only_config, address.ToString()); in TEST()
61 ClassicDevice device2(&config, &memory_only_config, address.ToString()); in TEST()
64 ClassicDevice device3(&config, &memory_only_config, address3.ToString()); in TEST()
93 …ssicDevice device1(smaller_config_ptr, smaller_memory_only_config_ptr, smaller_address.ToString()); in TEST()
94 …ClassicDevice device2(larger_config_ptr, larger_memory_only_config_ptr, larger_address.ToString()); in TEST()
99 …assicDevice device1(larger_config_ptr, smaller_memory_only_config_ptr, smaller_address.ToString()); in TEST()
100 …lassicDevice device2(smaller_config_ptr, larger_memory_only_config_ptr, larger_address.ToString()); in TEST()
105 …assicDevice device1(smaller_config_ptr, larger_memory_only_config_ptr, smaller_address.ToString()); in TEST()
[all …]
Dle_device_test.cc40 LeDevice device(&config, &memory_only_config, address.ToString()); in TEST()
48 LeDevice device(&config, &memory_only_config, address.ToString()); in TEST()
60 LeDevice device1(&config, &memory_only_config, address.ToString()); in TEST()
61 LeDevice device2(&config, &memory_only_config, address.ToString()); in TEST()
64 LeDevice device3(&config, &memory_only_config, address3.ToString()); in TEST()
93 … LeDevice device1(smaller_config_ptr, smaller_memory_only_config_ptr, smaller_address.ToString()); in TEST()
94 LeDevice device2(larger_config_ptr, larger_memory_only_config_ptr, larger_address.ToString()); in TEST()
99 LeDevice device1(larger_config_ptr, smaller_memory_only_config_ptr, smaller_address.ToString()); in TEST()
100 LeDevice device2(smaller_config_ptr, larger_memory_only_config_ptr, larger_address.ToString()); in TEST()
105 LeDevice device1(smaller_config_ptr, larger_memory_only_config_ptr, smaller_address.ToString()); in TEST()
[all …]
Ddevice_test.cc49 config.SetProperty(address2.ToString(), "Name", "hello"); in TEST()
74 config.SetProperty(address2.ToString(), "Name", "hello"); in TEST()
101 config.SetProperty(pseudo_first_seen_address.ToString(), "Name", "hello"); in TEST()
102 …config.SetProperty(pseudo_first_seen_address.ToString(), "LeIdentityAddr", le_identity_address.ToS… in TEST()
103 config.SetProperty(address.ToString(), "Name", "world"); in TEST()
220 config.SetProperty(address.ToString(), "Name", "hello"); in TEST()
229 config.SetProperty(address.ToString(), "Name", "hello"); in TEST()
237 ASSERT_FALSE(config.GetProperty(address.ToString(), "Name")); in TEST()
265 Device device1(smaller_config_ptr, smaller_memory_only_config_ptr, smaller_address.ToString()); in TEST()
266 Device device2(larger_config_ptr, larger_memory_only_config_ptr, larger_address.ToString()); in TEST()
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_dm_cust_uuid_test.cc46 ASSERT_STREQ(uuid1.ToString().c_str(), curr0.custom_uuid.ToString().c_str()); in TEST_F()
49 ASSERT_STREQ(uuid2.ToString().c_str(), curr1.custom_uuid.ToString().c_str()); in TEST_F()
55 ASSERT_STREQ(Uuid::kEmpty.ToString().c_str(), curr0.custom_uuid.ToString().c_str()); in TEST_F()
58 ASSERT_STREQ(Uuid::kEmpty.ToString().c_str(), curr1.custom_uuid.ToString().c_str()); in TEST_F()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_profile_storage.cc140 std::string bdstr = link_spec.addrt.bda.ToString(); in btif_storage_add_hid_device_info()
169 auto name = link_spec.addrt.bda.ToString(); in btif_storage_load_bonded_hid_device()
226 auto name = link_spec.addrt.bda.ToString(); in btif_storage_load_bonded_hogp_device()
285 auto name = bd_addr.ToString(); in btif_storage_load_bonded_hid_info()
323 std::string bdstr = link_spec.addrt.bda.ToString(); in btif_storage_remove_hid_info()
404 auto name = bd_addr.ToString(); in btif_storage_get_le_hid_devices()
421 auto name = bd_addr.ToString(); in btif_storage_get_wake_capable_classic_hid_devices()
448 std::string bdstr = dev_info.address.ToString(); in btif_storage_add_hearing_aid()
490 const std::string& name = bd_addr.ToString(); in btif_storage_load_bonded_hearing_aids()
595 std::string addrstr = address.ToString(); in btif_storage_remove_hearing_aid()
[all …]
Dbtif_profile_queue.cc56 std::string ToString() const { in ToString() function in ConnectNode
108 param.ToString()); in queue_int_add()
113 log::info("Queueing profile connection request:{}", param.ToString()); in queue_int_add()
123 log::info("removing connection request: {}", head.ToString()); in queue_int_advance()
136 log::info("removing connection request: {}", node.ToString()); in queue_int_cleanup()
198 log::info("Executing profile connection request:{}", head.ToString()); in btif_queue_connect_next()
202 head.ToString()); in btif_queue_connect_next()
Dbtif_storage.cc116 std::string bdstr = remote_bd_addr->ToString(); in btif_storage_set_mode()
126 bdstr = remote_bd_addr->ToString(); in prop2cfg()
176 val += (reinterpret_cast<Uuid*>(prop->val) + i)->ToString() + " "; in prop2cfg()
231 bdstr = remote_bd_addr->ToString(); in cfg2prop()
461 auto name = bd_addr.ToString(); in btif_in_fetch_bonded_devices()
815 std::string bdstr = remote_bd_addr->ToString(); in btif_storage_add_bonded_device()
841 std::string bdstr = remote_bd_addr->ToString(); in btif_storage_remove_bonded_device()
866 auto name = bd_addr.ToString(); in remove_devices_with_sample_ltk()
1146 bool ret = btif_config_set_bin(remote_bd_addr->ToString(), key.name, in btif_storage_add_ble_bonding_key()
1178 bool ret = btif_config_get_bin(remote_bd_addr.ToString(), key.name, in btif_storage_get_ble_bonding_key()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient.cc67 using bluetooth::common::ToString;
341 ToString(new_configuration_context)); in ReconfigureAfterVbcClose()
497 group_id, ToString(group->GetState()), in OnLeAudioDeviceSetStateTimeout()
498 ToString(group->GetTargetState()), check_if_recovery_needed); in OnLeAudioDeviceSetStateTimeout()
571 "r_state: " + ToString(audio_receiver_state_) + in SuspendedForReconfiguration()
572 "s_state: " + ToString(audio_sender_state_)); in SuspendedForReconfiguration()
579 "r_state: " + ToString(audio_receiver_state_) + in SuspendedForReconfiguration()
580 "s_state: " + ToString(audio_sender_state_)); in SuspendedForReconfiguration()
590 "r_state: " + ToString(audio_receiver_state_) + in ReconfigurationComplete()
591 "s_state: " + ToString(audio_sender_state_)); in ReconfigurationComplete()
[all …]
Dstate_machine.cc94 using bluetooth::common::ToString;
163 group->group_id_, ToString(group->GetState()), in AttachToStream()
164 ToString(group->GetTargetState())); in AttachToStream()
197 log::info("current state: {}", ToString(group->GetState())); in StartStream()
277 log::error("Unable to transit from {}", ToString(group->GetState())); in StartStream()
291 ToString(group->GetState())); in ConfigureStream()
373 group->group_id_, in_transition, ToString(target_state)); in ProcessGattCtpNotification()
401 group->group_id_, in_transition, ToString(target_state)); in ProcessGattCtpNotification()
420 leAudioDevice->address_, ase->id, ToString(ase->state), in ProcessGattNotifEvent()
421 ToString(state)); in ProcessGattNotifEvent()
[all …]
Dcontent_control_id_keeper.cc30 using bluetooth::common::ToString;
44 log::error("Unknownd context type {}", ToString(context_type)); in SetCcid()
48 log::debug("Ccid: {}, context type {}", ccid, ToString(context_type)); in SetCcid()
78 log::error("Unknownd context type {}", ToString(context_type)); in GetCcid()
83 log::debug("No CCID for context {}", ToString(context_type)); in GetCcid()
Ddevice_groups.h60 log::verbose("{} -> {}", bluetooth::common::ToString(state_), in SetState()
61 bluetooth::common::ToString(state)); in SetState()
253 bluetooth::common::ToString(current_state_), in SetState()
254 bluetooth::common::ToString(state), in_transition_); in SetState()
257 bluetooth::common::ToString(current_state_) + "->" + in SetState()
258 bluetooth::common::ToString(state)); in SetState()
276 bluetooth::common::ToString(target_state_), in SetTargetState()
277 bluetooth::common::ToString(state), in_transition_); in SetTargetState()
281 bluetooth::common::ToString(target_state_) + "->" + in SetTargetState()
282 bluetooth::common::ToString(state)); in SetTargetState()
Dle_audio_health_status.cc29 using bluetooth::common::ToString;
63 log::debug("{}, {}", address, ToString(type)); in AddStatisticForDevice()
112 log::debug("group_id: {}, {}", group_id, ToString(type)); in AddStatisticForGroup()
235 log::debug("{}, {}", address, ToString(recommendation)); in send_recommendation_for_device()
244 log::debug("group_id: {}, {}", group_id, ToString(recommendation)); in send_recommendation_for_group()
304 log::debug("in_allowlist: {}, type: {}", in_allowlist, ToString(type)); in log_counter_metrics_for_device()
350 log::debug("in_allowlist: {}, type: {}", in_allowlist, ToString(type)); in log_counter_metrics_for_group()
Ddevices.cc408 bluetooth::common::ToString(connection_state_), in SetConnectionState()
409 bluetooth::common::ToString(state)); in SetConnectionState()
412 bluetooth::common::ToString(connection_state_) + " -> ", in SetConnectionState()
413 "->" + bluetooth::common::ToString(state)); in SetConnectionState()
524 debug_str << pac.codec_spec_caps.ToString( in RegisterPACs()
746 bluetooth::common::ToString(ase.state)); in HaveAllActiveAsesSameState()
759 bluetooth::common::ToString(ase.data_path_state)); in HaveAllActiveAsesSameDataPathState()
772 bluetooth::common::ToString(ase.state), ase.direction); in IsReadyToCreateStream()
823 bluetooth::common::ToString(ase.cis_state), ase.direction); in HaveAllActiveAsesCisEst()
859 bluetooth::common::ToString(pac.codec_id)); in GetSupportedAudioChannelCounts()
[all …]
/packages/modules/Bluetooth/system/test/headless/
Dinterface.h62 virtual std::string ToString() const = 0;
77 virtual std::string ToString() const override { in ToString() function
146 std::string ToString() const override { in ToString() function
150 bt_status_text(status), remote_bd_addr.ToString(), in ToString()
170 std::string ToString() const override { in ToString() function
188 std::string ToString() const override { in ToString() function
211 std::string ToString() const override { in ToString() function
213 bt_status_text(status), bd_addr.ToString(), in ToString()
226 std::string ToString() const override { in ToString() function
Dproperty.h69 virtual std::string ToString() const = 0;
103 virtual std::string ToString() const override { in ToString() function
124 virtual std::string ToString() const override { in ToString() function
142 virtual std::string ToString() const override { in ToString() function
160 virtual std::string ToString() const override { in ToString() function
161 return fmt::format("bd_addr:{}", get_addr().ToString()); in ToString()
176 virtual std::string ToString() const override { in ToString() function
192 virtual std::string ToString() const override { in ToString() function
Dstopwatch.h40 std::string ToString() { return ToString(""); } in ToString() function
42 std::string ToString(const std::string& comment) { in ToString() function
/packages/modules/Bluetooth/system/gd/
Dmodule.cc93 log::info("Starting dependencies of {}", instance->ToString()); in Start()
97 log::info("Finished starting dependencies and calling Start() of {}", instance->ToString()); in Start()
99 last_instance_ = "starting " + instance->ToString(); in Start()
103 log::info("Started {}", instance->ToString()); in Start()
113 last_instance_ = "stopping " + instance->second->ToString(); in StopAll()
116 log::info("Stopping Handler of Module {}", instance->second->ToString()); in StopAll()
119 log::info("Stopping Module {}", instance->second->ToString()); in StopAll()
/packages/modules/Bluetooth/system/gd/common/
Dstrings_test.cc38 using bluetooth::common::ToString;
177 ASSERT_THAT(ToString(int64_t(2147483648)), StrEq("2147483648")); in TEST()
180 ASSERT_THAT(ToString(int64_t(-2147483649)), StrEq("-2147483649")); in TEST()
183 ASSERT_THAT(ToString(int64_t(9223372036854775807)), StrEq("9223372036854775807")); in TEST()
188 ASSERT_THAT(ToString(int64_t(-9223372036854775807LL - 1)), StrEq("-9223372036854775808")); in TEST()
208 ASSERT_THAT(ToString(uint64_t(4294967295)), StrEq("4294967295")); in TEST()
211 ASSERT_THAT(ToString(uint64_t(18446744073709551615ULL)), StrEq("18446744073709551615")); in TEST()
223 ASSERT_THAT(ToString(true), StrEq("true")); in TEST()
224 ASSERT_THAT(ToString(false), StrEq("false")); in TEST()
271 ASSERT_THAT(ToString(obj), StrEq("ExampleClass")); in TEST()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_utils_test.cc391 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
393 EXPECT_CALL(btif_config_interface_, GetBin(bdaddr.ToString(), _, _, _)) in TEST_F()
408 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
410 EXPECT_CALL(btif_config_interface_, GetBin(bdaddr.ToString(), _, _, _)) in TEST_F()
425 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
427 EXPECT_CALL(btif_config_interface_, GetBin(bdaddr.ToString(), _, _, _)) in TEST_F()
441 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
454 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
467 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
481 EXPECT_CALL(btif_config_interface_, GetBinLength(bdaddr.ToString(), _)) in TEST_F()
[all …]
/packages/modules/Bluetooth/system/types/test/bluetooth/
Duuid_unittest.cc109 TEST(UuidTest, ToString) { in TEST() argument
115 EXPECT_EQ(UUID_BASE_STR, kBase.ToString()); in TEST()
116 EXPECT_EQ(UUID_EMP_STR, Uuid::kEmpty.ToString()); in TEST()
117 EXPECT_EQ(UUID_ONES_STR, ONES.ToString()); in TEST()
118 EXPECT_EQ(UUID_SEQ_STR, SEQUENTIAL.ToString()); in TEST()
121 EXPECT_EQ("12345678-0000-1000-8000-00805f9b34fb", uuid.ToString()); in TEST()
/packages/modules/Bluetooth/system/test/headless/mode/
Dmode.cc67 LOG_CONSOLE("Acl state changed:%s", acl->ToString().c_str()); in do_mode()
95 cmd_status.ToString().c_str()); in do_mode()
100 mode_event.ToString().c_str()); in do_mode()
118 cmd_status.ToString().c_str()); in do_mode()
123 mode_event.ToString().c_str()); in do_mode()
/packages/modules/Bluetooth/system/test/headless/connect/
Dconnect.cc70 LOG_CONSOLE("Creating connection to:%s", bd_addr.ToString().c_str()); in do_connect()
71 log::info("Creating classic connection to {}", bd_addr.ToString()); in do_connect()
96 LOG_CONSOLE("Acl state changed:%s", acl->ToString().c_str()); in do_connect()
138 disconnect - connect, bd_addr.ToString().c_str(), in do_connect()
139 acl->ToString().c_str()); in do_connect()
/packages/modules/Bluetooth/system/gd/hci/
Duuid_unittest.cc120 TEST(UuidTest, ToString) { in TEST() argument
126 ASSERT_EQ(UUID_BASE_STR, kBase.ToString()); in TEST()
127 ASSERT_EQ(UUID_EMP_STR, Uuid::kEmpty.ToString()); in TEST()
128 ASSERT_EQ(UUID_ONES_STR, ONES.ToString()); in TEST()
129 ASSERT_EQ(UUID_SEQ_STR, SEQUENTIAL.ToString()); in TEST()
132 ASSERT_EQ("12345678-0000-1000-8000-00805f9b34fb", uuid.ToString()); in TEST()
Daddress_unittest.cc43 std::string ret = bdaddr.ToString(); in TEST()
69 std::string ret = bdaddr.ToString(); in TEST()
88 std::string ret = bdaddr.ToString(); in TEST()
194 ASSERT_EQ("ab:01:4c:d5:21:9f", addr.ToString()); in TEST()
195 ASSERT_EQ("ab:01:4c:d5:21:9f", result1.ToString()); in TEST()
205 ASSERT_EQ(addr.ToString(), address); in TEST()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_hh_test.cc256 ASSERT_STREQ(kDeviceAddress.ToString().c_str(), in TEST_F()
257 report.raw_address.ToString().c_str()); in TEST_F()
301 ASSERT_STREQ(kDeviceAddressConnecting.ToString().c_str(), in TEST_F()
302 res.raw_address.ToString().c_str()); in TEST_F()
314 ASSERT_STREQ(kDeviceAddressConnecting.ToString().c_str(), in TEST_F()
315 res.raw_address.ToString().c_str()); in TEST_F()

12345678910>>...14