Home
last modified time | relevance | path

Searched refs:impl_ (Results 1 – 25 of 51) sorted by relevance

123

/system/connectivity/wificond/
Dclient_interface_binder.cpp39 : impl_(impl) { in ClientInterfaceBinder()
47 if (impl_ == nullptr) { in getPacketCounters()
50 impl_->GetPacketCounters(out_packet_counters); in getPacketCounters()
56 if (impl_ == nullptr) { in signalPoll()
59 impl_->SignalPoll(out_signal_poll_results); in signalPoll()
64 if (impl_ == nullptr) { in getMacAddress()
67 const std::array<uint8_t, ETH_ALEN>& mac = impl_->GetMacAddress(); in getMacAddress()
73 if (impl_ == nullptr) { in getInterfaceName()
76 *out_name = impl_->GetInterfaceName(); in getInterfaceName()
82 if (impl_ == nullptr) { in getWifiScannerImpl()
[all …]
Dap_interface_binder.h43 void NotifyImplDead() { impl_ = nullptr; } in NotifyImplDead()
58 ApInterfaceImpl* impl_;
Dclient_interface_binder.h39 void NotifyImplDead() { impl_ = nullptr; } in NotifyImplDead()
55 ClientInterfaceImpl* impl_;
/system/bt/gd/l2cap/le/
Dfixed_channel.cc26 return impl_->GetDevice(); in GetDevice()
30 return impl_->GetRole(); in GetRole()
34 return impl_->GetAclConnection(); in GetAclConnection()
38 …l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_,… in RegisterOnCloseCallback()
43 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Acquire, impl_)); in Acquire()
47 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Release, impl_)); in Release()
52 return impl_->GetQueueUpEnd(); in GetQueueUpEnd()
Dfixed_channel.h44 : impl_(std::move(impl)), l2cap_handler_(l2cap_handler) { in FixedChannel()
45 ASSERT(impl_ != nullptr); in FixedChannel()
91 std::shared_ptr<internal::FixedChannelImpl> impl_;
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp52 RecordOptions::RecordOptions() : impl_(new RecordOptionsImpl) { in RecordOptions()
56 delete impl_; in ~RecordOptions()
60 impl_->output_filename = filename; in SetOutputFilename()
65 impl_->event = event; in SetEvent()
70 impl_->freq = freq; in SetSampleFrequency()
75 impl_->duration_in_second = duration_in_second; in SetDuration()
80 impl_->threads = threads; in SetSampleThreads()
85 impl_->dwarf_callgraph = true; in RecordDwarfCallGraph()
86 impl_->fp_callgraph = false; in RecordDwarfCallGraph()
91 impl_->fp_callgraph = true; in RecordFramePointerCallGraph()
[all …]
Dsimpleperf.h92 RecordOptionsImpl* impl_;
157 ProfileSessionImpl* impl_;
/system/iorap/src/inode2filename/
Dinode_resolver.cc92 : impl_(new InodeResolver::Impl{std::move(dependencies)}) { in InodeResolver()
97 : impl_(new InodeResolver::Impl{std::move(dependencies), std::move(data_source)}) { in InodeResolver()
148 const DataSource& data_source = *impl_->data_source_; in FindFilenamesFromInodes()
149 const InodeResolverDependencies& dependencies = impl_->dependencies_; in FindFilenamesFromInodes()
152 rxcpp::observable<InodeResult> all_inodes = impl_->data_source_->EmitInodes(); in FindFilenamesFromInodes()
158 SearchDirectories search{impl_->dependencies_.system_call}; in FindFilenamesFromInodes()
167 const DataSource& data_source = *impl_->data_source_; in EmitAll()
168 const InodeResolverDependencies& dependencies = impl_->dependencies_; in EmitAll()
171 rxcpp::observable<InodeResult> all_inodes = impl_->data_source_->EmitInodes(); in EmitAll()
176 SearchDirectories search{impl_->dependencies_.system_call}; in EmitAll()
[all …]
/system/bt/gd/l2cap/classic/
Dfixed_channel.cc26 return impl_->GetDevice(); in GetDevice()
30 …l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_,… in RegisterOnCloseCallback()
35 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Acquire, impl_)); in Acquire()
39 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Release, impl_)); in Release()
44 return impl_->GetQueueUpEnd(); in GetQueueUpEnd()
Dfixed_channel.h44 : impl_(std::move(impl)), l2cap_handler_(l2cap_handler) { in FixedChannel()
45 ASSERT(impl_ != nullptr); in FixedChannel()
84 std::shared_ptr<internal::FixedChannelImpl> impl_;
/system/security/keystore/include/keystore/
Dkeystore_concurrency.h84 Implementation impl_;
87 ProxyLock() : impl_() {} in ProxyLock()
89 template <typename... Args> ProxyLock(Args&&... args) : impl_{std::forward<Args>(args)...} {} in ProxyLock()
90 explicit ProxyLock(Implementation&& impl) : impl_(std::move(impl)) {} in ProxyLock()
91 explicit operator bool() const { return impl_.value() != nullptr; }
95 return impl_.value();
100 return *impl_.value();
104 return impl_.value();
108 return *impl_.value();
/system/bt/gd/l2cap/
Ddynamic_channel.cc25 return impl_->GetDevice(); in GetDevice()
30 …ndler_->Post(common::BindOnce(&l2cap::internal::DynamicChannelImpl::RegisterOnCloseCallback, impl_, in RegisterOnCloseCallback()
35 l2cap_handler_->Post(common::BindOnce(&l2cap::internal::DynamicChannelImpl::Close, impl_)); in Close()
40 return impl_->GetQueueUpEnd(); in GetQueueUpEnd()
Ddynamic_channel.h40 : impl_(std::move(impl)), l2cap_handler_(l2cap_handler) { in DynamicChannel()
41 ASSERT(impl_ != nullptr); in DynamicChannel()
74 std::shared_ptr<l2cap::internal::DynamicChannelImpl> impl_;
/system/bt/gd/shim/
Dl2cap_test.cc148 return impl_.ConnectChannel(device, configuration_option, psm, std::move(on_open_callback), in ConnectChannel()
157 …return impl_.RegisterService(psm, configuration_option, security_policy, std::move(on_registration… in RegisterService()
160 TestDynamicChannelManager(TestDynamicChannelManagerImpl& impl) : impl_(impl) {} in TestDynamicChannelManager()
161 TestDynamicChannelManagerImpl& impl_; member in bluetooth::shim::__anon35f885e20111::TestDynamicChannelManager
167 ASSERT(impl_ != nullptr); in GetDynamicChannelManager()
168 return std::make_unique<TestDynamicChannelManager>(*impl_); in GetDynamicChannelManager()
175 std::unique_ptr<TestDynamicChannelManagerImpl> impl_; member in bluetooth::shim::__anon35f885e20111::TestL2capClassicModule
179 impl_ = std::make_unique<TestDynamicChannelManagerImpl>(); in Start()
183 impl_.reset(); in Stop()
209 test_l2cap_classic_module_->impl_->SetConnectionFuture(); in SetConnectionFuture()
[all …]
/system/bt/gd/hci/
Dcontroller.cc694 Controller::Controller() : impl_(std::make_unique<impl>(*this)) {} in Controller()
700 impl_->RegisterCompletedAclPacketsCallback(cb, handler); // TODO hsz: why here? in RegisterCompletedAclPacketsCallback()
704 return impl_->local_name_; in GetControllerLocalName()
708 return impl_->local_version_information_; in GetControllerLocalVersionInformation()
712 return impl_->local_supported_commands_; in GetControllerLocalSupportedCommands()
716 return impl_->maximum_page_number_; in GetControllerLocalExtendedFeaturesMaxPageNumber()
720 return impl_->local_supported_features_; in GetControllerLocalSupportedFeatures()
724 if (page_number <= impl_->maximum_page_number_) { in GetControllerLocalExtendedFeatures()
725 return impl_->extended_lmp_features_array_[page_number]; in GetControllerLocalExtendedFeatures()
731 return impl_->acl_buffer_length_; in GetControllerAclPacketLength()
[all …]
Dhci_layer.cc448 HciLayer::HciLayer() : impl_(std::make_unique<impl>(*this)) {} in HciLayer()
451 impl_.reset(); in ~HciLayer()
456 impl_->EnqueueCommand(std::move(command), std::move(on_complete), handler); in EnqueueCommand()
461 impl_->EnqueueCommand(std::move(command), std::move(on_status), handler); in EnqueueCommand()
465 return impl_->GetAclQueueEnd(); in GetAclQueueEnd()
470 impl_->RegisterEventHandler(event_code, std::move(event_handler), handler); in RegisterEventHandler()
474 impl_->UnregisterEventHandler(event_code); in UnregisterEventHandler()
479 impl_->RegisterLeEventHandler(subevent_code, std::move(event_handler), handler); in RegisterLeEventHandler()
483 impl_->UnregisterLeEventHandler(subevent_code); in UnregisterLeEventHandler()
491 return &impl_->security_interface; in GetSecurityInterface()
[all …]
/system/iorap/src/prefetcher/
Dread_ahead.cc190 ReadAhead::ReadAhead(bool use_sockets) : impl_(new Impl(use_sockets)) { in ReadAhead()
200 auto it = impl_->read_ahead_file_map_.find(id.id); in FinishTask()
201 if (it == impl_->read_ahead_file_map_.end()) { in FinishTask()
212 impl_->read_ahead_file_map_.erase(it); in FinishTask()
219 if (!impl_->session_manager_->DestroySession(task_data.SessionId())) { in FinishTask()
246 impl_->session_manager_->CreateSession(task_data.SessionId(), in BeginTaskForSockets()
257 impl_->read_ahead_file_map_[id.id] = std::move(task_data); in BeginTaskForSockets()
270 int32_t trace_cookie = ++impl_->trace_cookie_; in BeginTask()
275 if (impl_->UseSockets()) { in BeginTask()
297 impl_->session_manager_->CreateSession(task_data.SessionId(), in BeginTask()
[all …]
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp224 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster3Device()
233 : impl_(new ::keymaster::AndroidKeymaster(context, kOperationTableSize)), profile_(profile) {} in AndroidKeymaster3Device()
271 impl_->AddRngEntropy(request, &response); in addRngEntropy()
282 impl_->GenerateKey(request, &response); in generateKey()
304 impl_->GetKeyCharacteristics(request, &response); in getKeyCharacteristics()
324 impl_->ImportKey(request, &response); in importKey()
348 impl_->ExportKey(request, &response); in exportKey()
366 impl_->AttestKey(request, &response); in attestKey()
386 impl_->UpgradeKey(request, &response); in upgradeKey()
402 impl_->DeleteKey(request, &response); in deleteKey()
[all …]
DAndroidKeymaster4Device.cpp224 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster4Device()
244 auto response = impl_->GetHmacSharingParameters(); in getHmacSharingParameters()
270 auto response = impl_->ComputeSharedHmac(request); in computeSharedHmac()
294 auto response = impl_->VerifyAuthorization(request); in verifyAuthorization()
315 impl_->AddRngEntropy(request, &response); in addRngEntropy()
326 impl_->GenerateKey(request, &response); in generateKey()
348 impl_->GetKeyCharacteristics(request, &response); in getKeyCharacteristics()
369 impl_->ImportKey(request, &response); in importKey()
396 impl_->ImportWrappedKey(request, &response); in importWrappedKey()
420 impl_->ExportKey(request, &response); in exportKey()
[all …]
DAndroidKeymaster41Device.cpp54 impl_->DeviceLocked(DeviceLockedRequest(passwordOnly, std::move(serializableToken))).error); in deviceLocked()
58 return legacy_enum_conversion(impl_->EarlyBootEnded().error); in earlyBootEnded()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp211 TrustyKeymaster3Device::TrustyKeymaster3Device(TrustyKeymaster* impl) : impl_(impl) {} in TrustyKeymaster3Device()
228 impl_->AddRngEntropy(request, &response); in addRngEntropy()
239 impl_->GenerateKey(request, &response); in generateKey()
261 impl_->GetKeyCharacteristics(request, &response); in getKeyCharacteristics()
282 impl_->ImportKey(request, &response); in importKey()
306 impl_->ExportKey(request, &response); in exportKey()
324 impl_->AttestKey(request, &response); in attestKey()
342 impl_->UpgradeKey(request, &response); in upgradeKey()
357 impl_->DeleteKey(request, &response); in deleteKey()
365 impl_->DeleteAllKeys(request, &response); in deleteAllKeys()
[all …]
/system/core/libunwindstack/
DMemoryCache.h32 MemoryCache(Memory* memory) : impl_(memory) {} in MemoryCache()
45 std::unique_ptr<Memory> impl_; variable
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp263 TrustyKeymaster4Device::TrustyKeymaster4Device(TrustyKeymaster* impl) : impl_(impl) {} in TrustyKeymaster4Device()
274 const GetHmacSharingParametersResponse response = impl_->GetHmacSharingParameters(); in getHmacSharingParameters()
299 auto response = impl_->ComputeSharedHmac(request); in computeSharedHmac()
323 auto response = impl_->VerifyAuthorization(request); in verifyAuthorization()
343 impl_->AddRngEntropy(request, &response); in addRngEntropy()
354 impl_->GenerateKey(request, &response); in generateKey()
376 impl_->GetKeyCharacteristics(request, &response); in getKeyCharacteristics()
397 impl_->ImportKey(request, &response); in importKey()
423 impl_->ImportWrappedKey(request, &response); in importWrappedKey()
447 impl_->ExportKey(request, &response); in exportKey()
[all …]
/system/memory/libmemunreachable/
DAllocator.h48 Heap(const Heap& other) : impl_(other.impl_), owns_impl_(false) {} in Heap()
70 bool operator==(const Heap& other) const { return impl_ == other.impl_; }
80 HeapImpl* impl = impl_; in make_unique()
96 HeapImpl* impl_;
DThreadCapture.cpp338 impl_ = impl_allocator.make_unique(pid, impl_allocator); in ThreadCapture()
344 return impl_->ListThreads(tids); in ListThreads()
348 return impl_->CaptureThreads(); in CaptureThreads()
352 return impl_->ReleaseThreads(); in ReleaseThreads()
356 return impl_->ReleaseThread(tid); in ReleaseThread()
360 return impl_->CapturedThreadInfo(threads); in CapturedThreadInfo()
364 impl_->InjectTestFunc(std::forward<std::function<void(pid_t)>>(f)); in InjectTestFunc()

123