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 <android-base/unique_fd.h>
12 #include <binder/IBinder.h>
13 #include <binder/IInterface.h>
14 #include <binder/Status.h>
15 #include <binder/Trace.h>
16 #include <string>
17 #include <utils/StrongPointer.h>
18 
19 namespace android {
20 namespace os {
21 class LIBBINDER_EXPORTED IVoldMountCallbackDelegator;
22 
23 class LIBBINDER_EXPORTED IVoldMountCallback : public ::android::IInterface {
24 public:
25   typedef IVoldMountCallbackDelegator DefaultDelegator;
26   DECLARE_META_INTERFACE(VoldMountCallback)
27   virtual ::android::binder::Status onVolumeChecking(::android::base::unique_fd fuseFd, const ::std::string& path, const ::std::string& internalPath, bool* _aidl_return) = 0;
28 };  // class IVoldMountCallback
29 
30 class LIBBINDER_EXPORTED IVoldMountCallbackDefault : public IVoldMountCallback {
31 public:
onAsBinder()32   ::android::IBinder* onAsBinder() override {
33     return nullptr;
34   }
onVolumeChecking(::android::base::unique_fd,const::std::string &,const::std::string &,bool *)35   ::android::binder::Status onVolumeChecking(::android::base::unique_fd /*fuseFd*/, const ::std::string& /*path*/, const ::std::string& /*internalPath*/, bool* /*_aidl_return*/) override {
36     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
37   }
38 };  // class IVoldMountCallbackDefault
39 }  // namespace os
40 }  // namespace android
41