/system/bt/main/shim/ |
D | timer.cc | 38 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()
|
D | timer.h | 69 std::function<void()> callback_{};
|
/system/bt/gd/hal/ |
D | hci_hal_android_hidl.cc | 59 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/ |
D | looper_backed_event_loop.cpp | 28 : 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
|
D | event_loop.h | 53 const std::function<void(int)>& callback_) = 0;
|
/system/update_engine/common/ |
D | http_fetcher.cc | 49 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()
|
D | http_fetcher.h | 54 callback_(nullptr) {} in HttpFetcher() 166 std::unique_ptr<base::Closure> callback_; variable
|
/system/bt/service/ipc/binder/ |
D | remote_callback_list.h | 75 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()
|
D | remote_callback_map.h | 87 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/ |
D | security_manager_channel_unittest.cc | 193 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/ |
D | real_binder_wrapper.cc | 33 : callback_(callback) {} in DeathRecipient() 38 callback_.Run(); in binderDied() 43 ::base::Closure callback_;
|
/system/update_engine/ |
D | binder_service_android.cc | 227 : 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
|
D | update_engine_client_android.cc | 82 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()
|
D | p2p_manager.cc | 376 : 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/ |
D | FuseBridgeLoopTest.cc | 47 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()
|
D | FuseAppLoopTest.cc | 87 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/ |
D | evaluation_context.cc | 95 return std::move(callback_); in RemoveObserversAndTimeout() 165 if (callback_.get()) { in RunOnValueChangeOrTimeout() 213 callback_.reset(new Closure(callback)); in RunOnValueChangeOrTimeout()
|
D | evaluation_context.h | 164 std::unique_ptr<base::Closure> callback_; variable
|
/system/core/fs_mgr/libfiemap/ |
D | binder.cpp | 35 : 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/ |
D | name_db.cc | 35 ReadRemoteNameDbCallback callback_; member 93 …common::BindOnce(std::move(callback_handler.callback_), address, status == hci::ErrorCode::SUCCESS… in OnRemoteNameResponse()
|
/system/iorap/src/perfetto/ |
D | perfetto_consumer.cc | 98 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/ |
D | server_port_factory.cc | 32 callback_ = callback; in ServerPortFactory()
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 407 : map_locator_(map_locator), callback_(callback) {} in InstrRangeParser() 463 callback_(data.instr_range); in FlushData() 471 ETMDecoder::CallbackFn callback_; member in __anon1bce05b70111::InstrRangeParser
|