Home
last modified time | relevance | path

Searched refs:callback_ (Results 1 – 23 of 23) sorted by relevance

/system/bt/gd/common/
Dcontextual_callback.h39 : callback_(std::move(callback)), context_(context) {} in ContextualOnceCallback()
49 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in Invoke()
54 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in InvokeIfNotEmpty()
63 common::OnceCallback<R(Args...)> callback_;
75 : callback_(std::move(callback)), context_(context) {} in ContextualCallback()
85 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in Invoke()
90 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in InvokeIfNotEmpty()
99 common::Callback<R(Args...)> callback_;
/system/bt/gd/hal/
Dhci_hal_android_hidl.cc57 ASSERT(callback_ == nullptr && callback != nullptr); in SetCallback()
58 callback_ = callback; in SetCallback()
62 callback_ = nullptr; in ResetCallback()
78 if (callback_ != nullptr) { in hciEventReceived()
79 callback_->hciEventReceived(std::move(received_hci_packet)); in hciEventReceived()
87 if (callback_ != nullptr) { in aclDataReceived()
88 callback_->aclDataReceived(std::move(received_hci_packet)); in aclDataReceived()
96 if (callback_ != nullptr) { in scoDataReceived()
97 callback_->scoDataReceived(std::move(received_hci_packet)); in scoDataReceived()
104 HciHalCallbacks* callback_ = nullptr; member in bluetooth::hal::__anone88e76320111::InternalHciCallbacks
/system/connectivity/wificond/
Dlooper_backed_event_loop.cpp28 : callback_(callback) { in EventLoopCallback()
34 callback_(); in handleMessage()
38 const std::function<void()> callback_; member in __anon95ba9a980111::EventLoopCallback
46 : callback_(callback) { in WatchFdCallback()
52 callback_(fd); in handleEvent()
60 const std::function<void(int)> callback_; member in __anon95ba9a980111::WatchFdCallback
Devent_loop.h53 const std::function<void(int)>& callback_) = 0;
/system/update_engine/common/
Dhttp_fetcher.cc49 CHECK_EQ(static_cast<Closure*>(nullptr), callback_.get()); in ResolveProxiesForUrl()
50 callback_.reset(new Closure(callback)); in ResolveProxiesForUrl()
73 CHECK(callback_.get()) << "ProxiesResolved but none pending."; in ProxiesResolved()
74 Closure* callback = callback_.release(); in ProxiesResolved()
Dhttp_fetcher.h55 callback_(nullptr) {} in HttpFetcher()
185 std::unique_ptr<base::Closure> callback_; variable
/system/bt/main/shim/
Dbtif_dm.cc43 callback_(ToRawAddress(address.GetAddress()), legacy_name, in DisplayPairingPrompt()
56 callback_(ToRawAddress(address.GetAddress()), legacy_name, in DisplayConfirmValue()
66 callback_(ToRawAddress(address.GetAddress()), legacy_name, in DisplayYesNoDialog()
74 callback_(ToRawAddress(address.GetAddress()), legacy_name, in DisplayEnterPasskeyDialog()
83 callback_(ToRawAddress(address.GetAddress()), legacy_name, in DisplayPasskey()
89 callback_ = callback; in SetLegacyCallback()
95 callback_; member in bluetooth::shim::ShimUi
/system/bt/service/ipc/binder/
Dremote_callback_list.h75 android::sp<T> get_callback() const { return callback_; } in get_callback()
81 android::sp<T> callback_;
182 : callback_(callback), owner_(owner) { in CallbackDeathRecipient()
183 CHECK(callback_.get()); in CallbackDeathRecipient()
192 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
Dremote_callback_map.h87 android::sp<V> get_callback() const { return callback_; } in get_callback()
94 android::sp<V> callback_; variable
219 : key_(key), callback_(callback), owner_(owner), delegate_(delegate) { in CallbackDeathRecipient()
220 CHECK(callback_.get()); in CallbackDeathRecipient()
228 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc33 : callback_(callback) {} in DeathRecipient()
38 callback_.Run(); in binderDied()
43 ::base::Closure callback_;
/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc222 callback_ = new SecurityManagerChannelCallback(); in SetUp()
227 channel_->SetChannelListener(callback_); in SetUp()
239 delete callback_; in TearDown()
253 SecurityManagerChannelCallback* callback_ = nullptr; member in bluetooth::security::channel::__anon855c6ade0111::SecurityManagerChannelTest
262 ASSERT_TRUE(callback_->receivedIoCapabilityRequest); in TEST_F()
307 ASSERT_TRUE(callback_->receivedIoCapabilityResponse); in TEST_F()
313 ASSERT_TRUE(callback_->receivedPinCodeRequest); in TEST_F()
352 ASSERT_TRUE(callback_->receivedUserPasskeyNotification); in TEST_F()
359 ASSERT_TRUE(callback_->receivedUserConfirmationRequest); in TEST_F()
395 ASSERT_TRUE(callback_->receivedRemoteOobDataRequest); in TEST_F()
[all …]
/system/update_engine/
Dbinder_service_android.cc227 : callback_(callback) {} in CleanupSuccessfulUpdateCallback()
229 ignore_result(callback_->onPayloadApplicationComplete(error_code)); in OnCleanupComplete()
232 ignore_result(callback_->onStatusUpdate( in OnCleanupProgressUpdate()
239 IUpdateEngineCallback::asBinder(callback_); in RegisterForDeathNotifications()
245 android::sp<IUpdateEngineCallback> callback_; member in chromeos_update_engine::CleanupSuccessfulUpdateCallback
Dupdate_engine_client_android.cc82 android::sp<android::os::BnUpdateEngineCallback> callback_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid
242 callback_ = new UECallback(this); in OnInit()
244 if (!service_->bind(callback_, &bound).isOk() || !bound) { in OnInit()
Dp2p_manager.cc375 : callback_(callback) {} in LookupData()
425 if (!callback_.is_null()) in IssueCallback()
426 callback_.Run(url); in IssueCallback()
473 P2PManager::LookupCallback callback_; member in chromeos_update_engine::LookupData
/system/core/libappfuse/tests/
DFuseBridgeLoopTest.cc47 Callback callback_; member in android::fuse::__anon3b187b350111::FuseBridgeLoopTest
60 loop.Start(&callback_); in SetUp()
122 ASSERT_TRUE(callback_.closed); in Close()
142 EXPECT_TRUE(callback_.mounted); in TEST_F()
DFuseAppLoopTest.cc87 Callback callback_; member in android::fuse::__anon7435ee890111::FuseAppLoopTest
96 callback_.loop = loop_.get(); in SetUp()
97 thread_ = std::thread([this] { loop_->Start(&callback_); }); in SetUp()
115 ASSERT_EQ(1u, callback_.requests.size()); in CheckCallback()
116 EXPECT_EQ(code, callback_.requests[0].code); in CheckCallback()
117 EXPECT_EQ(10u, callback_.requests[0].inode); in CheckCallback()
/system/update_engine/update_manager/
Devaluation_context.cc95 return std::move(callback_); in RemoveObserversAndTimeout()
165 if (callback_.get()) { in RunOnValueChangeOrTimeout()
213 callback_.reset(new Closure(callback)); in RunOnValueChangeOrTimeout()
Devaluation_context.h162 std::unique_ptr<base::Closure> callback_; variable
/system/core/fs_mgr/libfiemap/
Dbinder.cpp35 : callback_(std::move(callback)) { in ProgressCallback()
36 CHECK(callback_); in ProgressCallback()
39 if (callback_(static_cast<uint64_t>(current), static_cast<uint64_t>(total))) { in onProgress()
47 std::function<bool(uint64_t, uint64_t)> callback_; member in android::fiemap::ProgressCallback
/system/bt/gd/neighbor/
Dname_db.cc35 ReadRemoteNameDbCallback callback_; member
97 …common::BindOnce(std::move(callback_handler.callback_), address, status == hci::ErrorCode::SUCCESS… in OnRemoteNameResponse()
/system/extras/simpleperf/
DETMDecoder.cpp413 : map_locator_(map_locator), callback_(callback) {} in InstrRangeParser()
469 callback_(data.instr_range); in FlushData()
477 ETMDecoder::InstrRangeCallbackFn callback_; member in __anon83ecdb8c0111::InstrRangeParser
498 : PacketCallback(BRANCH_LIST_PARSER), map_locator_(map_locator), callback_(callback) {} in BranchListParser()
594 callback_(data.branch); in FlushBranch()
601 ETMDecoder::BranchListCallbackFn callback_; member in __anon83ecdb8c0111::BranchListParser
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc32 callback_ = callback; in ServerPortFactory()
/system/teeui/libteeui/include/teeui/
Dutils.h877 Ret (*callback_)(Args... args, void* priv_data);
879 Ret operator()(Args... args) const { return callback_(args..., priv_data_); }