blob: c8edf7222fd716a4bfb71b18712288f45cb2735c [file] [log] [blame]
#pragma once
#include "aidl/android/hardware/gnss/IGnss.h"
#include <android/binder_ibinder.h>
namespace aidl {
namespace android {
namespace hardware {
namespace gnss {
class BpGnss : public ::ndk::BpCInterface<IGnss> {
public:
explicit BpGnss(const ::ndk::SpAIBinder& binder);
virtual ~BpGnss();
::ndk::ScopedAStatus setCallback(const std::shared_ptr<::aidl::android::hardware::gnss::IGnssCallback>& in_callback) override;
::ndk::ScopedAStatus close() override;
::ndk::ScopedAStatus getExtensionPsds(std::shared_ptr<::aidl::android::hardware::gnss::IGnssPsds>* _aidl_return) override;
::ndk::ScopedAStatus getExtensionGnssConfiguration(std::shared_ptr<::aidl::android::hardware::gnss::IGnssConfiguration>* _aidl_return) override;
::ndk::ScopedAStatus getExtensionGnssMeasurement(std::shared_ptr<::aidl::android::hardware::gnss::IGnssMeasurementInterface>* _aidl_return) override;
::ndk::ScopedAStatus getExtensionGnssPowerIndication(std::shared_ptr<::aidl::android::hardware::gnss::IGnssPowerIndication>* _aidl_return) override;
::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override;
::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override;
int32_t _aidl_cached_version = -1;
std::string _aidl_cached_hash = "-1";
std::mutex _aidl_cached_hash_mutex;
};
} // namespace gnss
} // namespace hardware
} // namespace android
} // namespace aidl