blob: bdb84cb1491a5817401cf05cb57e4fb237d34c50 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#define LOG_TAG "vendor.mediatek.hardware.gnss@1.1-service"
2
3#include <android/hardware/gnss/1.1/IGnss.h>
4
5#include <hidl/LegacySupport.h>
6
7#include <binder/ProcessState.h>
8
9using android::hardware::gnss::V1_1::IGnss;
10using android::hardware::defaultPassthroughServiceImplementation;
11
12int main() {
13 // The GNSS HAL may communicate to other vendor components via
14 // /dev/vndbinder
15 android::ProcessState::initWithDriver("/dev/vndbinder");
16 return defaultPassthroughServiceImplementation<IGnss>();
17}