Loading system/stack/hid/hidh_api.cc +7 −6 Original line number Diff line number Diff line Loading @@ -417,11 +417,12 @@ tHID_STATUS HID_HostOpenDev(uint8_t dev_handle) { if (!hh_cb.reg_flag) return (HID_ERR_NOT_REGISTERED); if ((dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use)) (!hh_cb.devices[dev_handle].in_use)) { log_counter_metrics(android::bluetooth::CodePathCounterKeyEnum:: HIDH_ERR_INVALID_PARAM_AT_HOST_OPEN_DEV, 1); return HID_ERR_INVALID_PARAM; } if (hh_cb.devices[dev_handle].state != HID_DEV_NO_CONN) { log_counter_metrics( Loading Loading
system/stack/hid/hidh_api.cc +7 −6 Original line number Diff line number Diff line Loading @@ -417,11 +417,12 @@ tHID_STATUS HID_HostOpenDev(uint8_t dev_handle) { if (!hh_cb.reg_flag) return (HID_ERR_NOT_REGISTERED); if ((dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use)) (!hh_cb.devices[dev_handle].in_use)) { log_counter_metrics(android::bluetooth::CodePathCounterKeyEnum:: HIDH_ERR_INVALID_PARAM_AT_HOST_OPEN_DEV, 1); return HID_ERR_INVALID_PARAM; } if (hh_cb.devices[dev_handle].state != HID_DEV_NO_CONN) { log_counter_metrics( Loading