1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/9b1ddf85766470ee533468446ab34179931b3e3a/out/android/os/IIncidentAuthListener.cpp.d --ninja -Iframeworks/native/libs/incidentcompanion/binder -t --min_sdk_version=platform_apis -Iframeworks/native/libs/incidentcompanion/binder/ frameworks/native/libs/incidentcompanion/binder/android/os/IIncidentAuthListener.aidl out/soong/.temp/sbox/9b1ddf85766470ee533468446ab34179931b3e3a/out out/soong/.temp/sbox/9b1ddf85766470ee533468446ab34179931b3e3a/out/android/os/IIncidentAuthListener.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/IIncidentAuthListener.h>
13 #include <android/os/BnIncidentAuthListener.h>
14 #include <binder/Delegate.h>
15 
16 
17 namespace android {
18 namespace os {
19 class LIBBINDER_EXPORTED BnIncidentAuthListener : public ::android::BnInterface<IIncidentAuthListener> {
20 public:
21   static constexpr uint32_t TRANSACTION_onReportApproved = ::android::IBinder::FIRST_CALL_TRANSACTION + 0;
22   static constexpr uint32_t TRANSACTION_onReportDenied = ::android::IBinder::FIRST_CALL_TRANSACTION + 1;
23   explicit BnIncidentAuthListener();
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 BnIncidentAuthListener
26 
27 class LIBBINDER_EXPORTED IIncidentAuthListenerDelegator : public BnIncidentAuthListener {
28 public:
IIncidentAuthListenerDelegator(const::android::sp<IIncidentAuthListener> & impl)29   explicit IIncidentAuthListenerDelegator(const ::android::sp<IIncidentAuthListener> &impl) : _aidl_delegate(impl) {}
30 
getImpl()31   ::android::sp<IIncidentAuthListener> getImpl() { return _aidl_delegate; }
onReportApproved()32   ::android::binder::Status onReportApproved() override {
33     return _aidl_delegate->onReportApproved();
34   }
onReportDenied()35   ::android::binder::Status onReportDenied() override {
36     return _aidl_delegate->onReportDenied();
37   }
38 private:
39   ::android::sp<IIncidentAuthListener> _aidl_delegate;
40 };  // class IIncidentAuthListenerDelegator
41 }  // namespace os
42 }  // namespace android
43