Home
last modified time | relevance | path

Searched refs:mIoBuffer (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawDevice.cpp200 if (mIoBuffer.size() < size) { in getFeature()
201 mIoBuffer.resize(size); in getFeature()
203 mIoBuffer[0] = id; in getFeature()
204 int res = ::ioctl(mDevFd, HIDIOCGFEATURE(size), mIoBuffer.data()); in getFeature()
216 if (mIoBuffer.front() != id) { in getFeature()
218 << " result has header " << mIoBuffer.front() << LOG_ENDL; in getFeature()
221 std::copy(mIoBuffer.begin() + 1, mIoBuffer.begin() + size, out->begin()); in getFeature()
245 if (mIoBuffer.size() < size) { in setFeature()
246 mIoBuffer.resize(size); in setFeature()
248 mIoBuffer[0] = id; in setFeature()
[all …]
DHidRawDevice.h70 std::vector<uint8_t> mIoBuffer; variable