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 current -pout/soong/.intermediates/hardware/interfaces/biometrics/common/aidl/android.hardware.biometrics.common_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/keymaster/aidl/android.hardware.keymaster_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face_interface/4/preprocessed.aidl --ninja -d out/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face.virtualhal-ndk-source/gen/staging/android/hardware/biometrics/face/virtualhal/NextEnrollment.cpp.d -h out/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face.virtualhal-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face.virtualhal-ndk-source/gen/staging -Nhardware/interfaces/biometrics/face/aidl hardware/interfaces/biometrics/face/aidl/android/hardware/biometrics/face/virtualhal/NextEnrollment.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/biometrics/face/virtualhal/EnrollmentProgressStep.h>
20 #ifdef BINDER_STABILITY_SUPPORT
21 #include <android/binder_stability.h>
22 #endif  // BINDER_STABILITY_SUPPORT
23 
24 namespace aidl::android::hardware::biometrics::face::virtualhal {
25 class EnrollmentProgressStep;
26 }  // namespace aidl::android::hardware::biometrics::face::virtualhal
27 namespace aidl {
28 namespace android {
29 namespace hardware {
30 namespace biometrics {
31 namespace face {
32 namespace virtualhal {
33 class NextEnrollment {
34 public:
35   typedef std::false_type fixed_size;
36   static const char* descriptor;
37 
38   int32_t id = 0;
39   std::vector<::aidl::android::hardware::biometrics::face::virtualhal::EnrollmentProgressStep> progressSteps;
40   bool result = true;
41 
42   binder_status_t readFromParcel(const AParcel* parcel);
43   binder_status_t writeToParcel(AParcel* parcel) const;
44 
45   inline bool operator==(const NextEnrollment& _rhs) const {
46     return std::tie(id, progressSteps, result) == std::tie(_rhs.id, _rhs.progressSteps, _rhs.result);
47   }
48   inline bool operator<(const NextEnrollment& _rhs) const {
49     return std::tie(id, progressSteps, result) < std::tie(_rhs.id, _rhs.progressSteps, _rhs.result);
50   }
51   inline bool operator!=(const NextEnrollment& _rhs) const {
52     return !(*this == _rhs);
53   }
54   inline bool operator>(const NextEnrollment& _rhs) const {
55     return _rhs < *this;
56   }
57   inline bool operator>=(const NextEnrollment& _rhs) const {
58     return !(*this < _rhs);
59   }
60   inline bool operator<=(const NextEnrollment& _rhs) const {
61     return !(_rhs < *this);
62   }
63 
64   static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_LOCAL;
toString()65   inline std::string toString() const {
66     std::ostringstream _aidl_os;
67     _aidl_os << "NextEnrollment{";
68     _aidl_os << "id: " << ::android::internal::ToString(id);
69     _aidl_os << ", progressSteps: " << ::android::internal::ToString(progressSteps);
70     _aidl_os << ", result: " << ::android::internal::ToString(result);
71     _aidl_os << "}";
72     return _aidl_os.str();
73   }
74 };
75 }  // namespace virtualhal
76 }  // namespace face
77 }  // namespace biometrics
78 }  // namespace hardware
79 }  // namespace android
80 }  // namespace aidl
81