Loading sensors/common/default/2.X/multihal/HalProxy.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ Return<void> HalProxy::configDirectReport(int32_t sensorHandle, int32_t channelH return Return<void>(); } Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& /*args*/) { Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& args) { if (fd.getNativeHandle() == nullptr || fd->numFds < 1) { ALOGE("%s: missing fd for writing", __FUNCTION__); return Void(); Loading Loading @@ -385,7 +385,7 @@ Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& stream << " Name: " << subHal->getName() << std::endl; stream << " Debug dump: " << std::endl; android::base::WriteStringToFd(stream.str(), writeFd); subHal->debug(fd, {}); subHal->debug(fd, args); stream.str(""); stream << std::endl; } Loading Loading
sensors/common/default/2.X/multihal/HalProxy.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ Return<void> HalProxy::configDirectReport(int32_t sensorHandle, int32_t channelH return Return<void>(); } Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& /*args*/) { Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& args) { if (fd.getNativeHandle() == nullptr || fd->numFds < 1) { ALOGE("%s: missing fd for writing", __FUNCTION__); return Void(); Loading Loading @@ -385,7 +385,7 @@ Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& stream << " Name: " << subHal->getName() << std::endl; stream << " Debug dump: " << std::endl; android::base::WriteStringToFd(stream.str(), writeFd); subHal->debug(fd, {}); subHal->debug(fd, args); stream.str(""); stream << std::endl; } Loading