Lines Matching refs:jv_handle
97 static tBTA_JV_STATUS bta_jv_free_set_pm_profile_cb(UINT32 jv_handle);
435 static tBTA_JV_STATUS bta_jv_free_set_pm_profile_cb(UINT32 jv_handle) in bta_jv_free_set_pm_profile_cb() argument
445 (jv_handle == bta_jv_cb.pm_cb[i].handle)) in bta_jv_free_set_pm_profile_cb()
456 "app_id: 0x%x",__func__, jv_handle, i, bta_jv_cb.pm_cb[i].app_id); in bta_jv_free_set_pm_profile_cb()
473 if (BTA_JV_RFCOMM_MASK & jv_handle) in bta_jv_free_set_pm_profile_cb()
475 UINT32 hi = ((jv_handle & BTA_JV_RFC_HDL_MASK) & ~BTA_JV_RFCOMM_MASK) - 1; in bta_jv_free_set_pm_profile_cb()
476 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(jv_handle); in bta_jv_free_set_pm_profile_cb()
486 "pm_cb?", __func__, jv_handle, p_pcb->port_handle, i); in bta_jv_free_set_pm_profile_cb()
493 if (jv_handle < BTA_JV_MAX_L2C_CONN) in bta_jv_free_set_pm_profile_cb()
495 tBTA_JV_L2C_CB *p_l2c_cb = &bta_jv_cb.l2c_cb[jv_handle]; in bta_jv_free_set_pm_profile_cb()
498 "0x%x): p_pm_cb: %d: no link to pm_cb?", __func__, jv_handle, i); in bta_jv_free_set_pm_profile_cb()
521 static tBTA_JV_PM_CB *bta_jv_alloc_set_pm_profile_cb(UINT32 jv_handle, tBTA_JV_PM_ID app_id) in bta_jv_alloc_set_pm_profile_cb() argument
523 BOOLEAN bRfcHandle = (jv_handle & BTA_JV_RFCOMM_MASK) != 0; in bta_jv_alloc_set_pm_profile_cb()
538 if (jv_handle == bta_jv_cb.port_cb[j].handle) in bta_jv_alloc_set_pm_profile_cb()
553 if (jv_handle == bta_jv_cb.l2c_cb[j].handle) in bta_jv_alloc_set_pm_profile_cb()
556 UINT8 *p_bd_addr = GAP_ConnGetRemoteAddr((UINT16)jv_handle); in bta_jv_alloc_set_pm_profile_cb()
566 "idx: %d, (BTA_JV_PM_MAX_NUM: %d), pp_cb: 0x%x", jv_handle, app_id, in bta_jv_alloc_set_pm_profile_cb()
575 bta_jv_cb.pm_cb[i].handle = jv_handle; in bta_jv_alloc_set_pm_profile_cb()
582 "return NULL", jv_handle, app_id); in bta_jv_alloc_set_pm_profile_cb()