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/IBinder.h>
12 #include <binder/IInterface.h>
13 #include <binder/Status.h>
14 #include <binder/Trace.h>
15 #include <cstdint>
16 #include <utils/StrongPointer.h>
17 
18 namespace android {
19 namespace os {
20 class LIBBINDER_EXPORTED ILogdDelegator;
21 
22 class LIBBINDER_EXPORTED ILogd : public ::android::IInterface {
23 public:
24   typedef ILogdDelegator DefaultDelegator;
25   DECLARE_META_INTERFACE(Logd)
26   virtual ::android::binder::Status approve(int32_t uid, int32_t gid, int32_t pid, int32_t fd) = 0;
27   virtual ::android::binder::Status decline(int32_t uid, int32_t gid, int32_t pid, int32_t fd) = 0;
28 };  // class ILogd
29 
30 class LIBBINDER_EXPORTED ILogdDefault : public ILogd {
31 public:
onAsBinder()32   ::android::IBinder* onAsBinder() override {
33     return nullptr;
34   }
approve(int32_t,int32_t,int32_t,int32_t)35   ::android::binder::Status approve(int32_t /*uid*/, int32_t /*gid*/, int32_t /*pid*/, int32_t /*fd*/) override {
36     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
37   }
decline(int32_t,int32_t,int32_t,int32_t)38   ::android::binder::Status decline(int32_t /*uid*/, int32_t /*gid*/, int32_t /*pid*/, int32_t /*fd*/) override {
39     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
40   }
41 };  // class ILogdDefault
42 }  // namespace os
43 }  // namespace android
44