1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/0add8489e5aa81ad87348189d492899f4ed5aa83/out/android/os/IIncidentReportStatusListener.cpp.d --ninja -Iframeworks/base/core/java -Iframeworks/native/libs/incidentcompanion/binder -t --min_sdk_version=29 -Iframeworks/base/core/java/ frameworks/base/core/java/android/os/IIncidentReportStatusListener.aidl out/soong/.temp/sbox/0add8489e5aa81ad87348189d492899f4ed5aa83/out out/soong/.temp/sbox/0add8489e5aa81ad87348189d492899f4ed5aa83/out/android/os/IIncidentReportStatusListener.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/IIncidentReportStatusListener.h>
13 #include <android/os/BnIncidentReportStatusListener.h>
14 #include <binder/Delegate.h>
15 
16 
17 namespace android {
18 namespace os {
19 class LIBBINDER_EXPORTED BnIncidentReportStatusListener : public ::android::BnInterface<IIncidentReportStatusListener> {
20 public:
21   static constexpr uint32_t TRANSACTION_onReportStarted = ::android::IBinder::FIRST_CALL_TRANSACTION + 0;
22   static constexpr uint32_t TRANSACTION_onReportSectionStatus = ::android::IBinder::FIRST_CALL_TRANSACTION + 1;
23   static constexpr uint32_t TRANSACTION_onReportFinished = ::android::IBinder::FIRST_CALL_TRANSACTION + 2;
24   static constexpr uint32_t TRANSACTION_onReportFailed = ::android::IBinder::FIRST_CALL_TRANSACTION + 3;
25   explicit BnIncidentReportStatusListener();
26   ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override;
27 };  // class BnIncidentReportStatusListener
28 
29 class LIBBINDER_EXPORTED IIncidentReportStatusListenerDelegator : public BnIncidentReportStatusListener {
30 public:
IIncidentReportStatusListenerDelegator(const::android::sp<IIncidentReportStatusListener> & impl)31   explicit IIncidentReportStatusListenerDelegator(const ::android::sp<IIncidentReportStatusListener> &impl) : _aidl_delegate(impl) {}
32 
getImpl()33   ::android::sp<IIncidentReportStatusListener> getImpl() { return _aidl_delegate; }
onReportStarted()34   ::android::binder::Status onReportStarted() override {
35     return _aidl_delegate->onReportStarted();
36   }
onReportSectionStatus(int32_t section,int32_t status)37   ::android::binder::Status onReportSectionStatus(int32_t section, int32_t status) override {
38     return _aidl_delegate->onReportSectionStatus(section, status);
39   }
onReportFinished()40   ::android::binder::Status onReportFinished() override {
41     return _aidl_delegate->onReportFinished();
42   }
onReportFailed()43   ::android::binder::Status onReportFailed() override {
44     return _aidl_delegate->onReportFailed();
45   }
46 private:
47   ::android::sp<IIncidentReportStatusListener> _aidl_delegate;
48 };  // class IIncidentReportStatusListenerDelegator
49 }  // namespace os
50 }  // namespace android
51