Home
last modified time | relevance | path

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

1234

/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()
49 void Stop() { in Stop()
55 void StartRemoteNameRequest( in StartRemoteNameRequest()
84 void CancelRemoteNameRequest(Address address) { in CancelRemoteNameRequest()
92 void ReportRemoteNameRequestCancellation(Address address) { in ReportRemoteNameRequestCancellation()
109 void actually_start_remote_name_request( in actually_start_remote_name_request()
126 void on_start_remote_name_request_status(Address address, CompletionCallback on_completion, in on_start_remote_name_request_status()
149 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()
77 void stop() { log::info("MsftExtensionManager stop()"); } in stop()
79 void handle_rssi_event(MsftRssiEventPayloadView /* view */) { in handle_rssi_event()
83 void handle_le_monitor_device_event(MsftLeMonitorDeviceEventPayloadView view) { in handle_le_monitor_device_event()
100 void handle_msft_events(VendorSpecificEventView view) { in handle_msft_events()
127 bool supports_msft_extensions() { return msft_.opcode.has_value(); } in supports_msft_extensions()
129 void msft_adv_monitor_add(const MsftAdvMonitor& monitor, MsftAdvMonitorAddCallback cb) { in msft_adv_monitor_add()
[all …]
Dcontroller.cc54 struct Controller::impl { struct in bluetooth::hci::Controller
55 impl(Controller& module) : module_(module) {} in impl() argument
57 void Start(hci::HciLayer* hci) { in Start()
272 void Stop() { hci_ = nullptr; } in Stop()
274 void NumberOfCompletedPackets(EventView event) { in NumberOfCompletedPackets()
291 void register_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_acl_packets_callback()
296 void unregister_completed_acl_packets_callback() { in unregister_completed_acl_packets_callback()
301 void register_completed_monitor_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_completed_monitor_acl_packets_callback()
306 void unregister_completed_monitor_acl_packets_callback() { in unregister_completed_monitor_acl_packets_callback()
311 void register_monitor_completed_acl_packets_callback(CompletedAclPacketsCallback callback) { in register_monitor_completed_acl_packets_callback()
[all …]
Dle_scanning_manager.cc163 struct LeScanningManager::impl : public LeAddressManagerCallback { struct in bluetooth::hci::LeScanningManager
164 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() function
166 ~impl() { in ~impl()
172 void start(os::Handler* handler, HciLayer* hci_layer, Controller* controller, in start()
223 void stop() { in stop()
238 void handle_scan_results(LeMetaEventView event) { in handle_scan_results()
278 struct ExtendedEventTypeOptions {
288 int8_t get_rx_path_loss_compensation() { in get_rx_path_loss_compensation()
306 int8_t get_rssi_after_calibration(int8_t rssi) { in get_rssi_after_calibration()
320 uint16_t transform_to_extended_event_type(ExtendedEventTypeOptions o) { in transform_to_extended_event_type()
[all …]
Dle_advertising_manager.cc142 struct LeAdvertisingManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeAdvertisingManager
143 impl(Module* module) : module_(module), le_advertising_interface_(nullptr), num_instances_(0) {} in impl() argument
145 ~impl() { in ~impl()
152 void start(os::Handler* handler, hci::HciLayer* hci_layer, hci::Controller* controller, in start()
196 int8_t get_tx_path_loss_compensation() { in get_tx_path_loss_compensation()
214 int8_t get_tx_power_after_calibration(int8_t tx_power) { in get_tx_power_after_calibration()
229 size_t GetNumberOfAdvertisingInstances() const { return num_instances_; } in GetNumberOfAdvertisingInstances()
231 size_t GetNumberOfAdvertisingInstancesInUse() const { in GetNumberOfAdvertisingInstancesInUse()
236 int get_advertiser_reg_id(AdvertiserId advertiser_id) { return id_map_[advertiser_id]; } in get_advertiser_reg_id()
238 AdvertisingApiType get_advertising_api_type() const { return advertising_api_type_; } in get_advertising_api_type()
[all …]
Ddistance_measurement_manager.cc92 struct DistanceMeasurementManager::impl : bluetooth::hal::RangingHalCallback { struct in bluetooth::hci::DistanceMeasurementManager
93 struct CsProcedureData {
167 struct RSSITracker {
176 enum class CsTrackerState : uint8_t {
187 struct CsTracker {
227 bool get_free_config_id(uint16_t connection_handle, uint8_t& config_id) { in get_free_config_id()
247 void OnOpened( in OnOpened()
268 void OnOpenFailed(uint16_t connection_handle) { in OnOpenFailed()
278 void OnHandleVendorSpecificReplyComplete(uint16_t connection_handle, bool success) { in OnHandleVendorSpecificReplyComplete()
289 void OnResult(uint16_t connection_handle, const bluetooth::hal::RangingResult& ranging_result) { in OnResult()
[all …]
Dacl_manager.cc68 struct AclManager::impl { struct in bluetooth::hci::AclManager
69 explicit impl(const AclManager& acl_manager) : acl_manager_(acl_manager) {} in impl() argument
71 void Start() { in Start()
97 void Stop() { in Stop()
121 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()
190 const AclManager& acl_manager_;
192 classic_impl* classic_impl_ = nullptr;
193 le_impl* le_impl_ = nullptr;
[all …]
Dhci_layer.cc151 struct HciLayer::impl { struct in bluetooth::hci::HciLayer
152 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl() argument
156 ~impl() { in ~impl()
169 void drop(EventView event) { in drop()
173 void on_outbound_acl_ready() { in on_outbound_acl_ready()
181 void on_outbound_sco_ready() { in on_outbound_sco_ready()
189 void on_outbound_iso_ready() { in on_outbound_iso_ready()
198 void enqueue_command(unique_ptr<CommandBuilder> command, in enqueue_command()
204 void on_command_status(EventView event) { in on_command_status()
216 void on_command_complete(EventView event) { in on_command_complete()
[all …]
/packages/modules/Bluetooth/system/gd/lpp/
Dlpp_offload_manager.cc32 struct LppOffloadManager::impl { struct in bluetooth::lpp::LppOffloadManager
33 ~impl() {} in ~impl()
35 void start(os::Handler* handler, hal::SocketHal* socket_hal) { in start()
42 void stop() { in stop()
47 bool register_socket_hal_callbacks(hal::SocketHalCallback* callbacks) { in register_socket_hal_callbacks()
52 hal::SocketCapabilities get_socket_capabilities() const { in get_socket_capabilities()
57 bool socket_opened(const hal::SocketContext& context) { in socket_opened()
62 void socket_closed(uint64_t socket_id) { in socket_closed()
67 os::Handler* handler_;
68 hal::SocketHal* socket_hal_;
[all …]
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler.cc46 struct AclScheduler::impl { struct in bluetooth::hci::acl_manager::AclScheduler
47 void EnqueueOutgoingAclConnection(Address address, in EnqueueOutgoingAclConnection()
54 void RegisterPendingIncomingConnection(Address address) { in RegisterPendingIncomingConnection()
58 void ReportAclConnectionCompletion( in ReportAclConnectionCompletion()
85 void ReportOutgoingAclConnectionFailure() { in ReportOutgoingAclConnectionFailure()
99 void CancelAclConnection(Address address, in CancelAclConnection()
114 void EnqueueRemoteNameRequest(Address address, in EnqueueRemoteNameRequest()
122 void ReportRemoteNameRequestCompletion(Address /* address */) { in ReportRemoteNameRequestCompletion()
147 void CancelRemoteNameRequest(Address address, in CancelRemoteNameRequest()
163 void Stop() { stopped_ = true; } in Stop()
[all …]
Dle_acl_connection.cc107 struct LeAclConnection::impl { struct in bluetooth::hci::acl_manager::LeAclConnection
108 impl(LeAclConnectionInterface* le_acl_connection_interface, std::shared_ptr<Queue> queue, in impl() argument
111 LeConnectionManagementCallbacks* GetEventCallbacks( in GetEventCallbacks()
118 void PutEventCallbacks() { in PutEventCallbacks()
123 std::shared_ptr<Queue> queue_;
124 LeAclConnectionTracker tracker;
125 std::function<void(uint16_t)> invalidate_callbacks_;
/packages/modules/Bluetooth/system/stack/eatt/
Deatt.cc37 struct EattExtension::impl { struct in bluetooth::eatt::EattExtension
41 void Start() { in Start()
65 void Stop() { in Stop()
74 bool IsRunning() { return eatt_impl_ ? true : false; } in IsRunning()
76 static eatt_impl* GetImplInstance(void) { in GetImplInstance()
81 static void eatt_connect_ind(const RawAddress& bda, std::vector<uint16_t>& lcids, uint16_t psm, in eatt_connect_ind()
89 static void eatt_connect_cfm(const RawAddress& bda, uint16_t lcid, uint16_t peer_mtu, in eatt_connect_cfm()
97 static void eatt_reconfig_completed(const RawAddress& bda, uint16_t lcid, bool is_local_cfg, in eatt_reconfig_completed()
105 static void eatt_collision_ind(const RawAddress& bd_addr) { in eatt_collision_ind()
112 static void eatt_error_cb(uint16_t lcid, uint16_t reason) { in eatt_error_cb()
[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.cc99 struct ContentControlIdKeeper::impl { struct in bluetooth::le_audio::ContentControlIdKeeper
100 impl(const ContentControlIdKeeper& ccid_keeper) : ccid_keeper_(ccid_keeper) {} in impl() function
102 void Start() { in Start()
107 void Stop() { in Stop()
112 bool IsRunning() { return ccid_keeper_impl_ ? true : false; } in IsRunning()
114 const ContentControlIdKeeper& ccid_keeper_;
115 std::unique_ptr<ccid_keeper> ccid_keeper_impl_;
Dle_audio_set_configuration_provider_json.cc530 struct AudioSetConfigurationProvider::impl { struct in bluetooth::le_audio::AudioSetConfigurationProvider
531 impl(const AudioSetConfigurationProvider& config_provider) : config_provider_(config_provider) {} in impl() function
533 void Initialize(types::CodecLocation location) { in Initialize()
538 void Cleanup() { in Cleanup()
543 bool IsRunning() { return config_provider_impl_ ? true : false; } in IsRunning()
545 void Dump(int fd) { in Dump()
577 const AudioSetConfigurationProvider& config_provider_;
578 std::unique_ptr<AudioSetConfigurationProviderJson> config_provider_impl_;
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_iso.cc31 struct IsoManager::impl { struct in bluetooth::hci::IsoManager
32 explicit 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()
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.java418 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource() local
432 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_SPlus() local
446 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesExecutor() local
460 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesExecutor_SPlus() local
474 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesCallback() local
486 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterSource_propagatesCallback_SPlus() local
501 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebSource() local
514 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebSource_SPlus() local
530 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebTrigger() local
543 MeasurementCompatibleManager impl = mock(MeasurementCompatibleManager.class); in testRegisterWebTrigger_SPlus() local
[all …]
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc815 struct shim::Acl::impl { struct in shim::Acl
816 impl(uint8_t max_address_resolution_size) in impl() argument
819 std::map<HciHandle, std::unique_ptr<ClassicShimAclConnection>> handle_to_classic_connection_map_;
820 std::map<HciHandle, std::unique_ptr<LeShimAclConnection>> handle_to_le_connection_map_;
822 SyncMapCount<std::string> classic_acl_disconnect_reason_;
823 SyncMapCount<std::string> le_acl_disconnect_reason_;
825 FixedQueue<std::unique_ptr<ConnectionDescriptor>> connection_history_ =
828 ShadowAddressResolutionList shadow_address_resolution_list_;
830 struct timed_wakelock wakeup_wakelock_;
831 bool system_suspend_ = false;
[all …]
Dstack.cc68 struct Stack::impl { struct in bluetooth::shim::Stack
69 Acl* acl_ = nullptr;
70 std::shared_ptr<metrics::CounterMetrics> counter_metrics_ = nullptr;
71 std::shared_ptr<storage::StorageModule> storage_ = nullptr;
72 std::shared_ptr<hal::SnoopLogger> snoop_logger_ = nullptr;
/packages/modules/Bluetooth/system/gd/sysprops/
Dsysprops_module.cc38 struct SyspropsModule::impl { struct in bluetooth::sysprops::SyspropsModule
39 impl(os::Handler* sysprops_handler) : sysprops_handler_(sysprops_handler) {} in impl() function
41 os::Handler* sysprops_handler_;
/packages/apps/Dialer/java/com/android/dialer/contacts/
DContactsModule.java41 Lazy<ContactDisplayPreferencesImpl> impl, in provideContactDisplayPreferences()
51 HighResolutionPhotoRequesterImpl impl); in toHighResolutionPhotoRequesterImpl()
/packages/apps/TV/src/com/android/tv/app/
DLiveTvModule.java38 static AccountHelper providesAccountHelper(AccountHelperImpl impl) { in providesAccountHelper()
61 static EpgReader providesEpgReader(StubEpgReader impl) { in providesEpgReader()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeModule.java53 CoreStartable bindVolumeUIStartable(VolumeUI impl); in bindVolumeUIStartable()
58 ConfigurationController.ConfigurationListener bindVolumeUIConfigChanges(VolumeUI impl); in bindVolumeUIConfigChanges()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/compat/builders/impl/
DListBuilder.java42 void addRow(@NonNull RowBuilder impl); in addRow()
45 void addGridRow(@NonNull GridRowBuilder impl); in addGridRow()
53 void setHeader(@NonNull HeaderBuilder impl); in setHeader()

1234