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/IBinder.h>
12 #include <binder/IInterface.h>
13 #include <binder/Status.h>
14 #include <binder/Trace.h>
15 #include <utils/StrongPointer.h>
16 
17 namespace android {
18 namespace os {
19 class LIBBINDER_EXPORTED IIncidentAuthListenerDelegator;
20 
21 class LIBBINDER_EXPORTED IIncidentAuthListener : public ::android::IInterface {
22 public:
23   typedef IIncidentAuthListenerDelegator DefaultDelegator;
24   DECLARE_META_INTERFACE(IncidentAuthListener)
25   virtual ::android::binder::Status onReportApproved() = 0;
26   virtual ::android::binder::Status onReportDenied() = 0;
27 };  // class IIncidentAuthListener
28 
29 class LIBBINDER_EXPORTED IIncidentAuthListenerDefault : public IIncidentAuthListener {
30 public:
onAsBinder()31   ::android::IBinder* onAsBinder() override {
32     return nullptr;
33   }
onReportApproved()34   ::android::binder::Status onReportApproved() override {
35     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
36   }
onReportDenied()37   ::android::binder::Status onReportDenied() override {
38     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
39   }
40 };  // class IIncidentAuthListenerDefault
41 }  // namespace os
42 }  // namespace android
43