1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl --lang=ndk --structured --version 1 --hash 2400346954240a5de495a1debc81429dd012d7b7 -t --stability vintf --min_sdk_version current --ninja -d out/soong/.intermediates/hardware/interfaces/boot/aidl/android.hardware.boot-V1-ndk-source/gen/staging/android/hardware/boot/IBootControl.cpp.d -h out/soong/.intermediates/hardware/interfaces/boot/aidl/android.hardware.boot-V1-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/boot/aidl/android.hardware.boot-V1-ndk-source/gen/staging -Nhardware/interfaces/boot/aidl/aidl_api/android.hardware.boot/1 hardware/interfaces/boot/aidl/aidl_api/android.hardware.boot/1/android/hardware/boot/IBootControl.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 "aidl/android/hardware/boot/IBootControl.h" 12 13 #include <android/binder_ibinder.h> 14 15 namespace aidl { 16 namespace android { 17 namespace hardware { 18 namespace boot { 19 class BpBootControl : public ::ndk::BpCInterface<IBootControl> { 20 public: 21 explicit BpBootControl(const ::ndk::SpAIBinder& binder); 22 virtual ~BpBootControl(); 23 24 ::ndk::ScopedAStatus getActiveBootSlot(int32_t* _aidl_return) override; 25 ::ndk::ScopedAStatus getCurrentSlot(int32_t* _aidl_return) override; 26 ::ndk::ScopedAStatus getNumberSlots(int32_t* _aidl_return) override; 27 ::ndk::ScopedAStatus getSnapshotMergeStatus(::aidl::android::hardware::boot::MergeStatus* _aidl_return) override; 28 ::ndk::ScopedAStatus getSuffix(int32_t in_slot, std::string* _aidl_return) override; 29 ::ndk::ScopedAStatus isSlotBootable(int32_t in_slot, bool* _aidl_return) override; 30 ::ndk::ScopedAStatus isSlotMarkedSuccessful(int32_t in_slot, bool* _aidl_return) override; 31 ::ndk::ScopedAStatus markBootSuccessful() override; 32 ::ndk::ScopedAStatus setActiveBootSlot(int32_t in_slot) override; 33 ::ndk::ScopedAStatus setSlotAsUnbootable(int32_t in_slot) override; 34 ::ndk::ScopedAStatus setSnapshotMergeStatus(::aidl::android::hardware::boot::MergeStatus in_status) override; 35 ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override; 36 ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override; 37 int32_t _aidl_cached_version = -1; 38 std::string _aidl_cached_hash = "-1"; 39 std::mutex _aidl_cached_hash_mutex; 40 }; 41 } // namespace boot 42 } // namespace hardware 43 } // namespace android 44 } // namespace aidl 45