/packages/modules/Bluetooth/system/test/mock/ |
D | mock_main_shim_metrics_api.h | 46 std::function<void(const RawAddress* raw_address, uint32_t connection_handle, 57 void operator()(const RawAddress* raw_address, uint32_t connection_handle, in operator() 62 body(raw_address, connection_handle, direction, link_type, hci_cmd, in operator() 72 std::function<void(const RawAddress& raw_address, 78 void operator()(const RawAddress& raw_address, in operator() 81 body(raw_address, encoding_interval_millis, num_missing_pcm_bytes); in operator() 90 std::function<void(const RawAddress& raw_address, 99 void operator()(const RawAddress& raw_address, in operator() 103 body(raw_address, encoding_interval_millis, num_dropped_buffers, in operator() 112 std::function<void(const RawAddress& raw_address, int playback_state, [all …]
|
D | mock_main_shim_metrics_api.cc | 65 const RawAddress* raw_address, uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument 71 raw_address, connection_handle, direction, link_type, hci_cmd, hci_event, in LogMetricLinkLayerConnectionEvent() 75 const RawAddress& raw_address, uint64_t encoding_interval_millis, in LogMetricA2dpAudioUnderrunEvent() argument 79 raw_address, encoding_interval_millis, num_missing_pcm_bytes); in LogMetricA2dpAudioUnderrunEvent() 82 const RawAddress& raw_address, uint64_t encoding_interval_millis, in LogMetricA2dpAudioOverrunEvent() argument 87 raw_address, encoding_interval_millis, num_dropped_buffers, in LogMetricA2dpAudioOverrunEvent() 90 void bluetooth::shim::LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, in LogMetricA2dpPlaybackEvent() argument 95 raw_address, playback_state, audio_coding_mode); in LogMetricA2dpPlaybackEvent() 98 const RawAddress& raw_address, int64_t audio_duration_ms, in LogMetricA2dpSessionMetricsEvent() argument 106 raw_address, audio_duration_ms, media_timer_min_ms, media_timer_max_ms, in LogMetricA2dpSessionMetricsEvent() [all …]
|
D | mock_main_shim_acl_api.h | 82 std::function<void(const RawAddress& raw_address)> body{ 83 [](const RawAddress& raw_address) {}}; 84 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator() 153 std::function<void(const RawAddress& raw_address)> body{ 154 [](const RawAddress& raw_address) {}}; 155 void operator()(const RawAddress& raw_address) { body(raw_address); }; in operator()
|
D | mock_main_shim_l2cap_api.h | 96 std::function<uint16_t(uint16_t psm, const RawAddress& raw_address)> body{ 97 [](uint16_t psm, const RawAddress& raw_address) { return 0; }}; 98 uint16_t operator()(uint16_t psm, const RawAddress& raw_address) { in operator() 99 return body(psm, raw_address); in operator()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | metrics_api.cc | 31 const RawAddress* raw_address, uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument 36 if (raw_address != nullptr) { in LogMetricLinkLayerConnectionEvent() 37 address = bluetooth::ToGdAddress(*raw_address); in LogMetricLinkLayerConnectionEvent() 40 raw_address == nullptr ? nullptr : &address, connection_handle, direction, in LogMetricLinkLayerConnectionEvent() 44 void LogMetricA2dpAudioUnderrunEvent(const RawAddress& raw_address, in LogMetricA2dpAudioUnderrunEvent() argument 47 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent() 52 void LogMetricA2dpAudioOverrunEvent(const RawAddress& raw_address, in LogMetricA2dpAudioOverrunEvent() argument 57 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent() 63 void LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, in LogMetricA2dpPlaybackEvent() argument 65 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent() [all …]
|
D | metric_id_api.cc | 57 int AllocateIdFromMetricIdAllocator(const RawAddress& raw_address) { in AllocateIdFromMetricIdAllocator() argument 58 Address address = bluetooth::ToGdAddress(raw_address); in AllocateIdFromMetricIdAllocator() 62 bool SaveDeviceOnMetricIdAllocator(const RawAddress& raw_address) { in SaveDeviceOnMetricIdAllocator() argument 63 Address address = bluetooth::ToGdAddress(raw_address); in SaveDeviceOnMetricIdAllocator() 67 void ForgetDeviceFromMetricIdAllocator(const RawAddress& raw_address) { in ForgetDeviceFromMetricIdAllocator() argument 68 Address address = bluetooth::ToGdAddress(raw_address); in ForgetDeviceFromMetricIdAllocator()
|
D | metric_id_api.h | 63 int AllocateIdFromMetricIdAllocator(const RawAddress& raw_address); 71 bool SaveDeviceOnMetricIdAllocator(const RawAddress& raw_address); 78 void ForgetDeviceFromMetricIdAllocator(const RawAddress& raw_address);
|
D | distance_measurement_manager.cc | 49 void StartDistanceMeasurement(RawAddress raw_address, uint16_t interval, in StartDistanceMeasurement() argument 52 bluetooth::ToGdAddress(raw_address), interval, in StartDistanceMeasurement() 54 bluetooth::ras::GetRasClient()->Connect(raw_address); in StartDistanceMeasurement() 57 void StopDistanceMeasurement(RawAddress raw_address, uint8_t method) { in StopDistanceMeasurement() argument 59 bluetooth::ToGdAddress(raw_address), in StopDistanceMeasurement()
|
D | le_scanning_manager.cc | 135 const RawAddress& raw_address, uint8_t primary_phy, uint8_t secondary_phy, 144 void btm_ble_process_adv_addr(RawAddress& raw_address, 523 RawAddress raw_address = ToRawAddress(address); in OnScanResult() local 528 btm_ble_process_adv_addr(raw_address, &ble_addr_type); in OnScanResult() 533 base::Unretained(this), raw_address, ble_addr_type, advertising_data)); in OnScanResult() 537 event_type, static_cast<uint8_t>(address_type), raw_address, primary_phy, in OnScanResult() 543 event_type, ble_addr_type, raw_address, primary_phy, secondary_phy, in OnScanResult() 551 RawAddress raw_address = in OnTrackAdvFoundLost() local 555 btm_ble_process_adv_addr(raw_address, in OnTrackAdvFoundLost() 560 track_info.advertiser_address = raw_address; in OnTrackAdvFoundLost() [all …]
|
D | acl_api.cc | 48 const RawAddress& raw_address) { in ACL_CreateClassicConnection() argument 49 auto address = ToGdAddress(raw_address); in ACL_CreateClassicConnection() 54 const RawAddress& raw_address) { in ACL_CancelClassicConnection() argument 55 auto address = ToGdAddress(raw_address); in ACL_CancelClassicConnection()
|
D | acl_api.h | 30 void ACL_CreateClassicConnection(const RawAddress& raw_address); 31 void ACL_CancelClassicConnection(const RawAddress& raw_address);
|
D | metrics_api.h | 86 void LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, 263 const RawAddress& raw_address,
|
D | le_advertising_manager.cc | 313 RawAddress raw_address = bluetooth::ToRawAddress(address); in OnOwnAddressRead() local 315 address_callbacks_[advertiser_id].Run(address_type, raw_address); in OnOwnAddressRead() 321 advertiser_id, address_type, raw_address)); in OnOwnAddressRead()
|
/packages/modules/Bluetooth/system/test/headless/read/ |
D | name.cc | 48 const RawAddress& raw_address = options_.device_.front(); in Run() local 50 return RunOnHeadlessStack<int>([&raw_address]() { in Run() 56 raw_address, &RemoteNameCallback, BT_TRANSPORT_BR_EDR); in Run() 69 raw_address.ToString().c_str(), name.c_str()); in Run()
|
/packages/modules/Bluetooth/system/test/headless/pairing/ |
D | pairing.cc | 38 [[maybe_unused]] RawAddress raw_address = options_.device_.front(); in Run() local 40 return RunOnHeadlessStack<int>([raw_address]() { in Run() 41 btif_dm_create_bond(raw_address, BT_TRANSPORT_BR_EDR); in Run()
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_hh_test.cc | 86 RawAddress raw_address; member 92 RawAddress raw_address; member 242 .raw_address = *bd_addr, in TEST_F() 257 report.raw_address.ToString().c_str()); in TEST_F() 274 .raw_address = *bd_addr, in SetUp() 302 res.raw_address.ToString().c_str()); in TEST_F() 315 res.raw_address.ToString().c_str()); in TEST_F()
|
D | btif_rc_test.cc | 219 RawAddress raw_address; member 224 RawAddress raw_address; member 241 .raw_address = bd_addr, in SetUp() 289 .raw_address = bd_addr, in SetUp() 341 .raw_address = bd_addr, in SetUp()
|
/packages/modules/Bluetooth/system/test/headless/sdp/ |
D | sdp.cc | 46 [[maybe_unused]] const RawAddress& raw_address, in sdp_query_uuid() argument 65 raw_address, sdp_discovery_db.RawPointer(), in sdp_query_uuid() 79 LOG_CONSOLE("Found records peer:%s uuid:%s", raw_address.ToString().c_str(), in sdp_query_uuid()
|
/packages/modules/Bluetooth/system/test/headless/discovery/ |
D | discovery.cc | 44 const RawAddress& raw_address) { in start_discovery() argument 45 RawAddress bd_addr{raw_address}; in start_discovery()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | distance_measurement_interface.h | 47 virtual void StartDistanceMeasurement(RawAddress raw_address, 49 virtual void StopDistanceMeasurement(RawAddress raw_address,
|
/packages/modules/Bluetooth/system/test/headless/ |
D | headless.cc | 101 RawAddress raw_address = in remote_device_properties() local 104 remote_device_properties_params_t params(status, raw_address, in remote_device_properties() 183 RawAddress raw_address(*remote_bd_addr); in acl_state_changed() local 185 acl_state_changed_params_t params(status, raw_address, state, in acl_state_changed()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/ |
D | security_service.rs | 34 let raw_address = RawAddress::from_string(req.address).unwrap(); in remove_bond() localVariable 35 self.btif_intf.lock().unwrap().remove_bond(&raw_address); in remove_bond()
|
/packages/modules/Bluetooth/system/gd/discovery/device/ |
D | eir_test_data_packets.h | 28 uint8_t raw_address[6]; member
|
/packages/modules/Bluetooth/system/types/ |
D | BUILD.gn | 24 "raw_address.cc",
|
D | Android.bp | 44 "raw_address.cc",
|