Loading sensors/1.0/default/service.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -23,5 +23,5 @@ using android::hardware::sensors::V1_0::ISensors; using android::hardware::defaultPassthroughServiceImplementation; int main() { return defaultPassthroughServiceImplementation<ISensors>("sensors"); return defaultPassthroughServiceImplementation<ISensors>(); } sensors/1.0/vts/functional/sensors_hidl_hal_test.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -41,8 +41,6 @@ using ::android::hardware::hidl_string; using ::android::sp; using namespace ::android::hardware::sensors::V1_0; #define SENSORS_SERVICE_NAME "sensors" // Test environment for sensors class SensorsHidlEnvironment : public ::testing::Environment { public: Loading Loading @@ -82,7 +80,7 @@ class SensorsHidlEnvironment : public ::testing::Environment { }; void SensorsHidlEnvironment::SetUp() { sensors = ISensors::getService(SENSORS_SERVICE_NAME, false); sensors = ISensors::getService(false); ALOGI_IF(sensors, "sensors is not nullptr, %p", sensors.get()); ASSERT_NE(sensors, nullptr); Loading Loading
sensors/1.0/default/service.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -23,5 +23,5 @@ using android::hardware::sensors::V1_0::ISensors; using android::hardware::defaultPassthroughServiceImplementation; int main() { return defaultPassthroughServiceImplementation<ISensors>("sensors"); return defaultPassthroughServiceImplementation<ISensors>(); }
sensors/1.0/vts/functional/sensors_hidl_hal_test.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -41,8 +41,6 @@ using ::android::hardware::hidl_string; using ::android::sp; using namespace ::android::hardware::sensors::V1_0; #define SENSORS_SERVICE_NAME "sensors" // Test environment for sensors class SensorsHidlEnvironment : public ::testing::Environment { public: Loading Loading @@ -82,7 +80,7 @@ class SensorsHidlEnvironment : public ::testing::Environment { }; void SensorsHidlEnvironment::SetUp() { sensors = ISensors::getService(SENSORS_SERVICE_NAME, false); sensors = ISensors::getService(false); ALOGI_IF(sensors, "sensors is not nullptr, %p", sensors.get()); ASSERT_NE(sensors, nullptr); Loading