/system/bt/gd/l2cap/internal/ |
D | enhanced_retransmission_mode_channel_data_controller.cc | 41 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 …]
|
/system/bt/gd/security/ |
D | security_module.cc | 40 struct SecurityModule::impl { struct in bluetooth::security::SecurityModule 41 impl( in impl() argument 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 …]
|
/system/bt/gd/hci/ |
D | vendor_specific_event_manager.cc | 28 struct VendorSpecificEventManager::impl { struct in bluetooth::hci::VendorSpecificEventManager 29 impl(Module* module) : module_(module){}; in impl() function 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 …]
|
D | controller.cc | 32 struct Controller::impl { struct in bluetooth::hci::Controller 33 impl(Controller& module) : module_(module) {} in impl() argument 35 void Start(hci::HciLayer* hci) { in Start() 141 void Stop() { in Stop() 148 void NumberOfCompletedPackets(EventView event) { in NumberOfCompletedPackets() 165 void register_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_acl_packets_callback() 170 void unregister_completed_acl_packets_callback() { in unregister_completed_acl_packets_callback() 175 void register_completed_monitor_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_monitor_acl_packets_callback() 180 void unregister_completed_monitor_acl_packets_callback() { in unregister_completed_monitor_acl_packets_callback() 185 void register_monitor_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_monitor_completed_acl_packets_callback() [all …]
|
D | le_advertising_manager.cc | 87 struct LeAdvertisingManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeAdvertisingManager 88 impl(Module* module) : module_(module), le_advertising_interface_(nullptr), num_instances_(0) {} in impl() function 90 ~impl() { in ~impl() 97 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller, in start() 125 size_t GetNumberOfAdvertisingInstances() const { in GetNumberOfAdvertisingInstances() 129 AdvertisingApiType get_advertising_api_type() const { in get_advertising_api_type() 133 void register_advertising_callback(AdvertisingCallback* advertising_callback) { in register_advertising_callback() 137 void handle_event(LeMetaEventView event) { in handle_event() 150 void handle_scan_request(LeScanRequestReceivedView event_view) { in handle_scan_request() 159 void handle_set_terminated(LeAdvertisingSetTerminatedView event_view) { in handle_set_terminated() [all …]
|
D | le_scanning_manager.cc | 199 struct LeScanningManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeScanningManager 200 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() function 202 ~impl() { in ~impl() 208 void start( in start() 248 void stop() { in stop() 262 void handle_scan_results(LeMetaEventView event) { in handle_scan_results() 281 struct ExtendedEventTypeOptions { 291 void transform_to_extended_event_type(uint16_t* extended_event_type, ExtendedEventTypeOptions o) { in transform_to_extended_event_type() 299 void handle_advertising_report(LeAdvertisingReportView event_view) { in handle_advertising_report() 357 void handle_directed_advertising_report(LeDirectedAdvertisingReportView event_view) { in handle_directed_advertising_report() [all …]
|
D | hci_layer.cc | 94 struct HciLayer::impl { struct in bluetooth::hci::HciLayer 95 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl() function 99 ~impl() { in ~impl() 111 void drop(EventView event) { in drop() 115 void on_outbound_acl_ready() { in on_outbound_acl_ready() 123 void on_outbound_iso_ready() { in on_outbound_iso_ready() 132 …_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> on_response) { in enqueue_command() 137 void on_command_status(EventView event) { in on_command_status() 152 void on_command_complete(EventView event) { in on_command_complete() 157 void handle_command_response(EventView event, std::string logging_id) { in handle_command_response() [all …]
|
D | acl_manager.cc | 54 struct AclManager::impl { struct in bluetooth::hci::AclManager 55 impl(const AclManager& acl_manager) : acl_manager_(acl_manager) {} in impl() function 57 void Start() { in Start() 72 void Stop() { in Stop() 86 void dequeue_and_route_acl_packet_to_connection() { in dequeue_and_route_acl_packet_to_connection() 113 const AclManager& acl_manager_; 115 classic_impl* classic_impl_ = nullptr; 116 le_impl* le_impl_ = nullptr; 117 os::Handler* handler_ = nullptr; 118 Controller* controller_ = nullptr; [all …]
|
/system/bt/gd/iso/ |
D | iso_module.cc | 33 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_};
|
/system/bt/gd/l2cap/le/ |
D | l2cap_le_module.cc | 52 struct L2capLeModule::impl { struct in bluetooth::l2cap::le::L2capLeModule 53 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() function 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_,
|
/system/bt/gd/btaa/android/ |
D | activity_attribution.cc | 80 struct ActivityAttribution::impl { struct in bluetooth::activity_attribution::ActivityAttribution 81 impl(ActivityAttribution* module) { in impl() function 106 void on_hci_packet(hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) { in on_hci_packet() 110 void on_wakelock_acquired() { in on_wakelock_acquired() 114 void on_wakelock_released() { in on_wakelock_released() 123 void on_wakeup() { in on_wakeup() 127 void register_callback(ActivityAttributionCallback* callback) { in register_callback() 131 void Dump( in Dump() 136 ActivityAttributionCallback* callback_; 137 AttributionProcessor attribution_processor_; [all …]
|
/system/bt/gd/att/ |
D | att_module.cc | 46 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_;
|
/system/bt/gd/l2cap/classic/ |
D | l2cap_classic_module.cc | 45 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 …]
|
/system/bt/stack/eatt/ |
D | eatt.cc | 26 struct EattExtension::impl { struct in bluetooth::eatt::EattExtension 30 void Start() { in Start() 52 void Stop() { in Stop() 61 bool IsRunning() { return eatt_impl_ ? true : false; } in IsRunning() 63 static eatt_impl* GetImplInstance(void) { in GetImplInstance() 68 static void eatt_connect_ind(const RawAddress& bda, in eatt_connect_ind() 77 static void eatt_connect_cfm(const RawAddress& bda, uint16_t lcid, in eatt_connect_cfm() 84 static void eatt_reconfig_completed(const RawAddress& bda, uint16_t lcid, in eatt_reconfig_completed() 93 static void eatt_error_cb(uint16_t lcid, uint16_t reason) { in eatt_error_cb() 98 static void eatt_disconnect_ind(uint16_t lcid, bool please_confirm) { in eatt_disconnect_ind() [all …]
|
/system/bt/gd/neighbor/ |
D | discoverability.cc | 36 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
|
D | page.cc | 33 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
|
D | inquiry.cc | 35 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 …]
|
D | scan.cc | 31 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
|
D | name_db.cc | 40 struct NameDbModule::impl { struct in bluetooth::neighbor::NameDbModule 52 std::unordered_map<hci::Address, std::list<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
|
D | connectability.cc | 32 struct ConnectabilityModule::impl { struct in bluetooth::neighbor::ConnectabilityModule 43 ConnectabilityModule& module_; 45 neighbor::ScanModule* scan_module_; 51 neighbor::ConnectabilityModule::impl::impl(neighbor::ConnectabilityModule& module) : module_(module… in impl() function in bluetooth::neighbor::neighbor::ConnectabilityModule::impl
|
D | name.cc | 46 struct NameModule::impl { struct in bluetooth::neighbor::NameModule 62 const NameModule& module_; 71 std::unordered_map<hci::Address, std::unique_ptr<ReadCallbackHandler>> read_callback_handler_map_; 72 …::unordered_map<hci::Address, std::unique_ptr<CancelCallbackHandler>> cancel_callback_handler_map_; 74 hci::HciLayer* hci_layer_; 75 os::Handler* handler_; 80 neighbor::NameModule::impl::impl(const neighbor::NameModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::NameModule::impl
|
/system/bt/gd/btaa/linux/ |
D | activity_attribution.cc | 25 struct ActivityAttribution::impl { struct in bluetooth::activity_attribution::ActivityAttribution 26 impl(ActivityAttribution* module) {} in impl() argument 28 void on_hci_packet(hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) {} in on_hci_packet() 30 void register_callback(ActivityAttributionCallback* callback) {} in register_callback()
|
/system/bt/stack/btm/ |
D | btm_iso.cc | 31 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 bool IsRunning() { return iso_impl_ ? true : false; } in IsRunning() 46 const IsoManager& iso_manager_; 47 std::unique_ptr<iso_impl> iso_impl_;
|
/system/bt/gd/storage/ |
D | storage_module.cc | 89 struct StorageModule::impl { struct in bluetooth::storage::StorageModule 90 explicit impl(Handler* handler, ConfigCache cache, size_t in_memory_cache_size_limit) in impl() argument 92 Alarm config_save_alarm_; 93 ConfigCache cache_; 94 ConfigCache memory_only_cache_; 95 bool has_pending_config_save_ = false;
|
/system/bt/gd/hci/acl_manager/ |
D | le_acl_connection.cc | 85 struct LeAclConnection::impl { struct in bluetooth::hci::acl_manager::LeAclConnection 86 …impl(LeAclConnectionInterface* le_acl_connection_interface, std::shared_ptr<Queue> queue, uint16_t… in impl() function 88 LeConnectionManagementCallbacks* GetEventCallbacks() { in GetEventCallbacks() 94 bool callbacks_given_{false}; 95 std::shared_ptr<Queue> queue_; 96 LeAclConnectionTracker tracker;
|