Searched refs:inst_id (Results 1 - 22 of 22) sorted by relevance

/system/bt/stack/btm/
H A Dbtm_ble_multi_adv.c67 void btm_ble_multi_adv_enq_op_q(UINT8 opcode, UINT8 inst_id, UINT8 cb_evt) argument
71 p_op_q->p_inst_id[p_op_q->next_idx] = inst_id;
113 UINT8 *p = p_params->p_param_buf, inst_id; local
127 btm_ble_multi_adv_deq_op_q(&opcode, &inst_id, &cb_evt);
129 BTM_TRACE_DEBUG("op_code = %02x inst_id = %d cb_evt = %02x", opcode, inst_id, cb_evt);
131 if (opcode != subcode || inst_id == 0)
137 p_inst = &btm_multi_adv_cb.p_adv_inst[inst_id - 1];
147 btm_multi_adv_cb.p_adv_inst[inst_id-1].in_use = FALSE;
181 (p_inst->p_cback)(cb_evt, inst_id, p_ins
198 btm_ble_enable_multi_adv(BOOLEAN enable, UINT8 inst_id, UINT8 cb_evt) argument
486 btm_ble_multi_adv_reenable(UINT8 inst_id) argument
614 BTM_BleUpdateAdvInstParam(UINT8 inst_id, tBTM_BLE_ADV_PARAMS *p_params) argument
660 BTM_BleCfgAdvInstData(UINT8 inst_id, BOOLEAN is_scan_rsp, tBTM_BLE_AD_MASK data_mask, tBTM_BLE_ADV_DATA *p_data) argument
716 BTM_BleDisableAdvInstance(UINT8 inst_id) argument
880 btm_ble_multi_adv_get_ref(UINT8 inst_id) argument
[all...]
H A Dbtm_ble_int.h460 extern void* btm_ble_multi_adv_get_ref(UINT8 inst_id);
462 extern void btm_ble_multi_adv_reenable(UINT8 inst_id);
/system/bt/btif/include/
H A Dbtif_gatt_multi_adv_util.h76 extern int btif_multi_adv_add_instid_map(int client_if, int inst_id,
81 extern void btif_gattc_cleanup_inst_cb(int inst_id, BOOLEAN stop_timer);
/system/bt/bta/gatt/
H A Dbta_gattc_cache.c84 p_cur_srvc->service_uuid.id.inst_id);
92 j + 1, p_attr->attr_handle, p_attr->p_uuid->uuid16, p_attr->inst_id,
323 p_new_srvc->service_uuid.id.inst_id = srvc_inst;
402 p_attr->inst_id = bta_gattc_get_char_inst_id(p_srvc_cb->p_cur_srvc, p_uuid);
406 p_attr->inst_id = bta_gattc_get_char_descr_inst_id(p_srvc_cb->p_cur_srvc->p_cur_char, p_uuid);
408 p_attr->inst_id = 0;
1081 p_cache->service_uuid.id.inst_id);
1092 p_attr->inst_id, p_attr->attr_type);
1097 p_char_id->inst_id == p_attr->inst_id)
[all...]
H A Dbta_gattc_utils.c493 p_des->inst_id = p_src->inst_id;
517 if (p_src->inst_id == p_tar->inst_id &&
H A Dbta_gattc_int.h259 UINT8 inst_id; member in struct:gattc_attr_cache
/system/bt/bta/include/
H A Dbta_hh_co.h34 UINT8 inst_id; member in struct:__anon418
H A Dbta_api.h958 UINT8 inst_id, void *p_ref, tBTA_STATUS status);
2123 ** Parameters inst_id Instance ID
2129 extern void BTA_BleUpdateAdvInstParam (UINT8 inst_id,
2138 ** Parameters inst_id - Instance ID
2144 extern void BTA_BleCfgAdvInstData (UINT8 inst_id, BOOLEAN is_scan_rsp,
2153 ** Parameters inst_id - Instance ID to be disabled
2158 extern void BTA_BleDisableAdvInstance(UINT8 inst_id);
H A Dbta_gatt_api.h56 UINT8 inst_id; /* instance ID */ member in struct:__anon348
/system/bt/stack/srvc/
H A Dsrvc_battery_int.h52 UINT8 inst_id; member in struct:__anon1285
H A Dsrvc_battery.c206 if (battery_cb.inst_id == BA_MAX_INT_NUM)
212 p_inst = &battery_cb.battery_inst[battery_cb.inst_id];
216 battery_cb.inst_id ,
226 battery_cb.inst_id ++;
292 battery_cb.inst_id --;
294 GATTS_DeleteService(srvc_eng_cb.gatt_if, &uuid, battery_cb.inst_id);
/system/bt/btif/src/
H A Dbtif_gatt_util.c113 p_dest->inst_id = p_src->inst_id;
119 p_dest->id.inst_id = p_src->id.inst_id;
204 p_dest->inst_id = p_src->inst_id;
210 p_dest->id.inst_id = p_src->id.inst_id;
H A Dbtif_gatt_multi_adv_util.c64 /* Storing both client_if and inst_id details */
107 int btif_multi_adv_add_instid_map(int client_if, int inst_id, BOOLEAN gen_temp_instid) argument
121 // Write the final inst_id value obtained from stack layer
122 p_multi_adv_data_cb->clntif_map[i + (i + 1)] = inst_id;
129 //Store the passed in inst_id value
130 if (inst_id != INVALID_ADV_INST)
131 p_multi_adv_data_cb->clntif_map[i + (i + 1)] = inst_id;
151 if (inst_id != INVALID_ADV_INST)
152 p_multi_adv_data_cb->clntif_map[i + (i + 1)] = inst_id;
177 // Retrieve the existing inst_id fo
512 btif_gattc_cleanup_inst_cb(int inst_id, BOOLEAN stop_timer) argument
613 int inst_id = btif_multi_adv_instid_for_clientif(client_if); local
[all...]
H A Dbtif_gatt_client.c183 uint8_t inst_id; member in struct:__anon659
679 if (0xFF != p_btif_cb->inst_id)
680 btif_multi_adv_add_instid_map(p_btif_cb->client_if, p_btif_cb->inst_id, false);
860 static void bta_gattc_multi_adv_cback(tBTA_BLE_MULTI_ADV_EVT event, UINT8 inst_id, argument
876 BTIF_TRACE_DEBUG("%s -Inst ID %d, Status:%x, client_if:%d",__FUNCTION__,inst_id, call_status,
880 btif_cb.inst_id = inst_id;
1645 int inst_id = btif_multi_adv_instid_for_clientif(p_inst_cb->client_if); local
1647 if (inst_id >= 0 && cbindex >= 0 && NULL != p_inst_cb)
1652 BTA_BleUpdateAdvInstParam((UINT8)inst_id,
1664 int inst_id = btif_multi_adv_instid_for_clientif(p_adv_data->client_if); local
1688 int inst_id = btif_multi_adv_instid_for_clientif(p_inst_cb->client_if); local
[all...]
H A Dbtif_gatt_server.c218 srvc_id.id.inst_id = p_data->create.svc_instance;
448 srvc_id.id.inst_id, p_cb->num_handles,
/system/bt/bta/hh/
H A Dbta_hh_le.c142 APPL_TRACE_DEBUG("\t\t [%s- 0x%04x] [Type: %s], [ReportID: %d] [inst_id: %d] [Clt_cfg: %d]",
147 p_rpt->inst_id,
354 void bta_hh_le_fill_16bits_gatt_id(UINT8 inst_id, UINT16 uuid, tBTA_GATT_ID *p_output) argument
356 p_output->inst_id = inst_id;
369 void bta_hh_le_fill_16bits_srvc_id(BOOLEAN is_pri, UINT8 inst_id, UINT16 srvc_uuid, argument
374 bta_hh_le_fill_16bits_gatt_id(inst_id, srvc_uuid, &p_output->id);
386 void bta_hh_le_fill_16bits_char_id(UINT8 inst_id, UINT16 char_uuid, argument
390 bta_hh_le_fill_16bits_gatt_id(inst_id, char_uuid, p_output);
486 p_rpt->inst_id
541 bta_hh_le_find_alloc_report_entry(tBTA_HH_DEV_CB *p_cb, UINT8 srvc_inst_id, UINT16 rpt_uuid, UINT8 inst_id, UINT8 prop) argument
[all...]
H A Dbta_hh_int.h194 UINT8 inst_id; /* share service instance ID and report instance ID, as member in struct:__anon221
/system/bt/bta/dm/
H A Dbta_dm_api.c1567 ** Parameters inst_id: Adv instance to update the parameter.
1573 void BTA_BleUpdateAdvInstParam (UINT8 inst_id, tBTA_BLE_ADV_PARAMS *p_params) argument
1583 p_msg->inst_id = inst_id;
1598 ** Parameter inst_id: Adv instance to configure the adv data or scan response.
1608 void BTA_BleCfgAdvInstData (UINT8 inst_id, BOOLEAN is_scan_rsp, argument
1621 p_msg->inst_id = inst_id;
1636 ** Parameter inst_id: instance ID to disable.
1641 void BTA_BleDisableAdvInstance (UINT8 inst_id) argument
[all...]
H A Dbta_dm_act.c4959 if(BTM_BleMaxMultiAdvInstanceCount() > 0 && p_data->ble_multi_adv_param.inst_id > 0
4960 && p_data->ble_multi_adv_param.inst_id < BTM_BleMaxMultiAdvInstanceCount())
4962 btm_status = BTM_BleUpdateAdvInstParam(p_data->ble_multi_adv_param.inst_id,
4968 p_ref = btm_ble_multi_adv_get_ref(p_data->ble_multi_adv_param.inst_id);
4970 p_data->ble_multi_adv_param.inst_id, p_ref, BTA_FAILURE);
4988 if(BTM_BleMaxMultiAdvInstanceCount() > 0 && p_data->ble_multi_adv_data.inst_id > 0
4989 && p_data->ble_multi_adv_data.inst_id < BTM_BleMaxMultiAdvInstanceCount())
4991 btm_status = BTM_BleCfgAdvInstData(p_data->ble_multi_adv_data.inst_id,
4999 p_ref = btm_ble_multi_adv_get_ref(p_data->ble_multi_adv_data.inst_id);
5001 p_data->ble_multi_adv_data.inst_id, p_re
[all...]
H A Dbta_dm_int.h521 UINT8 inst_id; member in struct:__anon114
528 UINT8 inst_id; member in struct:__anon115
537 UINT8 inst_id; member in struct:__anon116
/system/bt/test/suite/cases/
H A Dgatt.c93 srvc_id.id.inst_id = 0; // there is only one instance of this service.
/system/bt/stack/include/
H A Dbtm_ble_api.h489 typedef void (tBTM_BLE_MULTI_ADV_CBACK)(tBTM_BLE_MULTI_ADV_EVT evt, UINT8 inst_id,
494 UINT8 inst_id; member in struct:__anon1062
1731 ** Parameters inst_id: adv instance ID
1737 extern tBTM_STATUS BTM_BleUpdateAdvInstParam (UINT8 inst_id, tBTM_BLE_ADV_PARAMS *p_params);
1746 ** Parameters inst_id: adv instance ID
1754 extern tBTM_STATUS BTM_BleCfgAdvInstData (UINT8 inst_id, BOOLEAN is_scan_rsp,
1764 ** Parameters inst_id: adv instance ID
1769 extern tBTM_STATUS BTM_BleDisableAdvInstance (UINT8 inst_id);

Completed in 981 milliseconds