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 --structured --version 4 --hash notfrozen -t --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common_interface/6/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common_interface/2/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/drm/common/aidl/android.hardware.drm.common_interface/1/preprocessed.aidl --previous_api_dir=hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3 --previous_hash d24fcd9648b8b2e7287f9238eee9180244612c10 --ninja -d out/soong/.intermediates/hardware/interfaces/graphics/composer/aidl/android.hardware.graphics.composer3-V4-ndk-source/gen/staging/android/hardware/graphics/composer3/DisplayLuts.cpp.d -h out/soong/.intermediates/hardware/interfaces/graphics/composer/aidl/android.hardware.graphics.composer3-V4-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/graphics/composer/aidl/android.hardware.graphics.composer3-V4-ndk-source/gen/staging -Nhardware/interfaces/graphics/composer/aidl hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/DisplayLuts.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 <android/binder_parcelable_utils.h>
18 #include <android/binder_to_string.h>
19 #include <aidl/android/hardware/graphics/composer3/DisplayLuts.h>
20 #include <aidl/android/hardware/graphics/composer3/Luts.h>
21 #ifdef BINDER_STABILITY_SUPPORT
22 #include <android/binder_stability.h>
23 #endif  // BINDER_STABILITY_SUPPORT
24 
25 namespace aidl::android::hardware::graphics::composer3 {
26 class Luts;
27 }  // namespace aidl::android::hardware::graphics::composer3
28 namespace aidl {
29 namespace android {
30 namespace hardware {
31 namespace graphics {
32 namespace composer3 {
33 class DisplayLuts {
34 public:
35   typedef std::false_type fixed_size;
36   static const char* descriptor;
37 
38   class LayerLut {
39   public:
40     typedef std::false_type fixed_size;
41     static const char* descriptor;
42 
43     int64_t layer = 0L;
44     ::aidl::android::hardware::graphics::composer3::Luts luts;
45 
46     binder_status_t readFromParcel(const AParcel* parcel);
47     binder_status_t writeToParcel(AParcel* parcel) const;
48 
49     inline bool operator==(const LayerLut& _rhs) const {
50       return std::tie(layer, luts) == std::tie(_rhs.layer, _rhs.luts);
51     }
52     inline bool operator<(const LayerLut& _rhs) const {
53       return std::tie(layer, luts) < std::tie(_rhs.layer, _rhs.luts);
54     }
55     inline bool operator!=(const LayerLut& _rhs) const {
56       return !(*this == _rhs);
57     }
58     inline bool operator>(const LayerLut& _rhs) const {
59       return _rhs < *this;
60     }
61     inline bool operator>=(const LayerLut& _rhs) const {
62       return !(*this < _rhs);
63     }
64     inline bool operator<=(const LayerLut& _rhs) const {
65       return !(_rhs < *this);
66     }
67 
68     static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_VINTF;
toString()69     inline std::string toString() const {
70       std::ostringstream _aidl_os;
71       _aidl_os << "LayerLut{";
72       _aidl_os << "layer: " << ::android::internal::ToString(layer);
73       _aidl_os << ", luts: " << ::android::internal::ToString(luts);
74       _aidl_os << "}";
75       return _aidl_os.str();
76     }
77   };
78   int64_t display = 0L;
79   std::vector<::aidl::android::hardware::graphics::composer3::DisplayLuts::LayerLut> layerLuts;
80 
81   binder_status_t readFromParcel(const AParcel* parcel);
82   binder_status_t writeToParcel(AParcel* parcel) const;
83 
84   inline bool operator==(const DisplayLuts& _rhs) const {
85     return std::tie(display, layerLuts) == std::tie(_rhs.display, _rhs.layerLuts);
86   }
87   inline bool operator<(const DisplayLuts& _rhs) const {
88     return std::tie(display, layerLuts) < std::tie(_rhs.display, _rhs.layerLuts);
89   }
90   inline bool operator!=(const DisplayLuts& _rhs) const {
91     return !(*this == _rhs);
92   }
93   inline bool operator>(const DisplayLuts& _rhs) const {
94     return _rhs < *this;
95   }
96   inline bool operator>=(const DisplayLuts& _rhs) const {
97     return !(*this < _rhs);
98   }
99   inline bool operator<=(const DisplayLuts& _rhs) const {
100     return !(_rhs < *this);
101   }
102 
103   static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_VINTF;
toString()104   inline std::string toString() const {
105     std::ostringstream _aidl_os;
106     _aidl_os << "DisplayLuts{";
107     _aidl_os << "display: " << ::android::internal::ToString(display);
108     _aidl_os << ", layerLuts: " << ::android::internal::ToString(layerLuts);
109     _aidl_os << "}";
110     return _aidl_os.str();
111   }
112 };
113 }  // namespace composer3
114 }  // namespace graphics
115 }  // namespace hardware
116 }  // namespace android
117 }  // namespace aidl
118