Lines Matching refs:xx

60   uint8_t xx;  in bta_hh_find_cb()  local
63 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_find_cb()
65 if ((bda == bta_hh_cb.kdev[xx].addr && !bda.IsEmpty())) { in bta_hh_find_cb()
67 APPL_TRACE_DEBUG("found kdev_cb[%d] hid_handle = %d ", xx, in bta_hh_find_cb()
68 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
70 return xx; in bta_hh_find_cb()
75 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb()
76 bta_hh_cb.kdev[xx].hid_handle, bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
81 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_find_cb()
82 if (!bta_hh_cb.kdev[xx].in_use) { in bta_hh_find_cb()
83 bta_hh_cb.kdev[xx].addr = bda; in bta_hh_find_cb()
89 APPL_TRACE_DEBUG("bta_hh_find_cb:: index = %d while max = %d", xx, in bta_hh_find_cb()
93 if (xx == BTA_HH_MAX_DEVICE) xx = BTA_HH_IDX_INVALID; in bta_hh_find_cb()
95 return xx; in bta_hh_find_cb()
213 uint8_t xx; in bta_hh_tod_spt() local
216 for (xx = 0; xx < p_bta_hh_cfg->max_devt_spt; xx++) { in bta_hh_tod_spt()
217 if (cod == (uint8_t)p_bta_hh_cfg->p_devt_list[xx].tod) { in bta_hh_tod_spt()
218 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id; in bta_hh_tod_spt()
246 uint16_t xx, yy, key_idx = 0; in bta_hh_parse_keybd_rpt() local
266 for (xx = 0; xx < BTA_HH_MOD_MAX_KEY; xx++) { in bta_hh_parse_keybd_rpt()
267 if (ctl_shift & bta_hh_mod_key_mask[xx]) { in bta_hh_parse_keybd_rpt()
268 APPL_TRACE_DEBUG("Mod Key[%02x] pressed", bta_hh_mod_key_mask[xx]); in bta_hh_parse_keybd_rpt()
269 p_kb->mod_key[xx] = true; in bta_hh_parse_keybd_rpt()
270 } else if (p_kb->mod_key[xx]) { in bta_hh_parse_keybd_rpt()
271 p_kb->mod_key[xx] = false; in bta_hh_parse_keybd_rpt()
274 p_data->mod_key[xx] = p_kb->mod_key[xx]; in bta_hh_parse_keybd_rpt()
280 for (xx = 0; xx < report_len; xx++) { in bta_hh_parse_keybd_rpt()
282 if (this_report[xx] == p_kb->last_report[yy]) { in bta_hh_parse_keybd_rpt()
283 this_report[xx] = 0; in bta_hh_parse_keybd_rpt()
290 for (xx = 0; xx < report_len; xx++) { in bta_hh_parse_keybd_rpt()
292 APPL_TRACE_DEBUG("this_char = %02x", this_report[xx]); in bta_hh_parse_keybd_rpt()
294 this_char = this_report[xx]; in bta_hh_parse_keybd_rpt()
297 if (this_report[xx] == BTA_HH_KB_CAPS_LOCK) in bta_hh_parse_keybd_rpt()
299 else if (this_report[xx] == BTA_HH_KB_NUM_LOCK) in bta_hh_parse_keybd_rpt()
305 APPL_TRACE_DEBUG("found keycode %02x ", this_report[xx]); in bta_hh_parse_keybd_rpt()
330 uint8_t xx; in bta_hh_parse_mice_rpt() local
343 for (xx = 0; xx < report_len; xx++) { in bta_hh_parse_mice_rpt()
344 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt()
438 uint8_t xx; in bta_hh_cleanup_disable() local
440 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_cleanup_disable()
442 (void**)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list); in bta_hh_cleanup_disable()
501 uint8_t xx; in bta_hh_trace_dev_db() local
505 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_trace_dev_db()
506 APPL_TRACE_DEBUG("kdev[%d] in_use[%d] handle[%d] ", xx, in bta_hh_trace_dev_db()
507 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
511 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
512 bta_hh_cb.kdev[xx].sub_class, bta_hh_cb.kdev[xx].index); in bta_hh_trace_dev_db()