blob: 716f54e3d3f436f3b4c4ca1869b11c180d43d0db [file] [log] [blame]
#pragma once
#include "aidl/android/hardware/rebootescrow/IRebootEscrow.h"
#include <android/binder_ibinder.h>
namespace aidl {
namespace android {
namespace hardware {
namespace rebootescrow {
class BpRebootEscrow : public ::ndk::BpCInterface<IRebootEscrow> {
public:
explicit BpRebootEscrow(const ::ndk::SpAIBinder& binder);
virtual ~BpRebootEscrow();
::ndk::ScopedAStatus storeKey(const std::vector<uint8_t>& in_kek) override;
::ndk::ScopedAStatus retrieveKey(std::vector<uint8_t>* _aidl_return) override;
::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override;
::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override;
int32_t _aidl_cached_version = -1;
std::string _aidl_cached_hash = "-1";
std::mutex _aidl_cached_hash_mutex;
};
} // namespace rebootescrow
} // namespace hardware
} // namespace android
} // namespace aidl