blob: 0704e7f57796aa6f6fea98648f2d3ce668075095 [file] [log] [blame]
Hridya Valsarajub5fbbfe2016-11-02 09:57:55 -07001#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
Iliyan Malchev2dd67a42017-04-14 00:17:50 -07007#include <binder/ProcessState.h>
8
Hridya Valsarajub5fbbfe2016-11-02 09:57:55 -07009using android::hardware::gnss::V1_0::IGnss;
10using android::hardware::defaultPassthroughServiceImplementation;
11
12int main() {
Iliyan Malchev2dd67a42017-04-14 00:17:50 -070013 // The GNSS HAL may communicate to other vendor components via
14 // /dev/vndbinder
15 android::ProcessState::initWithDriver("/dev/vndbinder");
Chris Phoenixab5c1e12017-01-23 15:14:08 -080016 return defaultPassthroughServiceImplementation<IGnss>();
Hridya Valsarajub5fbbfe2016-11-02 09:57:55 -070017}