1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/318b8d90ecf93085c641582dc1fc9ad4e55d0982/out/android/os/IStoraged.cpp.d --ninja -Isystem/core/storaged/binder -Iframeworks/native/aidl/binder -t --min_sdk_version=platform_apis -Isystem/core/storaged/binder/ system/core/storaged/binder/android/os/IStoraged.aidl out/soong/.temp/sbox/318b8d90ecf93085c641582dc1fc9ad4e55d0982/out out/soong/.temp/sbox/318b8d90ecf93085c641582dc1fc9ad4e55d0982/out/android/os/IStoraged.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/IStoraged.h> 13 #include <android/os/BnStoraged.h> 14 #include <binder/Delegate.h> 15 16 17 namespace android { 18 namespace os { 19 class LIBBINDER_EXPORTED BnStoraged : public ::android::BnInterface<IStoraged> { 20 public: 21 static constexpr uint32_t TRANSACTION_onUserStarted = ::android::IBinder::FIRST_CALL_TRANSACTION + 0; 22 static constexpr uint32_t TRANSACTION_onUserStopped = ::android::IBinder::FIRST_CALL_TRANSACTION + 1; 23 static constexpr uint32_t TRANSACTION_getRecentPerf = ::android::IBinder::FIRST_CALL_TRANSACTION + 2; 24 explicit BnStoraged(); 25 ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override; 26 }; // class BnStoraged 27 28 class LIBBINDER_EXPORTED IStoragedDelegator : public BnStoraged { 29 public: IStoragedDelegator(const::android::sp<IStoraged> & impl)30 explicit IStoragedDelegator(const ::android::sp<IStoraged> &impl) : _aidl_delegate(impl) {} 31 getImpl()32 ::android::sp<IStoraged> getImpl() { return _aidl_delegate; } onUserStarted(int32_t userId)33 ::android::binder::Status onUserStarted(int32_t userId) override { 34 return _aidl_delegate->onUserStarted(userId); 35 } onUserStopped(int32_t userId)36 ::android::binder::Status onUserStopped(int32_t userId) override { 37 return _aidl_delegate->onUserStopped(userId); 38 } getRecentPerf(int32_t * _aidl_return)39 ::android::binder::Status getRecentPerf(int32_t* _aidl_return) override { 40 return _aidl_delegate->getRecentPerf(_aidl_return); 41 } 42 private: 43 ::android::sp<IStoraged> _aidl_delegate; 44 }; // class IStoragedDelegator 45 } // namespace os 46 } // namespace android 47