1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/5b08f767aee751b8bbbdac3daef62eeb5599f551/out/android/os/IVoldMountCallback.cpp.d --ninja -Isystem/vold/binder -Iframeworks/native/aidl/binder -Iframeworks/base/core/java -t --min_sdk_version=platform_apis -Isystem/vold/binder/ system/vold/binder/android/os/IVoldMountCallback.aidl out/soong/.temp/sbox/5b08f767aee751b8bbbdac3daef62eeb5599f551/out out/soong/.temp/sbox/5b08f767aee751b8bbbdac3daef62eeb5599f551/out/android/os/IVoldMountCallback.cpp 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 <binder/IInterface.h> 12 #include <android/os/IVoldMountCallback.h> 13 #include <android/os/BnVoldMountCallback.h> 14 #include <binder/Delegate.h> 15 16 17 namespace android { 18 namespace os { 19 class LIBBINDER_EXPORTED BnVoldMountCallback : public ::android::BnInterface<IVoldMountCallback> { 20 public: 21 static constexpr uint32_t TRANSACTION_onVolumeChecking = ::android::IBinder::FIRST_CALL_TRANSACTION + 0; 22 explicit BnVoldMountCallback(); 23 ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override; 24 }; // class BnVoldMountCallback 25 26 class LIBBINDER_EXPORTED IVoldMountCallbackDelegator : public BnVoldMountCallback { 27 public: IVoldMountCallbackDelegator(const::android::sp<IVoldMountCallback> & impl)28 explicit IVoldMountCallbackDelegator(const ::android::sp<IVoldMountCallback> &impl) : _aidl_delegate(impl) {} 29 getImpl()30 ::android::sp<IVoldMountCallback> getImpl() { return _aidl_delegate; } onVolumeChecking(::android::base::unique_fd fuseFd,const::std::string & path,const::std::string & internalPath,bool * _aidl_return)31 ::android::binder::Status onVolumeChecking(::android::base::unique_fd fuseFd, const ::std::string& path, const ::std::string& internalPath, bool* _aidl_return) override { 32 return _aidl_delegate->onVolumeChecking(std::move(fuseFd), path, internalPath, _aidl_return); 33 } 34 private: 35 ::android::sp<IVoldMountCallback> _aidl_delegate; 36 }; // class IVoldMountCallbackDelegator 37 } // namespace os 38 } // namespace android 39