Home
last modified time | relevance | path

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

12

/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc39 struct ErtmController::impl { struct in bluetooth::l2cap::internal::ErtmController
40 impl(ErtmController* controller, os::Handler* handler) in impl() argument
43 ErtmController* controller_;
44 os::Handler* handler_;
47 static constexpr uint8_t kMaxTxWin = 64;
50 static constexpr bool kSendSrej = false;
54 enum class TxState {
58 TxState tx_state_ = TxState::XMIT;
60 enum class RxState {
65 RxState rx_state_ = RxState::RECV;
[all …]
/system/bt/gd/hci/
Dle_scanning_manager.cc43 struct LeScanningManager::impl { struct in bluetooth::hci::LeScanningManager
44 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() function
46 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller) { in start()
62 void handle_scan_results(LeMetaEventView event) { in handle_scan_results()
89 void handle_advertising_report(EventType event_view) { in handle_advertising_report()
112 void configure_scan() { in configure_scan()
143 void start_scan(LeScanningManagerCallbacks* le_scanning_manager_callbacks) { in start_scan()
161 void stop_scan(common::Callback<void()> on_stopped) { in stop_scan()
184 ScanApiType api_type_;
186 LeScanningManagerCallbacks* registered_callback_;
[all …]
Dle_advertising_manager.cc78 struct LeAdvertisingManager::impl { struct in bluetooth::hci::LeAdvertisingManager
79 impl(Module* module) : module_(module), le_advertising_interface_(nullptr), num_instances_(0) {} in impl() function
81 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller) { in start()
98 size_t GetNumberOfAdvertisingInstances() const { in GetNumberOfAdvertisingInstances()
102 void handle_event(LeMetaEventView event) { in handle_event()
115 void handle_scan_request(LeScanRequestReceivedView event_view) { in handle_scan_request()
124 void handle_set_terminated(LeAdvertisingSetTerminatedView event_view) { in handle_set_terminated()
134 AdvertiserId allocate_advertiser() { in allocate_advertiser()
148 void remove_advertiser(AdvertiserId id) { in remove_advertiser()
157 void create_advertiser(AdvertiserId id, const AdvertisingConfig& config, in create_advertiser()
[all …]
Dcontroller.cc38 struct Controller::impl { struct in bluetooth::hci::Controller
39 impl(Controller& module) : module_(module) {} in impl() function
41 void Start(hci::HciLayer* hci) { in Start()
122 void Stop() { in Stop()
127 void NumberOfCompletedPackets(EventPacketView event) { in NumberOfCompletedPackets()
138 …gisterCompletedAclPacketsCallback(Callback<void(uint16_t /* handle */, uint16_t /* packets */)> cb, in RegisterCompletedAclPacketsCallback()
145 void read_local_name_complete_handler(CommandCompleteView view) { in read_local_name_complete_handler()
157 void read_local_version_information_complete_handler(CommandCompleteView view) { in read_local_version_information_complete_handler()
166 void read_local_supported_commands_complete_handler(CommandCompleteView view) { in read_local_supported_commands_complete_handler()
174 void read_local_supported_features_complete_handler(CommandCompleteView view) { in read_local_supported_features_complete_handler()
[all …]
Dacl_manager.cc153 struct AclManager::impl { struct in bluetooth::hci::AclManager
154 impl(const AclManager& acl_manager) : acl_manager_(acl_manager) {} in impl() argument
156 void Start() { in Start()
219 void Stop() { in Stop()
234 void incoming_acl_credits(uint16_t handle, uint16_t credits) { in incoming_acl_credits()
251 void start_round_robin() { in start_round_robin()
270 void handle_dequeue_from_upper(std::map<uint16_t, acl_connection>::iterator connection_pair) { in handle_dequeue_from_upper()
275 void unregister_all_connections() { in unregister_all_connections()
285 void buffer_packet() { in buffer_packet()
312 void send_next_fragment() { in send_next_fragment()
[all …]
Dhci_layer.cc172 struct HciLayer::impl : public hal::HciHalCallbacks { struct in bluetooth::hci::HciLayer
173 impl(HciLayer& module) : hal_(nullptr), module_(module) {} in impl() argument
175 ~impl() {} in ~impl()
177 void Start(hal::HciHal* hal) { in Start()
200 void drop(EventPacketView) {} in drop()
202 void dequeue_and_send_acl() { in dequeue_and_send_acl()
207 void Stop() { in Stop()
223 void send_acl(std::unique_ptr<hci::BasePacketBuilder> packet) { in send_acl()
230 void send_sco(std::unique_ptr<hci::BasePacketBuilder> packet) { in send_sco()
237 void command_status_callback(EventPacketView event) { in command_status_callback()
[all …]
/system/bt/gd/security/
Dsecurity_module.cc35 struct SecurityModule::impl { struct in bluetooth::security::SecurityModule
36 impl(os::Handler* security_handler, l2cap::le::L2capLeModule* l2cap_le_module, in impl() function
43 os::Handler* security_handler_;
44 l2cap::le::L2capLeModule* l2cap_le_module_;
45 l2cap::classic::L2capClassicModule* l2cap_classic_module_;
46 channel::SecurityManagerChannel* security_manager_channel_;
47 hci::HciLayer* hci_layer_;
48 …curityManagerImpl security_manager_impl{security_handler_, l2cap_le_module_, l2cap_classic_module_,
50 ~impl() { in ~impl()
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc41 struct L2capClassicModule::impl { struct in bluetooth::l2cap::classic::L2capClassicModule
42 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() function
44 os::Handler* l2cap_handler_;
45 hci::AclManager* acl_manager_;
46 l2cap::internal::ParameterProvider parameter_provider_;
47 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
48 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
49 …rnal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_impl_,
Dfixed_channel.h43 FixedChannel(std::shared_ptr<internal::FixedChannelImpl> impl, os::Handler* l2cap_handler) in FixedChannel()
/system/bt/gd/shim/
Dstack.cc45 struct bluetooth::shim::Stack::impl { struct in bluetooth::shim::Stack
46 void Start() { in Start()
82 void Stop() { in Stop()
94 StackManager* GetStackManager() { in GetStackManager()
100 os::Thread* stack_thread_ = nullptr;
101 bool is_running_ = false;
102 StackManager stack_manager_;
/system/bt/gd/l2cap/le/
Dl2cap_le_module.cc40 struct L2capLeModule::impl { struct in bluetooth::l2cap::le::L2capLeModule
41 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() function
43 os::Handler* l2cap_handler_;
44 hci::AclManager* acl_manager_;
45 l2cap::internal::ParameterProvider parameter_provider_;
46 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
47 …rnal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_impl_,
Dfixed_channel.h43 FixedChannel(std::shared_ptr<internal::FixedChannelImpl> impl, os::Handler* l2cap_handler) in FixedChannel()
/system/bt/gd/att/
Datt_module.cc44 struct AttModule::impl { struct in bluetooth::att::AttModule
45 impl(os::Handler* att_handler, l2cap::le::L2capLeModule* l2cap_le_module, in impl() argument
56 os::Handler* att_handler_;
57 l2cap::le::L2capLeModule* l2cap_le_module_;
58 l2cap::classic::L2capClassicModule* l2cap_classic_module_;
/system/bt/gd/storage/
Dlegacy.cc24 struct LegacyModule::impl { struct in bluetooth::storage::LegacyModule
25 … config_read(const std::string filename, LegacyReadConfigCallback callback, os::Handler* handler) { in config_read()
37 …config_write(const std::string filename, const config_t config, LegacyWriteConfigCallback callback, in config_write()
42 …cksum_read(const std::string filename, LegacyReadChecksumCallback callback, os::Handler* handler) { in checksum_read()
47 …write(const std::string filename, const std::string checksum, LegacyWriteChecksumCallback callback, in checksum_write()
59 const LegacyModule& module_;
60 os::Handler* handler_;
65 storage::LegacyModule::impl::impl(const storage::LegacyModule& module) : module_(module) {} in impl() function in bluetooth::storage::storage::LegacyModule::impl
/system/bt/gd/neighbor/
Ddiscoverability.cc35 struct DiscoverabilityModule::impl { struct in bluetooth::neighbor::DiscoverabilityModule
47 uint8_t num_supported_iac_;
48 std::vector<hci::Lap> laps_;
52 hci::HciLayer* hci_layer_;
53 neighbor::ScanModule* scan_module_;
54 os::Handler* handler_;
56 DiscoverabilityModule& module_;
63 neighbor::DiscoverabilityModule::impl::impl(neighbor::DiscoverabilityModule& module) : module_(modu… in impl() function in bluetooth::neighbor::neighbor::DiscoverabilityModule::impl
Dpage.cc32 struct PageModule::impl { struct in bluetooth::neighbor::PageModule
46 PageModule& module_;
48 ScanParameters scan_parameters_;
49 hci::PageScanType scan_type_;
50 PageTimeout timeout_;
54 hci::HciLayer* hci_layer_;
55 os::Handler* handler_;
60 neighbor::PageModule::impl::impl(neighbor::PageModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::PageModule::impl
Dinquiry.cc35 struct InquiryModule::impl { struct in bluetooth::neighbor::InquiryModule
60 InquiryCallbacks inquiry_callbacks_;
62 InquiryModule& module_;
64 bool active_general_one_shot_{false};
65 bool active_limited_one_shot_{false};
66 bool active_general_periodic_{false};
67 bool active_limited_periodic_{false};
69 ScanParameters inquiry_scan_;
70 hci::InquiryMode inquiry_mode_;
71 hci::InquiryScanType inquiry_scan_type_;
[all …]
Dscan.cc29 struct ScanModule::impl { struct in bluetooth::neighbor::ScanModule
42 ScanModule& module_;
44 bool inquiry_scan_enabled_;
45 bool page_scan_enabled_;
52 hci::HciLayer* hci_layer_;
53 os::Handler* handler_;
58 neighbor::ScanModule::impl::impl(neighbor::ScanModule& module) in impl() function in bluetooth::neighbor::neighbor::ScanModule::impl
Dname_db.cc40 struct NameDbModule::impl { struct in bluetooth::neighbor::NameDbModule
52 std::unordered_map<hci::Address, PendingRemoteNameRead> address_to_pending_read_map_;
53 std::unordered_map<hci::Address, RemoteName> address_to_name_map_;
57 neighbor::NameModule* name_module_;
59 const NameDbModule& module_;
60 os::Handler* handler_;
65 neighbor::NameDbModule::impl::impl(const neighbor::NameDbModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::NameDbModule::impl
Dconnectability.cc31 struct ConnectabilityModule::impl { struct in bluetooth::neighbor::ConnectabilityModule
42 ConnectabilityModule& module_;
44 neighbor::ScanModule* scan_module_;
50 neighbor::ConnectabilityModule::impl::impl(neighbor::ConnectabilityModule& module) : module_(module… in impl() function in bluetooth::neighbor::neighbor::ConnectabilityModule::impl
Dname.cc46 struct NameModule::impl { struct in bluetooth::neighbor::NameModule
58 const NameModule& module_;
67 std::unordered_map<hci::Address, std::unique_ptr<ReadCallbackHandler>> read_callback_handler_map_;
68 …::unordered_map<hci::Address, std::unique_ptr<CancelCallbackHandler>> cancel_callback_handler_map_;
70 hci::HciLayer* hci_layer_;
71 os::Handler* handler_;
76 neighbor::NameModule::impl::impl(const neighbor::NameModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::NameModule::impl
/system/bt/common/
Dmetrics.cc257 struct BluetoothMetricsLogger::impl { struct in bluetooth::common::BluetoothMetricsLogger
258 impl(size_t max_bluetooth_session, size_t max_pair_event, in impl() argument
273 BluetoothLog* bluetooth_log_;
275 headset_profile_connection_counts_;
276 std::recursive_mutex bluetooth_log_lock_;
279 BluetoothSession* bluetooth_session_;
280 uint64_t bluetooth_session_start_time_ms_;
281 A2dpSessionMetrics a2dp_session_metrics_;
282 std::recursive_mutex bluetooth_session_lock_;
284 std::unique_ptr<LeakyBondedQueue<BluetoothSession>> bt_session_queue_;
[all …]
Dmetrics_linux.cc36 struct BluetoothMetricsLogger::impl { struct in bluetooth::common::BluetoothMetricsLogger
37 impl(size_t max_bluetooth_session, size_t max_pair_event, in impl() argument
/system/bt/gd/l2cap/
Ddynamic_channel.h39 …DynamicChannel(std::shared_ptr<l2cap::internal::DynamicChannelImpl> impl, os::Handler* l2cap_handl… in DynamicChannel()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Ddevice_boutique.cc26 static std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>> impl; in GetMap() local

12