Home
last modified time | relevance | path

Searched refs:impl (Results 1 – 25 of 112) sorted by relevance

12345

/system/bt/gd/neighbor/
Dconnectability.cc32 struct ConnectabilityModule::impl { struct in bluetooth::neighbor::ConnectabilityModule
40 impl(ConnectabilityModule& connectability_module);
51 neighbor::ConnectabilityModule::impl::impl(neighbor::ConnectabilityModule& module) : module_(module… in impl() function in bluetooth::neighbor::neighbor::ConnectabilityModule::impl
53 void neighbor::ConnectabilityModule::impl::StartConnectability() { in StartConnectability()
57 void neighbor::ConnectabilityModule::impl::StopConnectability() { in StopConnectability()
61 bool neighbor::ConnectabilityModule::impl::IsConnectable() const { in IsConnectable()
65 void neighbor::ConnectabilityModule::impl::Start() { in Start()
69 void neighbor::ConnectabilityModule::impl::Stop() {} in Stop()
71 neighbor::ConnectabilityModule::ConnectabilityModule() : pimpl_(std::make_unique<impl>(*this)) {} in ConnectabilityModule()
Dpage.cc33 struct PageModule::impl { struct in bluetooth::neighbor::PageModule
44 impl(PageModule& page_module);
61 neighbor::PageModule::impl::impl(neighbor::PageModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::PageModule::impl
63 void neighbor::PageModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
111 void neighbor::PageModule::impl::Start() { in Start()
116 … hci::ReadPageScanActivityBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
119 hci::ReadPageScanTypeBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
122 hci::ReadPageTimeoutBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in Start()
125 void neighbor::PageModule::impl::Stop() { in Stop()
130 void neighbor::PageModule::impl::SetScanActivity(ScanParameters params) { in SetScanActivity()
[all …]
Dscan.cc31 struct ScanModule::impl { struct in bluetooth::neighbor::ScanModule
32 impl(ScanModule& module);
60 neighbor::ScanModule::impl::impl(neighbor::ScanModule& module) in impl() function in bluetooth::neighbor::neighbor::ScanModule::impl
63 void neighbor::ScanModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
84 void neighbor::ScanModule::impl::WriteScanEnable() { in WriteScanEnable()
99 …hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable()
104 …hci_layer_->EnqueueCommand(std::move(packet), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in WriteScanEnable()
108 void neighbor::ScanModule::impl::ReadScanEnable(hci::ScanEnable scan_enable) { in ReadScanEnable()
132 void neighbor::ScanModule::impl::SetInquiryScan(bool enabled) { in SetInquiryScan()
137 void neighbor::ScanModule::impl::SetPageScan(bool enabled) { in SetPageScan()
[all …]
Dinquiry.cc35 struct InquiryModule::impl { struct in bluetooth::neighbor::InquiryModule
61 impl(InquiryModule& inquiry_module);
98 neighbor::InquiryModule::impl::impl(neighbor::InquiryModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::InquiryModule::impl
100 void neighbor::InquiryModule::impl::OnCommandCompleteSync(hci::CommandCompleteView view) { in OnCommandCompleteSync()
106 void neighbor::InquiryModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
179 void neighbor::InquiryModule::impl::OnCommandStatus(hci::CommandStatusView status) { in OnCommandStatus()
197 void neighbor::InquiryModule::impl::OnEvent(hci::EventPacketView view) { in OnEvent()
244 void neighbor::InquiryModule::impl::RegisterCallbacks(InquiryCallbacks callbacks) { in RegisterCallbacks()
248 hci::EventCode::INQUIRY_RESULT, handler_->BindOn(this, &InquiryModule::impl::OnEvent)); in RegisterCallbacks()
250 … hci::EventCode::INQUIRY_RESULT_WITH_RSSI, handler_->BindOn(this, &InquiryModule::impl::OnEvent)); in RegisterCallbacks()
[all …]
Ddiscoverability.cc36 struct DiscoverabilityModule::impl { struct in bluetooth::neighbor::DiscoverabilityModule
45 impl(DiscoverabilityModule& discoverability_module);
64 neighbor::DiscoverabilityModule::impl::impl(neighbor::DiscoverabilityModule& module) : module_(modu… in impl() function in bluetooth::neighbor::neighbor::DiscoverabilityModule::impl
66 void neighbor::DiscoverabilityModule::impl::OnCommandComplete(hci::CommandCompleteView status) { in OnCommandComplete()
93 void neighbor::DiscoverabilityModule::impl::StartDiscoverability(std::vector<hci::Lap>& laps) { in StartDiscoverability()
96 …hci::WriteCurrentIacLapBuilder::Create(laps), handler_->BindOnceOn(this, &impl::OnCommandComplete)… in StartDiscoverability()
98 … hci::ReadCurrentIacLapBuilder::Create(), handler_->BindOnceOn(this, &impl::OnCommandComplete)); in StartDiscoverability()
102 void neighbor::DiscoverabilityModule::impl::StopDiscoverability() { in StopDiscoverability()
106 bool neighbor::DiscoverabilityModule::impl::IsGeneralDiscoverabilityEnabled() const { in IsGeneralDiscoverabilityEnabled()
110 bool neighbor::DiscoverabilityModule::impl::IsLimitedDiscoverabilityEnabled() const { in IsLimitedDiscoverabilityEnabled()
[all …]
Dname_db.cc40 struct NameDbModule::impl { struct in bluetooth::neighbor::NameDbModule
46 impl(const NameDbModule& module);
65 neighbor::NameDbModule::impl::impl(const neighbor::NameDbModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::NameDbModule::impl
67 void neighbor::NameDbModule::impl::ReadRemoteNameRequest( in ReadRemoteNameRequest()
85 common::BindOnce(&NameDbModule::impl::OnRemoteNameResponse, common::Unretained(this)), in ReadRemoteNameRequest()
89 void neighbor::NameDbModule::impl::OnRemoteNameResponse(hci::ErrorCode status, hci::Address address… in OnRemoteNameResponse()
100 bool neighbor::NameDbModule::impl::IsNameCached(hci::Address address) const { in IsNameCached()
104 RemoteName neighbor::NameDbModule::impl::ReadCachedRemoteName(hci::Address address) const { in ReadCachedRemoteName()
112 neighbor::NameDbModule::NameDbModule() : pimpl_(std::make_unique<impl>(*this)) {} in NameDbModule()
121 &NameDbModule::impl::ReadRemoteNameRequest, in ReadRemoteNameRequest()
[all …]
Dname.cc46 struct NameModule::impl { struct in bluetooth::neighbor::NameModule
59 impl(const NameModule& name_module);
80 neighbor::NameModule::impl::impl(const neighbor::NameModule& module) : module_(module) {} in impl() function in bluetooth::neighbor::neighbor::NameModule::impl
82 void neighbor::NameModule::impl::EnqueueCommandComplete(std::unique_ptr<hci::CommandPacketBuilder> … in EnqueueCommandComplete()
83 …hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandComplete… in EnqueueCommandComplete()
86 void neighbor::NameModule::impl::EnqueueCommandStatus(std::unique_ptr<hci::CommandPacketBuilder> co… in EnqueueCommandStatus()
87 …hci_layer_->EnqueueCommand(std::move(command), handler_->BindOnceOn(this, &impl::OnCommandStatus)); in EnqueueCommandStatus()
90 void neighbor::NameModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
106 void neighbor::NameModule::impl::OnCommandStatus(hci::CommandStatusView status) { in OnCommandStatus()
121 void neighbor::NameModule::impl::OnEvent(hci::EventPacketView view) { in OnEvent()
[all …]
Dconnectability.h42 struct impl;
43 std::unique_ptr<impl> pimpl_;
Ddiscoverability.h45 struct impl;
46 std::unique_ptr<impl> pimpl_;
Dscan.h46 struct impl;
47 std::unique_ptr<impl> pimpl_;
/system/bt/gd/shim/
Ddumpsys.cc39 struct Dumpsys::impl { struct in bluetooth::shim::Dumpsys
44 impl(const Dumpsys& dumpsys_module, const dumpsys::ReflectionSchema& reflection_schema);
45 ~impl() = default;
64 Dumpsys::impl::impl(const Dumpsys& dumpsys_module, const dumpsys::ReflectionSchema& reflection_sche… in impl() function in bluetooth::shim::Dumpsys::impl
67 int Dumpsys::impl::GetNumberOfBundledSchemas() const { in GetNumberOfBundledSchemas()
71 bool Dumpsys::impl::IsDebuggable() const { in IsDebuggable()
75 void Dumpsys::impl::FilterAsDeveloper(std::string* dumpsys_data) { in FilterAsDeveloper()
80 void Dumpsys::impl::FilterAsUser(std::string* dumpsys_data) { in FilterAsUser()
85 std::string Dumpsys::impl::PrintAsJson(std::string* dumpsys_data) const { in PrintAsJson()
117 void Dumpsys::impl::DumpWithArgsAsync(int fd, const char** args) { in DumpWithArgsAsync()
[all …]
Dl2cap.cc395 struct L2cap::impl { struct in bluetooth::shim::L2cap
417 impl(L2cap& module, l2cap::classic::L2capClassicModule* l2cap_module);
445 L2cap::impl::impl(L2cap& module, l2cap::classic::L2capClassicModule* l2cap_module) in impl() function in bluetooth::shim::L2cap::impl
453 l2cap::classic::SecurityPolicy L2cap::impl::GetSecurityPolicy(l2cap::Psm psm) const { in GetSecurityPolicy()
461 void L2cap::impl::RegisterService( in RegisterService()
515 void L2cap::impl::UnregisterService(l2cap::Psm psm, UnregisterServicePromise unregister_promise) { in UnregisterService()
531 void L2cap::impl::PendingConnectionOpen( in PendingConnectionOpen()
542 void L2cap::impl::PendingConnectionFail( in PendingConnectionFail()
552 void L2cap::impl::CreateConnection( in CreateConnection()
575 …handler_->CallOn(this, &L2cap::impl::PendingConnectionOpen, id, std::move(connection), std::move(c… in CreateConnection()
[all …]
/system/tools/hidl/test/hidl_test/
DAndroid.bp42 "android.hardware.tests.foo@1.0-impl",
43 "android.hardware.tests.bar@1.0-impl",
44 "android.hardware.tests.baz@1.0-impl",
45 "android.hardware.tests.hash@1.0-impl",
46 "android.hardware.tests.inheritance@1.0-impl",
47 "android.hardware.tests.memory@1.0-impl",
48 "android.hardware.tests.multithread@1.0-impl",
49 "android.hardware.tests.trie@1.0-impl",
50 "android.hardware.tests.safeunion.cpp@1.0-impl",
51 "android.hardware.tests.safeunion@1.0-impl",
/system/core/libutils/
DRefBase.cpp503 weakref_impl* const impl = static_cast<weakref_impl*>(this); in incWeak() local
504 impl->addWeakRef(id); in incWeak()
505 const int32_t c __unused = impl->mWeak.fetch_add(1, in incWeak()
513 weakref_impl* const impl = static_cast<weakref_impl*>(this); in decWeak() local
514 impl->removeWeakRef(id); in decWeak()
515 const int32_t c = impl->mWeak.fetch_sub(1, std::memory_order_release); in decWeak()
521 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in decWeak()
527 if (impl->mStrong.load(std::memory_order_relaxed) in decWeak()
537 "before it had a strong reference", impl->mBase); in decWeak()
540 delete impl; in decWeak()
[all …]
/system/bt/gd/hci/
Dle_advertising_manager.cc79 struct LeAdvertisingManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeAdvertisingManager
80 impl(Module* module) : module_(module), le_advertising_interface_(nullptr), num_instances_(0) {} in impl() argument
82 ~impl() { in ~impl() argument
95 …etLeAdvertisingInterface(module_handler_->BindOn(this, &LeAdvertisingManager::impl::handle_event)); in start()
196 module_handler_->BindOnce(impl::check_status<LeSetAdvertisingParametersCompleteView>)); in create_advertiser()
200 module_handler_->BindOnce(impl::check_status<LeSetScanResponseDataCompleteView>)); in create_advertiser()
204 module_handler_->BindOnce(impl::check_status<LeSetAdvertisingDataCompleteView>)); in create_advertiser()
208 module_handler_->BindOnce(impl::check_status<LeSetAdvertisingEnableCompleteView>)); in create_advertiser()
227 module_handler_->BindOnce(impl::check_status<LeMultiAdvtCompleteView>)); in create_advertiser()
230 module_handler_->BindOnce(impl::check_status<LeMultiAdvtCompleteView>)); in create_advertiser()
[all …]
Dle_scanning_manager.cc44 struct LeScanningManager::impl : public bluetooth::hci::LeAddressManagerCallback { struct in bluetooth::hci::LeScanningManager
45 impl(Module* module) : module_(module), le_scanning_interface_(nullptr) {} in impl() function
47 ~impl() { in ~impl() argument
60 module_handler_->BindOn(this, &LeScanningManager::impl::handle_scan_results)); in start()
134 module_handler_->BindOnce(impl::check_status)); in configure_scan()
140 module_handler_->BindOnce(impl::check_status)); in configure_scan()
147 module_handler_->BindOnce(impl::check_status)); in configure_scan()
171 module_handler_->BindOnce(impl::check_status)); in start_scan()
177 module_handler_->BindOnce(impl::check_status)); in start_scan()
197 module_handler_->BindOnce(impl::check_status)); in stop_scan()
[all …]
Dcontroller.cc30 struct Controller::impl { struct in bluetooth::hci::Controller
31 impl(Controller& module) : module_(module) {} in impl() function
37 handler->BindOn(this, &Controller::impl::NumberOfCompletedPackets)); in Start()
44 … handler->BindOnceOn(this, &Controller::impl::read_local_name_complete_handler)); in Start()
46 … handler->BindOnceOn(this, &Controller::impl::read_local_version_information_complete_handler)); in Start()
48 … handler->BindOnceOn(this, &Controller::impl::read_local_supported_commands_complete_handler)); in Start()
50 … handler->BindOnceOn(this, &Controller::impl::read_local_supported_features_complete_handler)); in Start()
56 … handler->BindOnceOn(this, &Controller::impl::read_local_extended_features_complete_handler, in Start()
61 … handler->BindOnceOn(this, &Controller::impl::read_buffer_size_complete_handler)); in Start()
64 handler->BindOnceOn(this, &Controller::impl::le_read_buffer_size_handler)); in Start()
[all …]
Dhci_layer.cc86 struct HciLayer::impl { struct in bluetooth::hci::HciLayer
87 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl() argument
91 ~impl() { in ~impl() argument
233 module_.CallOn(module_.impl_, &impl::on_hci_event, move(event)); in hciEventReceived()
260 CallOn(impl_, &impl::enqueue_command<CommandCompleteView>, move(command), move(on_complete)); in EnqueueCommand()
265 CallOn(impl_, &impl::enqueue_command<CommandStatusView>, move(command), move(on_status)); in EnqueueCommand()
269 CallOn(impl_, &impl::register_event, event, handler); in RegisterEventHandler()
273 CallOn(impl_, &impl::unregister_event, event); in UnregisterEventHandler()
277 CallOn(impl_, &impl::register_le_event, event, handler); in RegisterLeEventHandler()
281 CallOn(impl_, &impl::unregister_le_event, event); in UnregisterLeEventHandler()
[all …]
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc43 struct L2capClassicModule::impl { struct in bluetooth::l2cap::classic::L2capClassicModule
44 impl(os::Handler* l2cap_handler, hci::AclManager* acl_manager) in impl() function
57 SecurityInterfaceImpl(impl* module_impl) : module_impl_(module_impl) {} in SecurityInterfaceImpl()
75 impl* module_impl_;
89 pimpl_ = std::make_unique<impl>(GetHandler(), GetDependency<hci::AclManager>()); in Start()
/system/tools/hidl/test/cpp_impl_test/
DAndroid.bp10 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-headers android.hardware.tests.foo@1.0 && " +
12 "-Lc++-impl-headers hidl.tests.vendor.android@1.0",
32 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-sources android.hardware.tests.foo@1.0 && " +
34 "-Lc++-impl-sources hidl.tests.vendor.android@1.0",
/system/bt/gd/security/
Dsecurity_module.cc39 struct SecurityModule::impl { struct in bluetooth::security::SecurityModule
40 impl( in impl() function
73 ~impl() { in ~impl() argument
89 pimpl_ = std::make_unique<impl>( in Start()
/system/bt/gd/att/
Datt_module.h42 struct impl;
43 std::unique_ptr<impl> pimpl_;
Datt_module.cc46 struct AttModule::impl { struct in bluetooth::att::AttModule
47 impl( in impl() function
76 pimpl_ = std::make_unique<impl>( in Start()
/system/bt/common/
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
42 : pimpl_(new impl(kMaxNumBluetoothSession, kMaxNumPairEvent, in BluetoothMetricsLogger()
/system/libhwbinder/
DAndroid.bp65 name: "libhwbinder-impl-shared-libs",
88 // Used as shared library to provide headers for libhidltransport-impl-internal.
90 name: "libhwbinder-impl-internal",
99 "libhwbinder-impl-shared-libs",
124 name: "libhwbinder_pgo-impl-internal",
127 "libhwbinder-impl-shared-libs",

12345