1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/534cba27bba25d1a3c564095154c40652de13328/out/android/os/ILogd.cpp.d --ninja -Isystem/logging/logd/binder -t --min_sdk_version=platform_apis -Isystem/logging/logd/binder/ system/logging/logd/binder/android/os/ILogd.aidl out/soong/.temp/sbox/534cba27bba25d1a3c564095154c40652de13328/out out/soong/.temp/sbox/534cba27bba25d1a3c564095154c40652de13328/out/android/os/ILogd.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/ILogd.h>
13 #include <android/os/BnLogd.h>
14 #include <binder/Delegate.h>
15 
16 
17 namespace android {
18 namespace os {
19 class LIBBINDER_EXPORTED BnLogd : public ::android::BnInterface<ILogd> {
20 public:
21   static constexpr uint32_t TRANSACTION_approve = ::android::IBinder::FIRST_CALL_TRANSACTION + 0;
22   static constexpr uint32_t TRANSACTION_decline = ::android::IBinder::FIRST_CALL_TRANSACTION + 1;
23   explicit BnLogd();
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 BnLogd
26 
27 class LIBBINDER_EXPORTED ILogdDelegator : public BnLogd {
28 public:
ILogdDelegator(const::android::sp<ILogd> & impl)29   explicit ILogdDelegator(const ::android::sp<ILogd> &impl) : _aidl_delegate(impl) {}
30 
getImpl()31   ::android::sp<ILogd> getImpl() { return _aidl_delegate; }
approve(int32_t uid,int32_t gid,int32_t pid,int32_t fd)32   ::android::binder::Status approve(int32_t uid, int32_t gid, int32_t pid, int32_t fd) override {
33     return _aidl_delegate->approve(uid, gid, pid, fd);
34   }
decline(int32_t uid,int32_t gid,int32_t pid,int32_t fd)35   ::android::binder::Status decline(int32_t uid, int32_t gid, int32_t pid, int32_t fd) override {
36     return _aidl_delegate->decline(uid, gid, pid, fd);
37   }
38 private:
39   ::android::sp<ILogd> _aidl_delegate;
40 };  // class ILogdDelegator
41 }  // namespace os
42 }  // namespace android
43