1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=ndk --structured --version 1 --hash da59ee6c3e1088cbace3b6a913077ce52ca2ef25 -t --stability vintf --min_sdk_version current --ninja -d out/soong/.intermediates/hardware/interfaces/fastboot/aidl/android.hardware.fastboot-V1-ndk-source/gen/staging/android/hardware/fastboot/IFastboot.cpp.d -h out/soong/.intermediates/hardware/interfaces/fastboot/aidl/android.hardware.fastboot-V1-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/fastboot/aidl/android.hardware.fastboot-V1-ndk-source/gen/staging -Nhardware/interfaces/fastboot/aidl/aidl_api/android.hardware.fastboot/1 hardware/interfaces/fastboot/aidl/aidl_api/android.hardware.fastboot/1/android/hardware/fastboot/IFastboot.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/fastboot/IFastboot.h"
12 
13 #include <android/binder_ibinder.h>
14 
15 namespace aidl {
16 namespace android {
17 namespace hardware {
18 namespace fastboot {
19 class BpFastboot : public ::ndk::BpCInterface<IFastboot> {
20 public:
21   explicit BpFastboot(const ::ndk::SpAIBinder& binder);
22   virtual ~BpFastboot();
23 
24   ::ndk::ScopedAStatus doOemCommand(const std::string& in_oemCmd, std::string* _aidl_return) override;
25   ::ndk::ScopedAStatus doOemSpecificErase() override;
26   ::ndk::ScopedAStatus getBatteryVoltageFlashingThreshold(int32_t* _aidl_return) override;
27   ::ndk::ScopedAStatus getOffModeChargeState(bool* _aidl_return) override;
28   ::ndk::ScopedAStatus getPartitionType(const std::string& in_partitionName, ::aidl::android::hardware::fastboot::FileSystemType* _aidl_return) override;
29   ::ndk::ScopedAStatus getVariant(std::string* _aidl_return) override;
30   ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override;
31   ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override;
32   int32_t _aidl_cached_version = -1;
33   std::string _aidl_cached_hash = "-1";
34   std::mutex _aidl_cached_hash_mutex;
35 };
36 }  // namespace fastboot
37 }  // namespace hardware
38 }  // namespace android
39 }  // namespace aidl
40