Home
last modified time | relevance | path

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

/system/bt/main/shim/
Dtimer.cc38 callback_ = func; in Set()
44 callback_ = {}; in Cancel()
47 bool bluetooth::shim::Timer::IsActive() { return callback_ != nullptr; } in IsActive()
57 timer->callback_(); in Pop()
58 timer->callback_ = {}; in Pop()
Dtimer.h69 std::function<void()> callback_{};
/system/bt/gd/hal/
Dhci_hal_android_hidl.cc59 ASSERT(callback_ == nullptr && callback != nullptr); in SetCallback()
60 callback_ = callback; in SetCallback()
64 callback_ = nullptr; in ResetCallback()
81 if (callback_ != nullptr) { in hciEventReceived()
82 callback_->hciEventReceived(std::move(received_hci_packet)); in hciEventReceived()
91 if (callback_ != nullptr) { in aclDataReceived()
92 callback_->aclDataReceived(std::move(received_hci_packet)); in aclDataReceived()
101 if (callback_ != nullptr) { in scoDataReceived()
102 callback_->scoDataReceived(std::move(received_hci_packet)); in scoDataReceived()
109 HciHalCallbacks* callback_ = nullptr; member in bluetooth::hal::__anon7c94e5bd0111::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 __anon555171830111::EventLoopCallback
46 : callback_(callback) { in WatchFdCallback()
52 callback_(fd); in handleEvent()
60 const std::function<void(int)> callback_; member in __anon555171830111::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.h54 callback_(nullptr) {} in HttpFetcher()
166 std::unique_ptr<base::Closure> callback_; variable
/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/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc193 callback_ = new SecurityManagerChannelCallback(); in SetUp()
198 channel_->SetChannelListener(callback_); in SetUp()
208 delete callback_; in TearDown()
216 SecurityManagerChannelCallback* callback_ = nullptr; member in bluetooth::security::channel::__anonb8b73a290111::SecurityManagerChannelTest
224 ASSERT_TRUE(callback_->receivedIoCapabilityRequest); in TEST_F()
268 ASSERT_TRUE(callback_->receivedIoCapabilityResponse); in TEST_F()
273 ASSERT_TRUE(callback_->receivedPinCodeRequest); in TEST_F()
311 ASSERT_TRUE(callback_->receivedUserPasskeyNotification); in TEST_F()
317 ASSERT_TRUE(callback_->receivedUserConfirmationRequest); in TEST_F()
352 ASSERT_TRUE(callback_->receivedRemoteOobDataRequest); in TEST_F()
[all …]
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc33 : callback_(callback) {} in DeathRecipient()
38 callback_.Run(); in binderDied()
43 ::base::Closure callback_;
/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.cc376 : callback_(callback) {} in LookupData()
426 if (!callback_.is_null()) in IssueCallback()
427 callback_.Run(url); in IssueCallback()
474 P2PManager::LookupCallback callback_; member in chromeos_update_engine::LookupData
/system/core/libappfuse/tests/
DFuseBridgeLoopTest.cc47 Callback callback_; member in android::fuse::__anonaa8c14800111::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::__anon588813b40111::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.h164 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
93 …common::BindOnce(std::move(callback_handler.callback_), address, status == hci::ErrorCode::SUCCESS… in OnRemoteNameResponse()
/system/iorap/src/perfetto/
Dperfetto_consumer.cc98 OnStateChangedCb callback_{nullptr}; // Required for Destroy callbacks. member
200 handle_desc.callback_ = callback; in Create()
351 handle_desc.callback_(handle, State::kTraceFailed, handle_desc.callback_arg_); in OnTraceMessage()
383 handle_desc.callback_(handle, State::kTraceFailed, handle_desc.callback_arg_); in OnTraceMessage()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc32 callback_ = callback; in ServerPortFactory()
/system/extras/simpleperf/
DETMDecoder.cpp407 : map_locator_(map_locator), callback_(callback) {} in InstrRangeParser()
463 callback_(data.instr_range); in FlushData()
471 ETMDecoder::CallbackFn callback_; member in __anon1bce05b70111::InstrRangeParser