Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Dbinder_service_stable_android.cc46 if (callback_) { in SendStatusUpdate()
47 callback_->onStatusUpdate(last_status_, last_progress_); in SendStatusUpdate()
53 if (callback_) { in SendPayloadApplicationComplete()
54 callback_->onPayloadApplicationComplete(static_cast<int>(error_code)); in SendPayloadApplicationComplete()
62 if (callback_ != nullptr) { in bind()
79 callback_ = callback; in bind()
124 if (IUpdateEngineStableCallback::asBinder(callback_).get() != callback) { in UnbindCallback()
128 callback_ = nullptr; in UnbindCallback()
Dbinder_service_android.cc230 : callback_(callback) {} in CleanupSuccessfulUpdateCallback()
232 ignore_result(callback_->onPayloadApplicationComplete(error_code)); in OnCleanupComplete()
235 ignore_result(callback_->onStatusUpdate( in OnCleanupProgressUpdate()
242 IUpdateEngineCallback::asBinder(callback_); in RegisterForDeathNotifications()
248 android::sp<IUpdateEngineCallback> callback_; member in chromeos_update_engine::CleanupSuccessfulUpdateCallback
Dupdate_engine_client_android.cc85 android::sp<android::os::BnUpdateEngineCallback> callback_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid
209 callback_ = new UECallback(this); in OnInit()
211 if (!service_->bind(callback_, &bound).isOk() || !bound) { in OnInit()
Dbinder_service_stable_android.h73 android::sp<android::os::IUpdateEngineStableCallback> callback_; variable
/system/memory/lmkd/
Dwatchdog.h28 void (*callback_)(); variable
31 timeout_(timeout), timer_created_(false), callback_(callback) {} in Watchdog()
38 void bite() const { if (callback_) callback_(); } in bite()
/system/connectivity/wificond/
Dlooper_backed_event_loop.cpp28 : callback_(callback) { in EventLoopCallback()
34 callback_(); in handleMessage()
38 const std::function<void()> callback_; member in __anon4e3290bd0111::EventLoopCallback
46 : callback_(callback) { in WatchFdCallback()
52 callback_(fd); in handleEvent()
60 const std::function<void(int)> callback_; member in __anon4e3290bd0111::WatchFdCallback
Devent_loop.h53 const std::function<void(int)>& callback_) = 0;
/system/security/keystore2/apc_compat/
Dapc_compat.cpp106 if (callback_.result != nullptr) { in promptUserConfirmation()
123 callback_ = callback; in promptUserConfirmation()
137 callback = callback_; in finalize()
138 callback_ = {nullptr, nullptr}; in finalize()
191 : service_(service), callback_{nullptr, nullptr} {} in ConfuiHidlCompatSession()
197 ApcCompatCallback callback_; member in keystore2::ConfuiHidlCompatSession
231 if (callback_.result != nullptr) { in promptUserConfirmation()
250 callback_ = callback; in promptUserConfirmation()
272 callback = callback_; in finalize()
273 callback_ = {nullptr, nullptr}; in finalize()
[all …]
/system/extras/simpleperf/
DMapRecordReader.cpp38 if (!callback_(&mmap_record)) { in ReadKernelMaps()
44 if (!callback_(&mmap_record)) { in ReadKernelMaps()
70 if (!callback_(&record)) { in ReadProcessMaps()
78 if (!callback_(&record)) { in ReadProcessMaps()
92 if (!callback_(&comm_record)) { in ReadProcessMaps()
DMapRecordReader.h40 void SetCallback(const std::function<bool(Record*)>& callback) { callback_ = callback; } in SetCallback()
51 std::function<bool(Record*)> callback_; variable
DETMDecoder.cpp444 : map_locator_(map_locator), callback_(callback) {} in InstrRangeParser()
500 callback_(data.instr_range); in FlushData()
508 ETMDecoder::InstrRangeCallbackFn callback_; member in simpleperf::__anonaa13da710111::InstrRangeParser
529 : PacketCallback(BRANCH_LIST_PARSER), map_locator_(map_locator), callback_(callback) {} in BranchListParser()
625 callback_(data.branch); in FlushBranch()
632 ETMDecoder::BranchListCallbackFn callback_; member in simpleperf::__anonaa13da710111::BranchListParser
Dcmd_inject.cpp344 void SetCallback(const BranchListBinaryCallback& callback) { callback_ = callback; } in SetCallback()
361 callback_(key, binary); in Read()
369 BranchListBinaryCallback callback_; member in simpleperf::__anon8f351e250111::BranchListReader
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc33 : callback_(callback) {} in DeathRecipient()
38 callback_.Run(); in binderDied()
43 ::base::Closure callback_;
/system/update_engine/stable/
Dupdate_engine_stable_client.cc82 std::shared_ptr<aidl::android::os::BnUpdateEngineStableCallback> callback_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid
111 callback_ = ndk::SharedRefBase::make<UECallback>(); in Run()
113 if (!service_->bind(callback_, &bound).isOk() || !bound) { in Run()
/system/core/libappfuse/tests/
DFuseBridgeLoopTest.cc47 Callback callback_; member in android::fuse::__anonbdd740fa0111::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::__anon0bcc026e0111::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/common/
Dhttp_fetcher.h55 callback_(nullptr) {} in HttpFetcher()
168 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/teeui/libteeui/include/teeui/
Dutils.h882 Ret (*callback_)(Args... args, void* priv_data);
884 Ret operator()(Args... args) const { return callback_(args..., priv_data_); }