blob: 0704e7f57796aa6f6fea98648f2d3ce668075095 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#define LOG_TAG "android.hardware.gnss@1.0-service"
2
3#include <android/hardware/gnss/1.0/IGnss.h>
4
5#include <hidl/LegacySupport.h>
6
7#include <binder/ProcessState.h>
8
9using android::hardware::gnss::V1_0::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}