Home
last modified time | relevance | path

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

/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp263 const struct uhid_set_report_req& set_report = ev.u.set_report; in handleEvents() local
264 if (set_report.size > UHID_DATA_MAX) { in handleEvents()
265 ALOGE("SET_REPORT contains too much data: size = %" PRIu16, set_report.size); in handleEvents()
269 std::vector<uint8_t> data(set_report.data, set_report.data + set_report.size); in handleEvents()
271 ALOGD("Received SET_REPORT: id=%" PRIu32 " rnum=%" PRIu8 " data=%s", set_report.id, in handleEvents()
272 set_report.rnum, toString(data).c_str()); in handleEvents()
274 mDeviceCallback->onDeviceSetReport(set_report.rtype, data); in handleEvents()