1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation -t --min_sdk_version 30 --ninja -d out/soong/.intermediates/packages/modules/StatsD/aidl/statsd-aidl-ndk-source/gen/staging/android/os/IPullAtomResultReceiver.cpp.d -h out/soong/.intermediates/packages/modules/StatsD/aidl/statsd-aidl-ndk-source/gen/include/staging -o out/soong/.intermediates/packages/modules/StatsD/aidl/statsd-aidl-ndk-source/gen/staging -Npackages/modules/StatsD/aidl packages/modules/StatsD/aidl/android/os/IPullAtomResultReceiver.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 <cstdint>
12 #include <memory>
13 #include <optional>
14 #include <string>
15 #include <vector>
16 #include <android/binder_interface_utils.h>
17 #include <aidl/android/util/StatsEventParcel.h>
18 #ifdef BINDER_STABILITY_SUPPORT
19 #include <android/binder_stability.h>
20 #endif  // BINDER_STABILITY_SUPPORT
21 
22 namespace aidl::android::util {
23 class StatsEventParcel;
24 }  // namespace aidl::android::util
25 namespace aidl {
26 namespace android {
27 namespace os {
28 class IPullAtomResultReceiverDelegator;
29 
30 class IPullAtomResultReceiver : public ::ndk::ICInterface {
31 public:
32   typedef IPullAtomResultReceiverDelegator DefaultDelegator;
33   static const char* descriptor;
34   IPullAtomResultReceiver();
35   virtual ~IPullAtomResultReceiver();
36 
37   static constexpr uint32_t TRANSACTION_pullFinished = FIRST_CALL_TRANSACTION + 0;
38 
39   static std::shared_ptr<IPullAtomResultReceiver> fromBinder(const ::ndk::SpAIBinder& binder);
40   static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IPullAtomResultReceiver>& instance);
41   static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IPullAtomResultReceiver>* instance);
42   static bool setDefaultImpl(const std::shared_ptr<IPullAtomResultReceiver>& impl);
43   static const std::shared_ptr<IPullAtomResultReceiver>& getDefaultImpl();
44   virtual ::ndk::ScopedAStatus pullFinished(int32_t in_atomTag, bool in_success, const std::vector<::aidl::android::util::StatsEventParcel>& in_output) = 0;
45 private:
46   static std::shared_ptr<IPullAtomResultReceiver> default_impl;
47 };
48 class IPullAtomResultReceiverDefault : public IPullAtomResultReceiver {
49 public:
50   ::ndk::ScopedAStatus pullFinished(int32_t in_atomTag, bool in_success, const std::vector<::aidl::android::util::StatsEventParcel>& in_output) override;
51   ::ndk::SpAIBinder asBinder() override;
52   bool isRemote() override;
53 };
54 }  // namespace os
55 }  // namespace android
56 }  // namespace aidl
57