Home | History | Annotate | Download | only in hh

Lines Matching defs:xx

65     UINT8 xx;
68 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++)
71 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) &&
75 APPL_TRACE_DEBUG("found kdev_cb[%d] hid_handle = %d ", xx,
76 bta_hh_cb.kdev[xx].hid_handle)
78 return xx;
83 bta_hh_cb.kdev[xx].in_use, xx,
84 bta_hh_cb.kdev[xx].hid_handle,
85 bta_hh_cb.kdev[xx].state);
90 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++)
92 if (!bta_hh_cb.kdev[xx].in_use)
94 bdcpy(bta_hh_cb.kdev[xx].addr, bda);
101 xx, BTA_HH_MAX_DEVICE);
104 if (xx == BTA_HH_MAX_DEVICE)
105 xx = BTA_HH_IDX_INVALID;
107 return xx;
228 UINT8 xx;
231 for (xx = 0 ; xx < p_bta_hh_cfg->max_devt_spt; xx ++)
233 if (cod == (UINT8) p_bta_hh_cfg->p_devt_list[xx].tod)
235 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id;
265 UINT16 xx, yy, key_idx = 0;
287 for (xx = 0; xx < BTA_HH_MOD_MAX_KEY; xx ++ )
289 if (ctl_shift & bta_hh_mod_key_mask[xx])
291 APPL_TRACE_DEBUG("Mod Key[%02x] pressed", bta_hh_mod_key_mask[xx] );
292 p_kb->mod_key[xx] = TRUE;
294 else if (p_kb->mod_key[xx])
296 p_kb->mod_key[xx] = FALSE;
299 p_data->mod_key[xx] = p_kb->mod_key[xx];
305 for (xx = 0; xx < report_len; xx++)
309 if (this_report[xx] == p_kb->last_report[yy])
311 this_report[xx] = 0;
318 for (xx = 0; xx < report_len; xx++)
321 APPL_TRACE_DEBUG("this_char = %02x", this_report[xx]);
323 if ((this_char = this_report[xx]) == 0)
326 if (this_report[xx] == BTA_HH_KB_CAPS_LOCK)
328 else if (this_report[xx] == BTA_HH_KB_NUM_LOCK)
334 APPL_TRACE_DEBUG("found keycode %02x ", this_report[xx]);
360 UINT8 xx;
373 for (xx = 0; xx < report_len; xx++)
375 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]);
463 UINT8 xx;
465 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) {
466 osi_free_and_reset((void **)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list);
519 UINT8 xx;
523 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++)
525 APPL_TRACE_DEBUG("kdev[%d] in_use[%d] handle[%d] ",xx,
526 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle);
529 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state,
530 bta_hh_cb.kdev[xx].sub_class, bta_hh_cb.kdev[xx].index);