Home
last modified time | relevance | path

Searched defs:impl (Results 1 – 25 of 89) sorted by relevance

1234

/packages/modules/Bluetooth/system/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc41 struct ErtmController::impl { struct in bluetooth::l2cap::internal::ErtmController
42 impl(ErtmController* controller, os::Handler* handler) in impl() argument
45 ErtmController* controller_;
46 os::Handler* handler_;
49 static constexpr uint8_t kMaxTxWin = 64;
52 static constexpr bool kSendSrej = false;
56 enum class TxState {
60 TxState tx_state_ = TxState::XMIT;
62 enum class RxState {
67 RxState rx_state_ = RxState::RECV;
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dmsft.cc41 struct MsftExtensionManager::impl { struct in bluetooth::hci::MsftExtensionManager
42 impl(Module* module) : module_(module){}; in impl() function
44 ~impl() {} in ~impl()
46 void start( in start()
77 void stop() { in stop()
81 void handle_rssi_event(MsftRssiEventPayloadView view) { in handle_rssi_event()
85 void handle_le_monitor_device_event(MsftLeMonitorDeviceEventPayloadView view) { in handle_le_monitor_device_event()
102 void handle_msft_events(VendorSpecificEventView view) { in handle_msft_events()
129 bool supports_msft_extensions() { in supports_msft_extensions()
140 void msft_adv_monitor_add(const MsftAdvMonitor& monitor, MsftAdvMonitorAddCallback cb) { in msft_adv_monitor_add()
[all …]
Dremote_name_request.cc31 struct RemoteNameRequestModule::impl { struct in bluetooth::hci::RemoteNameRequestModule
33 impl(const RemoteNameRequestModule& module) : module_(module) {} in impl() argument
35 void Start() { in Start()
50 void Stop() { in Stop()
56 void StartRemoteNameRequest( in StartRemoteNameRequest()
91 void CancelRemoteNameRequest(Address address) { in CancelRemoteNameRequest()
99 void ReportRemoteNameRequestCancellation(Address address) { in ReportRemoteNameRequestCancellation()
115 void actually_start_remote_name_request( in actually_start_remote_name_request()
133 void on_start_remote_name_request_status( in on_start_remote_name_request_status()
148 void actually_cancel_remote_name_request(Address address) { in actually_cancel_remote_name_request()
[all …]
Dcontroller.cc42 struct Controller::impl { struct in bluetooth::hci::Controller
43 impl(Controller& module) : module_(module) {} in impl() function
45 void Start(hci::HciLayer* hci) { in Start()
207 void Stop() { in Stop()
214 void NumberOfCompletedPackets(EventView event) { in NumberOfCompletedPackets()
231 void register_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_acl_packets_callback()
236 void unregister_completed_acl_packets_callback() { in unregister_completed_acl_packets_callback()
241 void register_completed_monitor_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_monitor_acl_packets_callback()
246 void unregister_completed_monitor_acl_packets_callback() { in unregister_completed_monitor_acl_packets_callback()
251 void register_monitor_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_monitor_completed_acl_packets_callback()
[all …]
Dvendor_specific_event_manager.cc28 struct VendorSpecificEventManager::impl { struct in bluetooth::hci::VendorSpecificEventManager
29 impl(Module* module) : module_(module){}; in impl() argument
31 ~impl() {} in ~impl()
33 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller) { in start()
42 void stop() {} in stop()
44 …r_event(VseSubeventCode event, common::ContextualCallback<void(VendorSpecificEventView)> handler) { in register_event()
53 void unregister_event(VseSubeventCode event) { in unregister_event()
57 bool check_event_supported(VseSubeventCode event) { in check_event_supported()
81 void on_vendor_specific_event(EventView event_view) { in on_vendor_specific_event()
92 Module* module_;
[all …]
Dle_scanning_manager.cc164 struct LeScanningManager::impl : public LeAddressManagerCallback { struct in bluetooth::hci::LeScanningManager
165 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() argument
167 ~impl() { in ~impl()
173 void start( in start()
227 void stop() { in stop()
242 void handle_scan_results(LeMetaEventView event) { in handle_scan_results()
280 struct ExtendedEventTypeOptions {
290 int8_t get_rx_path_loss_compensation() { in get_rx_path_loss_compensation()
308 int8_t get_rssi_after_calibration(int8_t rssi) { in get_rssi_after_calibration()
322 uint16_t transform_to_extended_event_type(ExtendedEventTypeOptions o) { in transform_to_extended_event_type()
[all …]
Dle_advertising_manager.cc107 struct LeAdvertisingManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeAdvertisingManager
108 impl(Module* module) : module_(module), le_advertising_interface_(nullptr), num_instances_(0) {} in impl() argument
110 ~impl() { in ~impl()
117 void start( in start()
163 int8_t get_tx_path_loss_compensation() { in get_tx_path_loss_compensation()
181 int8_t get_tx_power_after_calibration(int8_t tx_power) { in get_tx_power_after_calibration()
196 size_t GetNumberOfAdvertisingInstances() const { in GetNumberOfAdvertisingInstances()
200 AdvertisingApiType get_advertising_api_type() const { in get_advertising_api_type()
204 void register_advertising_callback(AdvertisingCallback* advertising_callback) { in register_advertising_callback()
208 void multi_advertising_state_change(hci::VendorSpecificEventView event) { in multi_advertising_state_change()
[all …]
Ddistance_measurement_manager.cc37 struct DistanceMeasurementManager::impl { struct in bluetooth::hci::DistanceMeasurementManager
38 ~impl() {} in ~impl()
39 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::AclManager* acl_manager) { in start()
48 void stop() { in stop()
52 void register_distance_measurement_callbacks(DistanceMeasurementCallbacks* callbacks) { in register_distance_measurement_callbacks()
56 void start_distance_measurement( in start_distance_measurement()
90 void stop_distance_measurement(const Address& address, DistanceMeasurementMethod method) { in stop_distance_measurement()
111 void read_rssi_regularly(const Address& address, uint16_t frequency) { in read_rssi_regularly()
138 void on_read_remote_transmit_power_level_status(Address address, CommandStatusView view) { in on_read_remote_transmit_power_level_status()
155 void on_transmit_power_reporting(LeMetaEventView event) { in on_transmit_power_reporting()
[all …]
Dhci_layer.cc100 struct HciLayer::impl { struct in bluetooth::hci::HciLayer
101 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl() function
105 ~impl() { in ~impl()
118 void drop(EventView event) { in drop()
122 void on_outbound_acl_ready() { in on_outbound_acl_ready()
130 void on_outbound_sco_ready() { in on_outbound_sco_ready()
138 void on_outbound_iso_ready() { in on_outbound_iso_ready()
147 …_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> on_response) { in enqueue_command()
152 void on_command_status(EventView event) { in on_command_status()
167 void on_command_complete(EventView event) { in on_command_complete()
[all …]
Dacl_manager.cc61 struct AclManager::impl { struct in bluetooth::hci::AclManager
62 impl(const AclManager& acl_manager) : acl_manager_(acl_manager) {} in impl() argument
64 void Start() { in Start()
94 void Stop() { in Stop()
118 void retry_unknown_acl(bool timed_out) { in retry_unknown_acl()
143 static void on_unknown_acl_timer(struct AclManager::impl* impl) { in on_unknown_acl_timer()
150 void dequeue_and_route_acl_packet_to_connection() { in dequeue_and_route_acl_packet_to_connection()
185 const AclManager& acl_manager_;
187 classic_impl* classic_impl_ = nullptr;
188 le_impl* le_impl_ = nullptr;
[all …]
/packages/modules/Bluetooth/system/gd/security/
Dsecurity_module.cc40 struct SecurityModule::impl { struct in bluetooth::security::SecurityModule
41 impl( in impl() function
66 os::Handler* security_handler_;
67 l2cap::classic::L2capClassicModule* l2cap_classic_module_;
68 l2cap::le::L2capLeModule* l2cap_le_module_;
69 channel::SecurityManagerChannel* security_manager_channel_;
70 hci::HciLayer* hci_layer_;
71 hci::AclManager* acl_manager_;
72 hci::Controller* controller_;
73 storage::StorageModule* storage_module_;
[all …]
/packages/modules/Bluetooth/system/rust/src/connection/ffi/
Dconnection_shim.cc73 struct LeAclManagerShim::impl : hci::acl_manager::LeAcceptlistCallbacks { struct in bluetooth::connection::LeAclManagerShim
75 impl() { acl_manager_ = shim::GetAclManager(); } in impl() function
77 ~impl() { in ~impl()
87 void CreateLeConnection(core::AddressWithType address, bool is_direct) { in CreateLeConnection()
91 void CancelLeConnect(core::AddressWithType address) { in CancelLeConnect()
96 void RegisterRustCallbacks(BoxedLeAclManagerCallbackShim callbacks) { in RegisterRustCallbacks()
103 virtual void OnLeConnectSuccess(hci::AddressWithType address) { in OnLeConnectSuccess()
108 virtual void OnLeConnectFail(hci::AddressWithType address, in OnLeConnectFail()
115 virtual void OnLeDisconnection(hci::AddressWithType address) { in OnLeDisconnection()
120 virtual void OnResolvingListChange() {} in OnResolvingListChange()
[all …]
/packages/modules/Bluetooth/system/gd/iso/
Diso_module.cc33 struct IsoModule::impl { struct in bluetooth::iso::IsoModule
34 impl(os::Handler* iso_handler, hci::HciLayer* hci_layer, hci::Controller* controller) in impl() argument
37 os::Handler* iso_handler_;
38 hci::HciLayer* hci_layer_;
39 hci::Controller* controller_;
41 internal::IsoManagerImpl iso_manager_impl{iso_handler_, hci_layer_, controller_};
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dl2cap_le_module.cc52 struct L2capLeModule::impl { struct in bluetooth::l2cap::le::L2capLeModule
53 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() argument
57 os::Handler* l2cap_handler_;
58 hci::AclManager* acl_manager_;
59 l2cap::internal::ParameterProvider parameter_provider_;
60 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
61 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
62 internal::LinkManager link_manager_{l2cap_handler_,
/packages/modules/Bluetooth/system/gd/btaa/android/
Dactivity_attribution.cc95 struct ActivityAttribution::impl { struct in bluetooth::activity_attribution::ActivityAttribution
96 impl(ActivityAttribution* module) { in impl() function
135 ~impl() { in ~impl()
140 void on_hci_packet(hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) { in on_hci_packet()
144 void on_wakelock_acquired() { in on_wakelock_acquired()
148 void on_wakelock_released() { in on_wakelock_released()
157 void on_wakeup() { in on_wakeup()
161 void register_callback(ActivityAttributionCallback* callback) { in register_callback()
165 …ity_attribution_info(int uid, const std::string& package_name, const std::string& device_address) { in notify_activity_attribution_info()
169 void Dump( in Dump()
[all …]
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler.cc42 struct AclScheduler::impl { struct in bluetooth::hci::acl_manager::AclScheduler
43 …ueOutgoingAclConnection(Address address, common::ContextualOnceCallback<void()> start_connection) { in EnqueueOutgoingAclConnection()
48 void RegisterPendingIncomingConnection(Address address) { in RegisterPendingIncomingConnection()
52 void ReportAclConnectionCompletion( in ReportAclConnectionCompletion()
79 void ReportOutgoingAclConnectionFailure() { in ReportOutgoingAclConnectionFailure()
93 void CancelAclConnection( in CancelAclConnection()
110 void EnqueueRemoteNameRequest( in EnqueueRemoteNameRequest()
119 void ReportRemoteNameRequestCompletion(Address address) { in ReportRemoteNameRequestCompletion()
144 …d CancelRemoteNameRequest(Address address, common::ContextualOnceCallback<void()> cancel_request) { in CancelRemoteNameRequest()
158 void Stop() { in Stop()
[all …]
/packages/modules/Bluetooth/system/stack/eatt/
Deatt.cc30 struct EattExtension::impl { struct in bluetooth::eatt::EattExtension
34 void Start() { in Start()
57 void Stop() { in Stop()
66 bool IsRunning() { return eatt_impl_ ? true : false; } in IsRunning()
68 static eatt_impl* GetImplInstance(void) { in GetImplInstance()
73 static void eatt_connect_ind(const RawAddress& bda, in eatt_connect_ind()
82 static void eatt_connect_cfm(const RawAddress& bda, uint16_t lcid, in eatt_connect_cfm()
89 static void eatt_reconfig_completed(const RawAddress& bda, uint16_t lcid, in eatt_reconfig_completed()
98 static void eatt_collision_ind(const RawAddress& bd_addr) { in eatt_collision_ind()
103 static void eatt_error_cb(uint16_t lcid, uint16_t reason) { in eatt_error_cb()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dl2cap_classic_module.cc45 struct L2capClassicModule::impl { struct in bluetooth::l2cap::classic::L2capClassicModule
46 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() argument
51 os::Handler* l2cap_handler_;
52 hci::AclManager* acl_manager_;
53 l2cap::internal::ParameterProvider parameter_provider_;
54 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
55 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
56 …rnal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_impl_,
58 std::unique_ptr<internal::DumpsysHelper> dumpsys_helper_;
60 struct SecurityInterfaceImpl : public SecurityInterface {
[all …]
/packages/modules/Bluetooth/system/gd/att/
Datt_module.cc46 struct AttModule::impl { struct in bluetooth::att::AttModule
47 impl( in impl() function
65 os::Handler* att_handler_;
66 l2cap::le::L2capLeModule* l2cap_le_module_;
67 l2cap::classic::L2capClassicModule* l2cap_classic_module_;
/packages/modules/Bluetooth/system/bta/le_audio/
Dcontent_control_id_keeper.cc94 struct ContentControlIdKeeper::impl { struct in le_audio::ContentControlIdKeeper
95 impl(const ContentControlIdKeeper& ccid_keeper) : ccid_keeper_(ccid_keeper) {} in impl() argument
97 void Start() { in Start()
102 void Stop() { in Stop()
107 bool IsRunning() { return ccid_keeper_impl_ ? true : false; } in IsRunning()
109 const ContentControlIdKeeper& ccid_keeper_;
110 std::unique_ptr<ccid_keeper> ccid_keeper_impl_;
/packages/modules/Bluetooth/system/gd/neighbor/
Dinquiry.cc35 struct InquiryModule::impl { struct in bluetooth::neighbor::InquiryModule
64 InquiryCallbacks inquiry_callbacks_;
66 InquiryModule& module_;
68 bool active_general_one_shot_{false};
69 bool active_limited_one_shot_{false};
70 bool active_general_periodic_{false};
71 bool active_limited_periodic_{false};
73 ScanParameters inquiry_scan_;
74 hci::InquiryMode inquiry_mode_;
75 hci::InquiryScanType inquiry_scan_type_;
[all …]
Ddiscoverability.cc36 struct DiscoverabilityModule::impl { struct in bluetooth::neighbor::DiscoverabilityModule
48 uint8_t num_supported_iac_;
49 std::vector<hci::Lap> laps_;
53 hci::HciLayer* hci_layer_;
54 neighbor::ScanModule* scan_module_;
55 os::Handler* handler_;
57 DiscoverabilityModule& module_;
64 neighbor::DiscoverabilityModule::impl::impl(neighbor::DiscoverabilityModule& module) : module_(modu… in impl() function in bluetooth::neighbor::neighbor::DiscoverabilityModule::impl
Dpage.cc33 struct PageModule::impl { struct in bluetooth::neighbor::PageModule
47 PageModule& module_;
49 ScanParameters scan_parameters_;
50 hci::PageScanType scan_type_;
51 PageTimeout timeout_;
55 hci::HciLayer* hci_layer_;
56 os::Handler* handler_;
61 neighbor::PageModule::impl::impl(neighbor::PageModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::PageModule::impl
Dscan.cc31 struct ScanModule::impl { struct in bluetooth::neighbor::ScanModule
44 ScanModule& module_;
46 bool inquiry_scan_enabled_;
47 bool page_scan_enabled_;
54 hci::HciLayer* hci_layer_;
55 os::Handler* handler_;
60 neighbor::ScanModule::impl::impl(neighbor::ScanModule& module) in impl() function in bluetooth::neighbor::neighbor::ScanModule::impl
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_iso.cc31 struct IsoManager::impl { struct in bluetooth::hci::IsoManager
32 impl(const IsoManager& iso_manager) : iso_manager_(iso_manager) {} in impl() argument
34 void Start() { in Start()
39 void Stop() { in Stop()
44 void Dump(int fd) { in Dump()
48 bool IsRunning() { return iso_impl_ ? true : false; } in IsRunning()
50 const IsoManager& iso_manager_;
51 std::unique_ptr<iso_impl> iso_impl_;

1234