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.cpp268 const struct uhid_set_report_req& set_report = ev.u.set_report; in handleEvents() local
269 if (set_report.size > UHID_DATA_MAX) { in handleEvents()
270 ALOGE("SET_REPORT contains too much data: size = %" PRIu16, set_report.size); in handleEvents()
274 std::vector<uint8_t> data(set_report.data, set_report.data + set_report.size); in handleEvents()
276 ALOGD("Received SET_REPORT: id=%" PRIu32 " rnum=%" PRIu8 " data=%s", set_report.id, in handleEvents()
277 set_report.rnum, toString(data).c_str()); in handleEvents()
279 mDeviceCallback->onDeviceSetReport(set_report.id, set_report.rtype, data); in handleEvents()