1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=cpp --structured --version 3 --hash 9563bb511840955a304b5eb06c39710c56e81559 -t --min_sdk_version current --ninja -d out/soong/.intermediates/system/update_engine/stable/libupdate_engine_stable-V3-cpp-source/gen/staging/android/os/IUpdateEngineStable.cpp.d -h out/soong/.intermediates/system/update_engine/stable/libupdate_engine_stable-V3-cpp-source/gen/include/staging -o out/soong/.intermediates/system/update_engine/stable/libupdate_engine_stable-V3-cpp-source/gen/staging -Nsystem/update_engine/stable/aidl_api/libupdate_engine_stable/3 system/update_engine/stable/aidl_api/libupdate_engine_stable/3/android/os/IUpdateEngineStable.aidl
4  *
5  * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
6  * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
7  * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE.
8  */
9 #pragma once
10 
11 #include <mutex>
12 #include <binder/IBinder.h>
13 #include <binder/IInterface.h>
14 #include <utils/Errors.h>
15 #include <android/os/IUpdateEngineStable.h>
16 
17 namespace android {
18 namespace os {
19 class LIBBINDER_EXPORTED BpUpdateEngineStable : public ::android::BpInterface<IUpdateEngineStable> {
20 public:
21   explicit BpUpdateEngineStable(const ::android::sp<::android::IBinder>& _aidl_impl);
22   virtual ~BpUpdateEngineStable() = default;
23   ::android::binder::Status applyPayloadFd(const ::android::os::ParcelFileDescriptor& pfd, int64_t payload_offset, int64_t payload_size, const ::std::vector<::android::String16>& headerKeyValuePairs) override;
24   ::android::binder::Status bind(const ::android::sp<::android::os::IUpdateEngineStableCallback>& callback, bool* _aidl_return) override;
25   ::android::binder::Status unbind(const ::android::sp<::android::os::IUpdateEngineStableCallback>& callback, bool* _aidl_return) override;
26   ::android::binder::Status triggerPostinstall(const ::android::String16& partition) override;
27   int32_t getInterfaceVersion() override;
28   std::string getInterfaceHash() override;
29 private:
30   int32_t cached_version_ = -1;
31   std::string cached_hash_ = "-1";
32   std::mutex cached_hash_mutex_;
33 };  // class BpUpdateEngineStable
34 }  // namespace os
35 }  // namespace android
36