summaryrefslogtreecommitdiff
path: root/arm/include/generated-headers/hardware/interfaces/identity/aidl/android.hardware.identity-ndk_platform-source/gen/include/aidl/android/hardware/identity/SecureAccessControlProfile.h
blob: d2fd94a8d17786cfb76ac1f97aa529ffd31fe31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include <android/binder_interface_utils.h>

#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#ifdef BINDER_STABILITY_SUPPORT
#include <android/binder_stability.h>
#endif  // BINDER_STABILITY_SUPPORT
#include <aidl/android/hardware/identity/Certificate.h>
namespace aidl {
namespace android {
namespace hardware {
namespace identity {
class SecureAccessControlProfile {
public:
  static const char* descriptor;

  int32_t id;
  ::aidl::android::hardware::identity::Certificate readerCertificate;
  bool userAuthenticationRequired;
  int64_t timeoutMillis;
  int64_t secureUserId;
  std::vector<int8_t> mac;

  binder_status_t readFromParcel(const AParcel* parcel);
  binder_status_t writeToParcel(AParcel* parcel) const;
};
}  // namespace identity
}  // namespace hardware
}  // namespace android
}  // namespace aidl