/packages/modules/Bluetooth/system/test/mock/ |
D | mock_main_shim_metrics_api.h | 48 std::function<void(const RawAddress* raw_address, uint32_t connection_handle, 56 void operator()(const RawAddress* raw_address, uint32_t connection_handle, in operator() 60 body(raw_address, connection_handle, direction, link_type, hci_cmd, hci_event, hci_ble_event, in operator() 69 std::function<void(const RawAddress& raw_address, uint64_t encoding_interval_millis, 73 void operator()(const RawAddress& raw_address, uint64_t encoding_interval_millis, in operator() 75 body(raw_address, encoding_interval_millis, num_missing_pcm_bytes); in operator() 84 std::function<void(const RawAddress& raw_address, uint64_t encoding_interval_millis, 90 void operator()(const RawAddress& raw_address, uint64_t encoding_interval_millis, in operator() 93 body(raw_address, encoding_interval_millis, num_dropped_buffers, num_dropped_encoded_frames, in operator() 102 std::function<void(const RawAddress& raw_address, int playback_state, int audio_coding_mode)> [all …]
|
D | mock_main_shim_metrics_api.cc | 79 void bluetooth::shim::LogMetricLinkLayerConnectionEvent(const RawAddress* raw_address, in LogMetricLinkLayerConnectionEvent() argument 87 raw_address, connection_handle, direction, link_type, hci_cmd, hci_event, hci_ble_event, in LogMetricLinkLayerConnectionEvent() 90 void bluetooth::shim::LogMetricA2dpAudioUnderrunEvent(const RawAddress& raw_address, in LogMetricA2dpAudioUnderrunEvent() argument 95 raw_address, encoding_interval_millis, num_missing_pcm_bytes); in LogMetricA2dpAudioUnderrunEvent() 97 void bluetooth::shim::LogMetricA2dpAudioOverrunEvent(const RawAddress& raw_address, in LogMetricA2dpAudioOverrunEvent() argument 104 raw_address, encoding_interval_millis, num_dropped_buffers, num_dropped_encoded_frames, in LogMetricA2dpAudioOverrunEvent() 107 void bluetooth::shim::LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, int playback_state, in LogMetricA2dpPlaybackEvent() argument 110 test::mock::main_shim_metrics_api::LogMetricA2dpPlaybackEvent(raw_address, playback_state, in LogMetricA2dpPlaybackEvent() 114 const RawAddress& raw_address, int64_t audio_duration_ms, int media_timer_min_ms, in LogMetricA2dpSessionMetricsEvent() argument 120 raw_address, audio_duration_ms, media_timer_min_ms, media_timer_max_ms, audio_duration_ms, in LogMetricA2dpSessionMetricsEvent() [all …]
|
D | mock_main_shim_acl_api.h | 64 std::function<void(const RawAddress& raw_address)> body{[](const RawAddress& raw_address) {}}; 65 void operator()(const RawAddress& raw_address) { body(raw_address); } in operator() 115 std::function<void(const RawAddress& raw_address)> body{[](const RawAddress& raw_address) {}}; 116 void operator()(const RawAddress& raw_address) { body(raw_address); } in operator()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | metrics_api.cc | 32 void LogMetricLinkLayerConnectionEvent(const RawAddress* raw_address, uint32_t connection_handle, in LogMetricLinkLayerConnectionEvent() argument 38 if (raw_address != nullptr) { in LogMetricLinkLayerConnectionEvent() 39 address = bluetooth::ToGdAddress(*raw_address); in LogMetricLinkLayerConnectionEvent() 42 raw_address == nullptr ? nullptr : &address, connection_handle, direction, link_type, in LogMetricLinkLayerConnectionEvent() 46 void LogMetricA2dpAudioUnderrunEvent(const RawAddress& raw_address, in LogMetricA2dpAudioUnderrunEvent() argument 48 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent() 53 void LogMetricA2dpAudioOverrunEvent(const RawAddress& raw_address, in LogMetricA2dpAudioOverrunEvent() argument 56 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent() 62 void LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, int playback_state, in LogMetricA2dpPlaybackEvent() argument 64 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent() [all …]
|
D | metric_id_api.cc | 53 int AllocateIdFromMetricIdAllocator(const RawAddress& raw_address) { in AllocateIdFromMetricIdAllocator() argument 54 Address address = bluetooth::ToGdAddress(raw_address); in AllocateIdFromMetricIdAllocator() 58 bool SaveDeviceOnMetricIdAllocator(const RawAddress& raw_address) { in SaveDeviceOnMetricIdAllocator() argument 59 Address address = bluetooth::ToGdAddress(raw_address); in SaveDeviceOnMetricIdAllocator() 63 void ForgetDeviceFromMetricIdAllocator(const RawAddress& raw_address) { in ForgetDeviceFromMetricIdAllocator() argument 64 Address address = bluetooth::ToGdAddress(raw_address); in ForgetDeviceFromMetricIdAllocator()
|
D | metric_id_api.h | 62 int AllocateIdFromMetricIdAllocator(const RawAddress& raw_address); 70 bool SaveDeviceOnMetricIdAllocator(const RawAddress& raw_address); 77 void ForgetDeviceFromMetricIdAllocator(const RawAddress& raw_address);
|
D | le_scanning_manager.cc | 471 RawAddress raw_address = ToRawAddress(address); in on_scan_result() local 476 btm_ble_process_adv_addr(raw_address, &ble_addr_type); in on_scan_result() 481 !btm_sec_is_a_bonded_dev(raw_address)) { in on_scan_result() 483 base::Unretained(this), raw_address, ble_addr_type, in on_scan_result() 489 static_cast<uint8_t>(address_type), raw_address, primary_phy, secondary_phy, in on_scan_result() 493 btm_ble_process_adv_pkt_cont_for_inquiry(event_type, ble_addr_type, raw_address, primary_phy, in on_scan_result() 520 RawAddress raw_address = ToRawAddress(on_found_on_lost_info.advertiser_address); in OnTrackAdvFoundLost() local 523 btm_ble_process_adv_addr(raw_address, &on_found_on_lost_info.advertiser_address_type); in OnTrackAdvFoundLost() 527 track_info.advertiser_address = raw_address; in OnTrackAdvFoundLost() 568 RawAddress raw_address = ToRawAddress(address_with_type.GetAddress()); in OnPeriodicSyncStarted() local [all …]
|
D | acl_api.cc | 53 void bluetooth::shim::ACL_CreateClassicConnection(const RawAddress& raw_address) { in ACL_CreateClassicConnection() argument 54 auto address = ToGdAddress(raw_address); in ACL_CreateClassicConnection() 58 void bluetooth::shim::ACL_CancelClassicConnection(const RawAddress& raw_address) { in ACL_CancelClassicConnection() argument 59 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 | 85 void LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, int playback_state, 264 void LogMetricLePairingFail(const RawAddress& raw_address, uint8_t failure_reason,
|
D | le_advertising_manager.cc | 337 RawAddress raw_address = bluetooth::ToRawAddress(address); in OnOwnAddressRead() local 339 address_callbacks_[advertiser_id].Run(address_type, raw_address); in OnOwnAddressRead() 345 address_type, raw_address)); in OnOwnAddressRead()
|
/packages/modules/Bluetooth/system/gd/metrics/ |
D | bluetooth_event.h | 38 void LogRemoteNameRequestCompletion(const RawAddress& raw_address, tHCI_STATUS hci_status); 43 void LogAclAfterRemoteNameRequest(const RawAddress& raw_address, tBTM_STATUS status); 45 void LogAuthenticationComplete(const RawAddress& raw_address, tHCI_STATUS hci_status); 47 void LogSDPComplete(const RawAddress& raw_address, tBTA_STATUS status); 49 void LogLePairingFail(const RawAddress& raw_address, uint8_t failure_reason, bool is_outgoing);
|
D | bluetooth_event.cc | 376 void LogRemoteNameRequestCompletion(const RawAddress& raw_address, tHCI_STATUS hci_status) { in LogRemoteNameRequestCompletion() argument 377 hci::Address address = bluetooth::ToGdAddress(raw_address); in LogRemoteNameRequestCompletion() 392 void LogAclAfterRemoteNameRequest(const RawAddress& raw_address, tBTM_STATUS status) { in LogAclAfterRemoteNameRequest() argument 393 hci::Address address = bluetooth::ToGdAddress(raw_address); in LogAclAfterRemoteNameRequest() 410 void LogAuthenticationComplete(const RawAddress& raw_address, tHCI_STATUS hci_status) { in LogAuthenticationComplete() argument 411 hci::Address address = bluetooth::ToGdAddress(raw_address); in LogAuthenticationComplete() 419 void LogSDPComplete(const RawAddress& raw_address, tBTA_STATUS status) { in LogSDPComplete() argument 420 hci::Address address = bluetooth::ToGdAddress(raw_address); in LogSDPComplete() 435 void LogLePairingFail(const RawAddress& raw_address, uint8_t failure_reason, bool is_outgoing) { in LogLePairingFail() argument 436 hci::Address address = bluetooth::ToGdAddress(raw_address); in LogLePairingFail()
|
/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() 68 fprintf(stdout, "Name result mac:%s name:%s\n", raw_address.ToString().c_str(), in Run()
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_hh_test.cc | 81 RawAddress raw_address; member 87 RawAddress raw_address; member 228 .raw_address = *bd_addr, in TEST_F() 242 ASSERT_STREQ(kDeviceAddress.ToString().c_str(), report.raw_address.ToString().c_str()); in TEST_F() 258 .raw_address = *bd_addr, in SetUp() 284 ASSERT_STREQ(kDeviceAddressConnecting.ToString().c_str(), res.raw_address.ToString().c_str()); in TEST_F() 295 ASSERT_STREQ(kDeviceAddressConnecting.ToString().c_str(), res.raw_address.ToString().c_str()); in TEST_F()
|
D | btif_rc_test.cc | 182 RawAddress raw_address; member 187 RawAddress raw_address; member 203 .raw_address = bd_addr, in SetUp() 293 .raw_address = bd_addr, in SetUp() 342 .raw_address = bd_addr, in SetUp()
|
/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/test/headless/sdp/ |
D | sdp.cc | 45 [[maybe_unused]] const RawAddress& raw_address, in sdp_query_uuid() argument 64 raw_address, sdp_discovery_db.RawPointer(), in sdp_query_uuid() 77 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 | 42 int start_discovery([[maybe_unused]] unsigned int num_loops, const RawAddress& raw_address) { in start_discovery() argument 43 RawAddress bd_addr{raw_address}; in start_discovery()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | distance_measurement_interface.h | 46 virtual void StartDistanceMeasurement(RawAddress raw_address, uint16_t interval, 48 virtual void StopDistanceMeasurement(RawAddress raw_address, uint8_t method) = 0;
|
/packages/modules/Bluetooth/system/test/headless/ |
D | headless.cc | 94 RawAddress raw_address = (bd_addr != nullptr) ? *bd_addr : RawAddress::kEmpty; in remote_device_properties() local 96 remote_device_properties_params_t params(status, raw_address, num_properties, properties); in remote_device_properties() 169 RawAddress raw_address(*remote_bd_addr); in acl_state_changed() local 171 acl_state_changed_params_t params(status, raw_address, state, transport_link_type, hci_reason, in acl_state_changed()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | ble_hci_link_interface.h | 41 void btm_ble_process_adv_addr(RawAddress& raw_address, tBLE_ADDR_TYPE* address_type); 43 const RawAddress& raw_address, uint8_t primary_phy,
|
/packages/modules/Bluetooth/system/types/ |
D | BUILD.gn | 24 "raw_address.cc",
|
D | Android.bp | 42 "raw_address.cc",
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_common.h | 147 RawAddress raw_address, uint8_t address_type);
|