Loading gnss/1.0/default/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ LOCAL_SHARED_LIBRARIES := \ libutils \ libhardware_legacy \ libhardware \ libbinder \ LOCAL_SHARED_LIBRARIES += \ libhidlbase \ Loading gnss/1.0/default/service.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -4,9 +4,14 @@ #include <hidl/LegacySupport.h> #include <binder/ProcessState.h> using android::hardware::gnss::V1_0::IGnss; using android::hardware::defaultPassthroughServiceImplementation; int main() { // The GNSS HAL may communicate to other vendor components via // /dev/vndbinder android::ProcessState::initWithDriver("/dev/vndbinder"); return defaultPassthroughServiceImplementation<IGnss>(); } Loading
gnss/1.0/default/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ LOCAL_SHARED_LIBRARIES := \ libutils \ libhardware_legacy \ libhardware \ libbinder \ LOCAL_SHARED_LIBRARIES += \ libhidlbase \ Loading
gnss/1.0/default/service.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -4,9 +4,14 @@ #include <hidl/LegacySupport.h> #include <binder/ProcessState.h> using android::hardware::gnss::V1_0::IGnss; using android::hardware::defaultPassthroughServiceImplementation; int main() { // The GNSS HAL may communicate to other vendor components via // /dev/vndbinder android::ProcessState::initWithDriver("/dev/vndbinder"); return defaultPassthroughServiceImplementation<IGnss>(); }