1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=cpp -Weverything -Wno-missing-permission-annotation -t --min_sdk_version current --ninja -d out/soong/.intermediates/system/gsid/gsi_aidl_interface-cpp-source/gen/staging/android/gsi/IGsiServiceCallback.cpp.d -h out/soong/.intermediates/system/gsid/gsi_aidl_interface-cpp-source/gen/include/staging -o out/soong/.intermediates/system/gsid/gsi_aidl_interface-cpp-source/gen/staging -Nsystem/gsid/aidl system/gsid/aidl/android/gsi/IGsiServiceCallback.aidl
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/gsi/IGsiServiceCallback.h>
13 #include <android/gsi/BnGsiServiceCallback.h>
14 #include <binder/Delegate.h>
15 
16 
17 namespace android {
18 namespace gsi {
19 class LIBBINDER_EXPORTED BnGsiServiceCallback : public ::android::BnInterface<IGsiServiceCallback> {
20 public:
21   static constexpr uint32_t TRANSACTION_onResult = ::android::IBinder::FIRST_CALL_TRANSACTION + 0;
22   explicit BnGsiServiceCallback();
23   ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override;
24 };  // class BnGsiServiceCallback
25 
26 class LIBBINDER_EXPORTED IGsiServiceCallbackDelegator : public BnGsiServiceCallback {
27 public:
IGsiServiceCallbackDelegator(const::android::sp<IGsiServiceCallback> & impl)28   explicit IGsiServiceCallbackDelegator(const ::android::sp<IGsiServiceCallback> &impl) : _aidl_delegate(impl) {}
29 
getImpl()30   ::android::sp<IGsiServiceCallback> getImpl() { return _aidl_delegate; }
onResult(int32_t result)31   ::android::binder::Status onResult(int32_t result) override {
32     return _aidl_delegate->onResult(result);
33   }
34 private:
35   ::android::sp<IGsiServiceCallback> _aidl_delegate;
36 };  // class IGsiServiceCallbackDelegator
37 }  // namespace gsi
38 }  // namespace android
39