1 #ifndef ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
2 #define ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
3 
4 #include <android/hardware/gnss/1.1/IGnssMeasurement.h>
5 #include <hidl/MQDescriptor.h>
6 #include <hidl/Status.h>
7 
8 namespace android {
9 namespace hardware {
10 namespace gnss {
11 namespace V1_1 {
12 namespace implementation {
13 
14 using ::android::hardware::hidl_array;
15 using ::android::hardware::hidl_memory;
16 using ::android::hardware::hidl_string;
17 using ::android::hardware::hidl_vec;
18 using ::android::hardware::Return;
19 using ::android::hardware::Void;
20 using ::android::sp;
21 
22 struct GnssMeasurement : public IGnssMeasurement {
23     // Methods from ::android::hardware::gnss::V1_0::IGnssMeasurement follow.
24     Return<::android::hardware::gnss::V1_0::IGnssMeasurement::GnssMeasurementStatus> setCallback(
25         const sp<::android::hardware::gnss::V1_0::IGnssMeasurementCallback>& callback) override;
26     Return<void> close() override;
27 
28     // Methods from ::android::hardware::gnss::V1_1::IGnssMeasurement follow.
29     Return<::android::hardware::gnss::V1_0::IGnssMeasurement::GnssMeasurementStatus>
30     setCallback_1_1(const sp<::android::hardware::gnss::V1_1::IGnssMeasurementCallback>& callback,
31                     bool enableFullTracking) override;
32 
33     // Methods from ::android::hidl::base::V1_0::IBase follow.
34 };
35 
36 }  // namespace implementation
37 }  // namespace V1_1
38 }  // namespace gnss
39 }  // namespace hardware
40 }  // namespace android
41 
42 #endif  // ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
43