73f16adf92
Bug: 73845705 Test: gce_x86 device builds and runs. Debug logging shows default implementation is called by GnssLocationProvider. Change-Id: I58db6b11ad8b67d0364d8945801165cf6e499e55
42 lines
1.5 KiB
C++
42 lines
1.5 KiB
C++
#ifndef ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
|
|
#define ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
|
|
|
|
#include <android/hardware/gnss/1.1/IGnssMeasurement.h>
|
|
#include <hidl/MQDescriptor.h>
|
|
#include <hidl/Status.h>
|
|
|
|
namespace android {
|
|
namespace hardware {
|
|
namespace gnss {
|
|
namespace V1_1 {
|
|
namespace implementation {
|
|
|
|
using ::android::hardware::hidl_array;
|
|
using ::android::hardware::hidl_memory;
|
|
using ::android::hardware::hidl_string;
|
|
using ::android::hardware::hidl_vec;
|
|
using ::android::hardware::Return;
|
|
using ::android::hardware::Void;
|
|
using ::android::sp;
|
|
|
|
struct GnssMeasurement : public IGnssMeasurement {
|
|
// Methods from ::android::hardware::gnss::V1_0::IGnssMeasurement follow.
|
|
Return<::android::hardware::gnss::V1_0::IGnssMeasurement::GnssMeasurementStatus> setCallback(
|
|
const sp<::android::hardware::gnss::V1_0::IGnssMeasurementCallback>& callback) override;
|
|
Return<void> close() override;
|
|
|
|
// Methods from ::android::hardware::gnss::V1_1::IGnssMeasurement follow.
|
|
Return<::android::hardware::gnss::V1_0::IGnssMeasurement::GnssMeasurementStatus>
|
|
setCallback_1_1(const sp<::android::hardware::gnss::V1_1::IGnssMeasurementCallback>& callback,
|
|
bool enableFullTracking) override;
|
|
|
|
// Methods from ::android::hidl::base::V1_0::IBase follow.
|
|
};
|
|
|
|
} // namespace implementation
|
|
} // namespace V1_1
|
|
} // namespace gnss
|
|
} // namespace hardware
|
|
} // namespace android
|
|
|
|
#endif // ANDROID_HARDWARE_GNSS_V1_1_GNSSMEASUREMENT_H
|