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 31 --ninja -d out/soong/.intermediates/art/artd/binder/artd-aidl-ndk-source/gen/staging/com/android/server/art/IArtdNotification.cpp.d -h out/soong/.intermediates/art/artd/binder/artd-aidl-ndk-source/gen/include/staging -o out/soong/.intermediates/art/artd/binder/artd-aidl-ndk-source/gen/staging -Nart/artd/binder art/artd/binder/com/android/server/art/IArtdNotification.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 #ifdef BINDER_STABILITY_SUPPORT
18 #include <android/binder_stability.h>
19 #endif  // BINDER_STABILITY_SUPPORT
20 
21 namespace aidl {
22 namespace com {
23 namespace android {
24 namespace server {
25 namespace art {
26 class IArtdNotificationDelegator;
27 
28 class IArtdNotification : public ::ndk::ICInterface {
29 public:
30   typedef IArtdNotificationDelegator DefaultDelegator;
31   static const char* descriptor;
32   IArtdNotification();
33   virtual ~IArtdNotification();
34 
35   static constexpr uint32_t TRANSACTION_wait = FIRST_CALL_TRANSACTION + 0;
36 
37   static std::shared_ptr<IArtdNotification> fromBinder(const ::ndk::SpAIBinder& binder);
38   static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IArtdNotification>& instance);
39   static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IArtdNotification>* instance);
40   static bool setDefaultImpl(const std::shared_ptr<IArtdNotification>& impl);
41   static const std::shared_ptr<IArtdNotification>& getDefaultImpl();
42   virtual ::ndk::ScopedAStatus wait(int32_t in_timeoutMs, bool* _aidl_return) = 0;
43 private:
44   static std::shared_ptr<IArtdNotification> default_impl;
45 };
46 class IArtdNotificationDefault : public IArtdNotification {
47 public:
48   ::ndk::ScopedAStatus wait(int32_t in_timeoutMs, bool* _aidl_return) override;
49   ::ndk::SpAIBinder asBinder() override;
50   bool isRemote() override;
51 };
52 }  // namespace art
53 }  // namespace server
54 }  // namespace android
55 }  // namespace com
56 }  // namespace aidl
57