Lines Matching refs:callback
46 for (auto& callback : callbacks_) { in SendStatusUpdate() local
47 callback->onStatusUpdate(last_status_, last_progress_); in SendStatusUpdate()
53 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete() local
54 callback->onPayloadApplicationComplete(static_cast<int>(error_code)); in SendPayloadApplicationComplete()
59 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in bind() argument
60 callbacks_.emplace_back(callback); in bind()
63 IUpdateEngineCallback::asBinder(callback); in bind()
76 callback->onStatusUpdate(last_status_, last_progress_); in bind()
83 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in unbind() argument
85 IUpdateEngineCallback::asBinder(callback); in unbind()
155 bool BinderUpdateEngineAndroidService::UnbindCallback(const IBinder* callback) { in UnbindCallback() argument
159 [&callback](const android::sp<IUpdateEngineCallback>& elem) { in UnbindCallback()
160 return IUpdateEngineCallback::asBinder(elem).get() == callback; in UnbindCallback()