1 #define LOG_TAG "[email protected]" 2 3 #include <android/hardware/gnss/1.0/IGnss.h> 4 5 #include <hidl/LegacySupport.h> 6 7 #include <binder/ProcessState.h> 8 9 using android::hardware::gnss::V1_0::IGnss; 10 using android::hardware::defaultPassthroughServiceImplementation; 11 main()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 } 18