Home
last modified time | relevance | path

Searched refs:raw_address (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_metrics_api.h48 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 …]
Dmock_main_shim_metrics_api.cc79 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 …]
Dmock_main_shim_acl_api.h64 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/
Dmetrics_api.cc32 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 …]
Dmetric_id_api.cc53 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()
Dmetric_id_api.h62 int AllocateIdFromMetricIdAllocator(const RawAddress& raw_address);
70 bool SaveDeviceOnMetricIdAllocator(const RawAddress& raw_address);
77 void ForgetDeviceFromMetricIdAllocator(const RawAddress& raw_address);
Dle_scanning_manager.cc471 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 …]
Dacl_api.cc53 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()
Dacl_api.h30 void ACL_CreateClassicConnection(const RawAddress& raw_address);
31 void ACL_CancelClassicConnection(const RawAddress& raw_address);
Dmetrics_api.h85 void LogMetricA2dpPlaybackEvent(const RawAddress& raw_address, int playback_state,
264 void LogMetricLePairingFail(const RawAddress& raw_address, uint8_t failure_reason,
Dle_advertising_manager.cc337 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/
Dbluetooth_event.h38 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);
Dbluetooth_event.cc376 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/
Dname.cc48 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/
Dbtif_hh_test.cc81 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()
Dbtif_rc_test.cc182 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/
Dpairing.cc38 [[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/
Dsdp.cc45 [[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/
Ddiscovery.cc42 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/
Ddistance_measurement_interface.h46 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/
Dheadless.cc94 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/
Dble_hci_link_interface.h41 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/
DBUILD.gn24 "raw_address.cc",
DAndroid.bp42 "raw_address.cc",
/packages/modules/Bluetooth/system/btif/include/
Dbtif_common.h147 RawAddress raw_address, uint8_t address_type);

12