Lines Matching refs:callback
61 for (auto& callback : callbacks_) { in SendStatusUpdate() local
62 callback->onStatusUpdate(last_status_, last_progress_); in SendStatusUpdate()
68 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete() local
69 callback->onPayloadApplicationComplete(static_cast<int>(error_code)); in SendPayloadApplicationComplete()
74 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in bind() argument
80 auto status = callback->onStatusUpdate(last_status_, last_progress_); in bind()
89 callbacks_.emplace_back(callback); in bind()
92 IUpdateEngineCallback::asBinder(callback); in bind()
106 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in unbind() argument
108 IUpdateEngineCallback::asBinder(callback); in unbind()
189 bool BinderUpdateEngineAndroidService::UnbindCallback(const IBinder* callback) { in UnbindCallback() argument
193 [&callback](const android::sp<IUpdateEngineCallback>& elem) { in UnbindCallback()
194 return IUpdateEngineCallback::asBinder(elem).get() == callback; in UnbindCallback()
226 const android::sp<IUpdateEngineCallback>& callback) in CleanupSuccessfulUpdateCallback() argument
227 : callback_(callback) {} in CleanupSuccessfulUpdateCallback()
249 const android::sp<IUpdateEngineCallback>& callback) { in cleanupSuccessfulUpdate() argument
252 std::make_unique<CleanupSuccessfulUpdateCallback>(callback), &error); in cleanupSuccessfulUpdate()