blob: edb49b856f15a90c438d92d9aefd61438d0b345f [file] [log] [blame]
Andrew Scull70934312018-01-03 11:51:54 +00001#ifndef ANDROID_HARDWARE_AUTHSECRET_V1_0_AUTHSECRET_H
2#define ANDROID_HARDWARE_AUTHSECRET_V1_0_AUTHSECRET_H
3
4#include <android/hardware/authsecret/1.0/IAuthSecret.h>
5#include <hidl/MQDescriptor.h>
6#include <hidl/Status.h>
7
8namespace android {
9namespace hardware {
10namespace authsecret {
11namespace V1_0 {
12namespace implementation {
13
14using ::android::hardware::hidl_array;
15using ::android::hardware::hidl_memory;
16using ::android::hardware::hidl_string;
17using ::android::hardware::hidl_vec;
18using ::android::hardware::Return;
19using ::android::hardware::Void;
20using ::android::sp;
21
22struct AuthSecret : public IAuthSecret {
23 // Methods from ::android::hardware::authsecret::V1_0::IAuthSecret follow.
24 Return<void> primaryUserCredential(const hidl_vec<uint8_t>& secret) override;
25 Return<void> factoryReset() override;
26
27 // Methods from ::android::hidl::base::V1_0::IBase follow.
28};
29
30} // namespace implementation
31} // namespace V1_0
32} // namespace authsecret
33} // namespace hardware
34} // namespace android
35
36#endif // ANDROID_HARDWARE_AUTHSECRET_V1_0_AUTHSECRET_H