1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/130b1e564013de5ae8764a3d7b3148b0efeddefb/out/android/IOMXBufferSource.cpp.d --ninja -Iframeworks/av/media/libmedia/aidl -t --min_sdk_version=platform_apis -Iframeworks/av/media/libmedia/aidl/ frameworks/av/media/libmedia/aidl/android/IOMXBufferSource.aidl out/soong/.temp/sbox/130b1e564013de5ae8764a3d7b3148b0efeddefb/out out/soong/.temp/sbox/130b1e564013de5ae8764a3d7b3148b0efeddefb/out/android/IOMXBufferSource.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/IOMXBufferSource.h> 13 #include <android/BnOMXBufferSource.h> 14 #include <binder/Delegate.h> 15 16 17 namespace android { 18 class LIBBINDER_EXPORTED BnOMXBufferSource : public ::android::BnInterface<IOMXBufferSource> { 19 public: 20 static constexpr uint32_t TRANSACTION_onOmxExecuting = ::android::IBinder::FIRST_CALL_TRANSACTION + 0; 21 static constexpr uint32_t TRANSACTION_onOmxIdle = ::android::IBinder::FIRST_CALL_TRANSACTION + 1; 22 static constexpr uint32_t TRANSACTION_onOmxLoaded = ::android::IBinder::FIRST_CALL_TRANSACTION + 2; 23 static constexpr uint32_t TRANSACTION_onInputBufferAdded = ::android::IBinder::FIRST_CALL_TRANSACTION + 3; 24 static constexpr uint32_t TRANSACTION_onInputBufferEmptied = ::android::IBinder::FIRST_CALL_TRANSACTION + 4; 25 explicit BnOMXBufferSource(); 26 ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override; 27 }; // class BnOMXBufferSource 28 29 class LIBBINDER_EXPORTED IOMXBufferSourceDelegator : public BnOMXBufferSource { 30 public: IOMXBufferSourceDelegator(const::android::sp<IOMXBufferSource> & impl)31 explicit IOMXBufferSourceDelegator(const ::android::sp<IOMXBufferSource> &impl) : _aidl_delegate(impl) {} 32 getImpl()33 ::android::sp<IOMXBufferSource> getImpl() { return _aidl_delegate; } onOmxExecuting()34 ::android::binder::Status onOmxExecuting() override { 35 return _aidl_delegate->onOmxExecuting(); 36 } onOmxIdle()37 ::android::binder::Status onOmxIdle() override { 38 return _aidl_delegate->onOmxIdle(); 39 } onOmxLoaded()40 ::android::binder::Status onOmxLoaded() override { 41 return _aidl_delegate->onOmxLoaded(); 42 } onInputBufferAdded(int32_t bufferID)43 ::android::binder::Status onInputBufferAdded(int32_t bufferID) override { 44 return _aidl_delegate->onInputBufferAdded(bufferID); 45 } onInputBufferEmptied(int32_t bufferID,const::android::OMXFenceParcelable & fenceParcel)46 ::android::binder::Status onInputBufferEmptied(int32_t bufferID, const ::android::OMXFenceParcelable& fenceParcel) override { 47 return _aidl_delegate->onInputBufferEmptied(bufferID, fenceParcel); 48 } 49 private: 50 ::android::sp<IOMXBufferSource> _aidl_delegate; 51 }; // class IOMXBufferSourceDelegator 52 } // namespace android 53