1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/030bdc68cd51619777b234b16aba4350324e44b8/out/android/hardware/camera2/ICameraInjectionSession.cpp.d --ninja -Iframeworks/av/camera/aidl -Iframeworks/native/aidl/gui -Iframeworks/native/libs/permission/aidl -Ihardware/interfaces/common/fmq/aidl -Ihardware/interfaces/common/aidl -t --min_sdk_version=platform_apis -Iframeworks/av/camera/aidl/ frameworks/av/camera/aidl/android/hardware/camera2/ICameraInjectionSession.aidl out/soong/.temp/sbox/030bdc68cd51619777b234b16aba4350324e44b8/out out/soong/.temp/sbox/030bdc68cd51619777b234b16aba4350324e44b8/out/android/hardware/camera2/ICameraInjectionSession.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/hardware/camera2/ICameraInjectionSession.h>
13 #include <android/hardware/camera2/BnCameraInjectionSession.h>
14 #include <binder/Delegate.h>
15 
16 
17 namespace android {
18 namespace hardware {
19 namespace camera2 {
20 class LIBBINDER_EXPORTED BnCameraInjectionSession : public ::android::BnInterface<ICameraInjectionSession> {
21 public:
22   static constexpr uint32_t TRANSACTION_stopInjection = ::android::IBinder::FIRST_CALL_TRANSACTION + 0;
23   explicit BnCameraInjectionSession();
24   ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override;
25 };  // class BnCameraInjectionSession
26 
27 class LIBBINDER_EXPORTED ICameraInjectionSessionDelegator : public BnCameraInjectionSession {
28 public:
ICameraInjectionSessionDelegator(const::android::sp<ICameraInjectionSession> & impl)29   explicit ICameraInjectionSessionDelegator(const ::android::sp<ICameraInjectionSession> &impl) : _aidl_delegate(impl) {}
30 
getImpl()31   ::android::sp<ICameraInjectionSession> getImpl() { return _aidl_delegate; }
stopInjection()32   ::android::binder::Status stopInjection() override {
33     return _aidl_delegate->stopInjection();
34   }
35 private:
36   ::android::sp<ICameraInjectionSession> _aidl_delegate;
37 };  // class ICameraInjectionSessionDelegator
38 }  // namespace camera2
39 }  // namespace hardware
40 }  // namespace android
41