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 2 --hash notfrozen -t --stability vintf --min_sdk_version 33 --previous_api_dir=hardware/interfaces/bluetooth/ranging/aidl/aidl_api/android.hardware.bluetooth.ranging/1 --previous_hash d257bb74ef61a4cbb5854f4663604dd491b4a7bf --ninja -d out/soong/.intermediates/hardware/interfaces/bluetooth/ranging/aidl/android.hardware.bluetooth.ranging-V2-ndk-source/gen/staging/android/hardware/bluetooth/ranging/ProcedureEnableConfig.cpp.d -h out/soong/.intermediates/hardware/interfaces/bluetooth/ranging/aidl/android.hardware.bluetooth.ranging-V2-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/bluetooth/ranging/aidl/android.hardware.bluetooth.ranging-V2-ndk-source/gen/staging -Nhardware/interfaces/bluetooth/ranging/aidl hardware/interfaces/bluetooth/ranging/aidl/android/hardware/bluetooth/ranging/ProcedureEnableConfig.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 #ifdef BINDER_STABILITY_SUPPORT 20 #include <android/binder_stability.h> 21 #endif // BINDER_STABILITY_SUPPORT 22 23 namespace aidl { 24 namespace android { 25 namespace hardware { 26 namespace bluetooth { 27 namespace ranging { 28 class ProcedureEnableConfig { 29 public: 30 typedef std::false_type fixed_size; 31 static const char* descriptor; 32 33 int8_t toneAntennaConfigSelection = 0; 34 int32_t subeventLenUs = 0; 35 int8_t subeventsPerEvent = 0; 36 int32_t subeventInterval = 0; 37 int32_t eventInterval = 0; 38 int32_t procedureInterval = 0; 39 int32_t procedureCount = 0; 40 int32_t maxProcedureLen = 0; 41 42 binder_status_t readFromParcel(const AParcel* parcel); 43 binder_status_t writeToParcel(AParcel* parcel) const; 44 45 inline bool operator==(const ProcedureEnableConfig& _rhs) const { 46 return std::tie(toneAntennaConfigSelection, subeventLenUs, subeventsPerEvent, subeventInterval, eventInterval, procedureInterval, procedureCount, maxProcedureLen) == std::tie(_rhs.toneAntennaConfigSelection, _rhs.subeventLenUs, _rhs.subeventsPerEvent, _rhs.subeventInterval, _rhs.eventInterval, _rhs.procedureInterval, _rhs.procedureCount, _rhs.maxProcedureLen); 47 } 48 inline bool operator<(const ProcedureEnableConfig& _rhs) const { 49 return std::tie(toneAntennaConfigSelection, subeventLenUs, subeventsPerEvent, subeventInterval, eventInterval, procedureInterval, procedureCount, maxProcedureLen) < std::tie(_rhs.toneAntennaConfigSelection, _rhs.subeventLenUs, _rhs.subeventsPerEvent, _rhs.subeventInterval, _rhs.eventInterval, _rhs.procedureInterval, _rhs.procedureCount, _rhs.maxProcedureLen); 50 } 51 inline bool operator!=(const ProcedureEnableConfig& _rhs) const { 52 return !(*this == _rhs); 53 } 54 inline bool operator>(const ProcedureEnableConfig& _rhs) const { 55 return _rhs < *this; 56 } 57 inline bool operator>=(const ProcedureEnableConfig& _rhs) const { 58 return !(*this < _rhs); 59 } 60 inline bool operator<=(const ProcedureEnableConfig& _rhs) const { 61 return !(_rhs < *this); 62 } 63 64 static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_VINTF; toString()65 inline std::string toString() const { 66 std::ostringstream _aidl_os; 67 _aidl_os << "ProcedureEnableConfig{"; 68 _aidl_os << "toneAntennaConfigSelection: " << ::android::internal::ToString(toneAntennaConfigSelection); 69 _aidl_os << ", subeventLenUs: " << ::android::internal::ToString(subeventLenUs); 70 _aidl_os << ", subeventsPerEvent: " << ::android::internal::ToString(subeventsPerEvent); 71 _aidl_os << ", subeventInterval: " << ::android::internal::ToString(subeventInterval); 72 _aidl_os << ", eventInterval: " << ::android::internal::ToString(eventInterval); 73 _aidl_os << ", procedureInterval: " << ::android::internal::ToString(procedureInterval); 74 _aidl_os << ", procedureCount: " << ::android::internal::ToString(procedureCount); 75 _aidl_os << ", maxProcedureLen: " << ::android::internal::ToString(maxProcedureLen); 76 _aidl_os << "}"; 77 return _aidl_os.str(); 78 } 79 }; 80 } // namespace ranging 81 } // namespace bluetooth 82 } // namespace hardware 83 } // namespace android 84 } // namespace aidl 85