Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/system/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc43 struct ErtmController::impl { struct in bluetooth::l2cap::internal::ErtmController
44 impl(ErtmController* controller, os::Handler* handler) in impl() argument
47 ErtmController* controller_;
48 os::Handler* handler_;
51 static constexpr uint8_t kMaxTxWin = 64;
54 static constexpr bool kSendSrej = false;
58 enum class TxState {
62 TxState tx_state_ = TxState::XMIT;
64 enum class RxState {
69 RxState rx_state_ = RxState::RECV;
[all …]
/packages/modules/Bluetooth/system/gd/hci/
Dremote_name_request.cc29 struct RemoteNameRequestModule::impl { struct in bluetooth::hci::RemoteNameRequestModule
31 impl(const RemoteNameRequestModule& module) : module_(module) {} in impl() function
33 void Start() { in Start()
48 void Stop() { in Stop()
54 void StartRemoteNameRequest( in StartRemoteNameRequest()
89 void CancelRemoteNameRequest(Address address) { in CancelRemoteNameRequest()
96 void ReportRemoteNameRequestCancellation(Address address) { in ReportRemoteNameRequestCancellation()
112 void actually_start_remote_name_request( in actually_start_remote_name_request()
130 void on_start_remote_name_request_status( in on_start_remote_name_request_status()
156 void actually_cancel_remote_name_request(Address address) { in actually_cancel_remote_name_request()
[all …]
Dmsft.cc43 struct MsftExtensionManager::impl { struct in bluetooth::hci::MsftExtensionManager
44 impl(Module* module) : module_(module){}; in impl() argument
46 ~impl() {} in ~impl()
48 void start(os::Handler* handler, hal::HciHal* hal, hci::HciLayer* hci_layer) { in start()
74 void stop() { in stop()
78 void handle_rssi_event(MsftRssiEventPayloadView /* view */) { in handle_rssi_event()
82 void handle_le_monitor_device_event(MsftLeMonitorDeviceEventPayloadView view) { in handle_le_monitor_device_event()
99 void handle_msft_events(VendorSpecificEventView view) { in handle_msft_events()
126 bool supports_msft_extensions() { in supports_msft_extensions()
137 void msft_adv_monitor_add(const MsftAdvMonitor& monitor, MsftAdvMonitorAddCallback cb) { in msft_adv_monitor_add()
[all …]
Dcontroller.cc51 struct Controller::impl { struct in bluetooth::hci::Controller
52 impl(Controller& module) : module_(module) {} in impl() argument
54 void Start(hci::HciLayer* hci) { in Start()
244 void Stop() { in Stop()
248 void NumberOfCompletedPackets(EventView event) { in NumberOfCompletedPackets()
265 void register_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_acl_packets_callback()
270 void unregister_completed_acl_packets_callback() { in unregister_completed_acl_packets_callback()
275 void register_completed_monitor_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_monitor_acl_packets_callback()
280 void unregister_completed_monitor_acl_packets_callback() { in unregister_completed_monitor_acl_packets_callback()
285 void register_monitor_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_monitor_completed_acl_packets_callback()
[all …]
Dle_scanning_manager.cc183 struct LeScanningManager::impl : public LeAddressManagerCallback { struct in bluetooth::hci::LeScanningManager
184 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() argument
186 ~impl() { in ~impl()
192 void start( in start()
247 void stop() { in stop()
262 void handle_scan_results(LeMetaEventView event) { in handle_scan_results()
300 struct ExtendedEventTypeOptions {
310 int8_t get_rx_path_loss_compensation() { in get_rx_path_loss_compensation()
328 int8_t get_rssi_after_calibration(int8_t rssi) { in get_rssi_after_calibration()
342 uint16_t transform_to_extended_event_type(ExtendedEventTypeOptions o) { in transform_to_extended_event_type()
[all …]
Dle_advertising_manager.cc136 struct LeAdvertisingManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeAdvertisingManager
137 impl(Module* module) : module_(module), le_advertising_interface_(nullptr), num_instances_(0) {} in impl() argument
139 ~impl() { in ~impl()
146 void start( in start()
193 int8_t get_tx_path_loss_compensation() { in get_tx_path_loss_compensation()
211 int8_t get_tx_power_after_calibration(int8_t tx_power) { in get_tx_power_after_calibration()
226 size_t GetNumberOfAdvertisingInstances() const { in GetNumberOfAdvertisingInstances()
230 size_t GetNumberOfAdvertisingInstancesInUse() const { in GetNumberOfAdvertisingInstancesInUse()
236 int get_advertiser_reg_id(AdvertiserId advertiser_id) { in get_advertiser_reg_id()
240 AdvertisingApiType get_advertising_api_type() const { in get_advertising_api_type()
[all …]
Ddistance_measurement_manager.cc72 struct DistanceMeasurementManager::impl : bluetooth::hal::RangingHalCallback { struct in bluetooth::hci::DistanceMeasurementManager
73 struct CsProcedureData {
138 void OnOpened( in OnOpened()
163 void OnOpenFailed(uint16_t connection_handle) { in OnOpenFailed()
169 void OnHandleVendorSpecificReplyComplete(uint16_t connection_handle, bool success) { in OnHandleVendorSpecificReplyComplete()
181 void OnResult(uint16_t connection_handle, const bluetooth::hal::RangingResult& ranging_result) { in OnResult()
201 ~impl() {} in ~impl()
202 void start( in start()
228 void stop() { in stop()
232 void register_distance_measurement_callbacks(DistanceMeasurementCallbacks* callbacks) { in register_distance_measurement_callbacks()
[all …]
Dhci_layer.cc112 struct HciLayer::impl { struct in bluetooth::hci::HciLayer
113 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl() function
117 ~impl() { in ~impl()
130 void drop(EventView event) { in drop()
134 void on_outbound_acl_ready() { in on_outbound_acl_ready()
142 void on_outbound_sco_ready() { in on_outbound_sco_ready()
150 void on_outbound_iso_ready() { in on_outbound_iso_ready()
159 …_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> on_response) { in enqueue_command()
164 void on_command_status(EventView event) { in on_command_status()
178 void on_command_complete(EventView event) { in on_command_complete()
[all …]
Dacl_manager.cc64 struct AclManager::impl { struct in bluetooth::hci::AclManager
65 impl(const AclManager& acl_manager) : acl_manager_(acl_manager) {} in impl() argument
67 void Start() { in Start()
95 void Stop() { in Stop()
119 void retry_unknown_acl(bool timed_out) { in retry_unknown_acl()
144 static void on_unknown_acl_timer(struct AclManager::impl* impl) { in on_unknown_acl_timer()
151 void dequeue_and_route_acl_packet_to_connection() { in dequeue_and_route_acl_packet_to_connection()
186 const AclManager& acl_manager_;
188 classic_impl* classic_impl_ = nullptr;
189 le_impl* le_impl_ = nullptr;
[all …]
/packages/modules/Bluetooth/system/gd/security/
Dsecurity_module.cc41 struct SecurityModule::impl { struct in bluetooth::security::SecurityModule
42 impl( in impl() function
67 os::Handler* security_handler_;
68 l2cap::classic::L2capClassicModule* l2cap_classic_module_;
69 l2cap::le::L2capLeModule* l2cap_le_module_;
70 channel::SecurityManagerChannel* security_manager_channel_;
71 hci::HciLayer* hci_layer_;
72 hci::AclManager* acl_manager_;
73 hci::Controller* controller_;
74 storage::StorageModule* storage_module_;
[all …]
/packages/modules/Bluetooth/system/rust/src/connection/ffi/
Dconnection_shim.cc72 struct LeAclManagerShim::impl : hci::acl_manager::LeAcceptlistCallbacks { struct in bluetooth::connection::LeAclManagerShim
74 impl() { acl_manager_ = shim::GetAclManager(); } in impl() argument
76 ~impl() { in ~impl()
86 void CreateLeConnection(core::AddressWithType address, bool is_direct) { in CreateLeConnection()
90 void CancelLeConnect(core::AddressWithType address) { in CancelLeConnect()
95 void RegisterRustCallbacks(BoxedLeAclManagerCallbackShim callbacks) { in RegisterRustCallbacks()
102 virtual void OnLeConnectSuccess(hci::AddressWithType address) { in OnLeConnectSuccess()
107 virtual void OnLeConnectFail(hci::AddressWithType address, in OnLeConnectFail()
114 virtual void OnLeDisconnection(hci::AddressWithType address) { in OnLeDisconnection()
119 virtual void OnResolvingListChange() {} in OnResolvingListChange()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dl2cap_le_module.cc55 struct L2capLeModule::impl { struct in bluetooth::l2cap::le::L2capLeModule
56 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() argument
60 os::Handler* l2cap_handler_;
61 hci::AclManager* acl_manager_;
62 l2cap::internal::ParameterProvider parameter_provider_;
63 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
64 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
65 internal::LinkManager link_manager_{l2cap_handler_,
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler.cc43 struct AclScheduler::impl { struct in bluetooth::hci::acl_manager::AclScheduler
44 …ueOutgoingAclConnection(Address address, common::ContextualOnceCallback<void()> start_connection) { in EnqueueOutgoingAclConnection()
49 void RegisterPendingIncomingConnection(Address address) { in RegisterPendingIncomingConnection()
53 void ReportAclConnectionCompletion( in ReportAclConnectionCompletion()
80 void ReportOutgoingAclConnectionFailure() { in ReportOutgoingAclConnectionFailure()
94 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()
157 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.cc44 struct L2capClassicModule::impl { struct in bluetooth::l2cap::classic::L2capClassicModule
45 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() function
50 os::Handler* l2cap_handler_;
51 hci::AclManager* acl_manager_;
52 l2cap::internal::ParameterProvider parameter_provider_;
53 internal::FixedChannelServiceManagerImpl fixed_channel_service_manager_impl_{l2cap_handler_};
54 internal::DynamicChannelServiceManagerImpl dynamic_channel_service_manager_impl_{l2cap_handler_};
55 …rnal::LinkManager link_manager_{l2cap_handler_, acl_manager_, &fixed_channel_service_manager_impl_,
57 std::unique_ptr<internal::DumpsysHelper> dumpsys_helper_;
59 struct SecurityInterfaceImpl : public SecurityInterface {
[all …]
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DPacketFilter.kt77 private val impl = OffsetFilter(ETHER_TYPE_OFFSET, 0x08, 0x00 /* IPv4 */).and( constant
90 private val impl = OffsetFilter(ETHER_TYPE_OFFSET, 0x86.toByte(), 0xdd.toByte() /* IPv6 */).and( in test() constant
100 private val impl = OffsetFilter(IPV4_DST_OFFSET, *dst.address) constant
108 private val impl = OffsetFilter(ETHER_TYPE_OFFSET, 0x08, 0x06 /* ARP */) in test() constant in ArpRequestFilter
114 private val impl = OffsetFilter(ETHER_TYPE_OFFSET, 0x86.toByte(), 0xdd.toByte() /* IPv6 */).and( constant in Icmpv6Filter
123 private val impl = IPv4UdpFilter(srcPort = 68, dstPort = 67) in test() constant in DhcpClientPacketFilter
/packages/modules/Bluetooth/system/bta/le_audio/
Dcontent_control_id_keeper.cc95 struct ContentControlIdKeeper::impl { struct in bluetooth::le_audio::ContentControlIdKeeper
96 impl(const ContentControlIdKeeper& ccid_keeper) : ccid_keeper_(ccid_keeper) {} in impl() argument
98 void Start() { in Start()
104 void Stop() { in Stop()
110 bool IsRunning() { return ccid_keeper_impl_ ? true : false; } in IsRunning()
112 const ContentControlIdKeeper& ccid_keeper_;
113 std::unique_ptr<ccid_keeper> ccid_keeper_impl_;
Dle_audio_set_configuration_provider_json.cc543 struct AudioSetConfigurationProvider::impl { struct in bluetooth::le_audio::AudioSetConfigurationProvider
544 impl(const AudioSetConfigurationProvider& config_provider) in impl() argument
547 void Initialize(types::CodecLocation location) { in Initialize()
553 void Cleanup() { in Cleanup()
559 bool IsRunning() { return config_provider_impl_ ? true : false; } in IsRunning()
561 void Dump(int fd) { in Dump()
595 const AudioSetConfigurationProvider& config_provider_;
596 std::unique_ptr<AudioSetConfigurationProviderJson> config_provider_impl_;
/packages/modules/Bluetooth/system/gd/neighbor/
Dscan.cc33 struct ScanModule::impl { struct in bluetooth::neighbor::ScanModule
46 ScanModule& module_;
48 bool inquiry_scan_enabled_;
49 bool page_scan_enabled_;
56 hci::HciLayer* hci_layer_;
57 os::Handler* handler_;
62 neighbor::ScanModule::impl::impl(neighbor::ScanModule& module) in impl() function in bluetooth::neighbor::neighbor::ScanModule::impl
Dname_db.cc43 struct NameDbModule::impl { struct in bluetooth::neighbor::NameDbModule
56 std::unordered_map<hci::Address, std::list<PendingRemoteNameRead>> address_to_pending_read_map_;
57 std::unordered_map<hci::Address, RemoteName> address_to_name_map_;
61 hci::RemoteNameRequestModule* name_module_;
63 const NameDbModule& module_;
64 os::Handler* handler_;
70 neighbor::NameDbModule::impl::impl(const neighbor::NameDbModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::NameDbModule::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()
40 void Stop() { in Stop()
46 void Dump(int fd) { in Dump()
50 bool IsRunning() { return iso_impl_ ? true : false; } in IsRunning()
52 const IsoManager& iso_manager_;
53 std::unique_ptr<iso_impl> iso_impl_;
/packages/apps/TV/src/com/android/tv/modules/
DTvApplicationModule.java116 abstract DvrDataManager providesDvrDataManager(DvrDataManagerImpl impl); in providesDvrDataManager()
120 abstract WritableDvrDataManager providesWritableDvrDataManager(DvrDataManagerImpl impl); in providesWritableDvrDataManager()
124 abstract EpgFetcher epgFetcher(EpgFetcherImpl impl); in epgFetcher()
135 TvOptionsRowAdapterFactory impl); in tvOptionsRowAdapterFactory()
138 abstract MenuRowFactory.Factory menuRowFactoryFactory(MenuRowFactoryFactory impl); in menuRowFactoryFactory()
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementManagerTest.java471 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource() local
486 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_SPlus() local
500 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesExecutor() local
515 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesExecutor_SPlus() local
529 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesCallback() local
544 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesCallback_SPlus() local
559 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebSource() local
575 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebSource_SPlus() local
591 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebTrigger() local
607 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebTrigger_SPlus() local
[all …]
/packages/modules/Bluetooth/system/gd/sysprops/
Dsysprops_module.cc41 struct SyspropsModule::impl { struct in bluetooth::sysprops::SyspropsModule
42 impl(os::Handler* sysprops_handler) : sysprops_handler_(sysprops_handler) {} in impl() argument
44 os::Handler* sysprops_handler_;
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc898 struct shim::legacy::Acl::impl { struct in shim::legacy::Acl
899 impl(uint8_t max_acceptlist_size, uint8_t max_address_resolution_size) in impl() argument
905 handle_to_classic_connection_map_;
907 handle_to_le_connection_map_;
909 SyncMapCount<std::string> classic_acl_disconnect_reason_;
910 SyncMapCount<std::string> le_acl_disconnect_reason_;
912 FixedQueue<std::unique_ptr<ConnectionDescriptor>> connection_history_ =
915 ShadowAcceptlist shadow_acceptlist_;
916 ShadowAddressResolutionList shadow_address_resolution_list_;
918 bool IsClassicAcl(HciHandle handle) { in IsClassicAcl()
[all …]

1234