Searched defs:service_id (Results 1 - 15 of 15) sorted by relevance

/system/bt/bta/gatt/
H A Dbta_gatts_utils.c132 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) argument
135 APPL_TRACE_DEBUG("bta_gatts_find_srvc_cb_by_srvc_id service_id=%d", service_id);
139 p_cb->srvc_cb[i].service_id == service_id)
166 attr_id >= p_cb->srvc_cb[i].service_id &&
167 attr_id < p_cb->srvc_cb[i + 1].service_id) ||
172 attr_id >= p_cb->srvc_cb[i].service_id) ||
175 attr_id >= p_cb->srvc_cb[i].service_id)
H A Dbta_gatts_act.c348 UINT16 service_id = 0; local
361 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if,
367 if (service_id != 0)
371 p_cb->srvc_cb[srvc_idx].service_id = service_id;
376 cb_data.create.service_id = service_id;
420 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific;
455 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific;
493 cb_data.add_result.service_id
[all...]
H A Dbta_gatts_api.c184 ** Parameters service_id: service ID to which this included service is to
191 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) argument
201 p_buf->hdr.layer_specific = service_id;
215 ** Parameters service_id: service ID to which this included service is to
224 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, argument
234 p_buf->hdr.layer_specific = service_id;
255 ** Parameters service_id: service ID to which this charatceristic descriptor is to
263 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, argument
276 p_buf->hdr.layer_specific = service_id;
296 ** Parameters service_id
301 BTA_GATTS_DeleteService(UINT16 service_id) argument
329 BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport) argument
356 BTA_GATTS_StopService(UINT16 service_id) argument
[all...]
H A Dbta_gatts_int.h193 UINT16 service_id; /* service handle */ member in struct:__anon191
255 extern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id);
/system/bt/stack/hid/
H A Dhidh_conn.c1007 UINT8 service_id = BTM_SEC_SERVICE_HIDH_NOSEC_CTRL; local
1024 service_id = BTM_SEC_SERVICE_HIDH_SEC_CTRL;
1027 BTM_SetOutService (p_dev->addr, service_id, mx_chan_id);
/system/bt/stack/gap/
H A Dgap_conn.c100 ** service_id - Unique service ID from
123 UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server, argument
190 p_ccb->service_id = service_id;
192 p_ccb->service_id, security, p_ccb->psm, 0, 0))
1182 UINT8 service_id = p_ccb->service_id; local
1203 BTM_SecClrService(service_id);
H A Dgap_int.h67 UINT8 service_id; /* Used by BTM */ member in struct:__anon853
/system/bt/btif/src/
H A Dbtif_core.c1256 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id) argument
1258 tBTA_SERVICE_ID *p_id = &service_id;
1266 btif_enabled_services |= (1 << service_id);
1290 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id) argument
1292 tBTA_SERVICE_ID *p_id = &service_id;
1296 * be triggerred. Otherwise, we just need to clear the service_id in the mask
1299 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1<<service_id));
H A Dbtif_dm.c255 bt_status_t btif_in_execute_service_request(tBTA_SERVICE_ID service_id, argument
258 BTIF_TRACE_DEBUG("%s service_id: %d", __FUNCTION__, service_id);
260 switch (service_id)
/system/bt/stack/btm/
H A Dbtm_inq.c2565 UINT8 service_id; local
2567 service_id = btm_convert_uuid_to_eir_service(uuid16);
2568 if( service_id < BTM_EIR_MAX_SERVICES )
2569 return( BTM_EIR_HAS_SERVICE( p_eir_uuid, service_id ));
2616 UINT8 service_id; local
2618 service_id = btm_convert_uuid_to_eir_service(uuid16);
2619 if( service_id < BTM_EIR_MAX_SERVICES )
2620 BTM_EIR_SET_SERVICE( p_eir_uuid, service_id );
2637 UINT8 service_id; local
2639 service_id
[all...]
H A Dbtm_sec.c93 static BOOLEAN btm_sec_set_security_level ( CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id,
212 if(BTM_SEC_IS_SERVICE_TRUSTED(p_dev_rec->trusted_mask, p_serv_rec->service_id))
468 ** service_id - service ID for the service passed to authorization callback
477 BOOLEAN BTM_SetSecurityLevel (BOOLEAN is_originator, char *p_name, UINT8 service_id, argument
489 return(btm_sec_set_security_level (conn_type, p_name, service_id,
492 return(btm_sec_set_security_level (is_originator, p_name, service_id,
507 ** service_id - service ID for the service passed to authorization callback
516 static BOOLEAN btm_sec_set_security_level (CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id, argument
548 service_id, and mx_chan_id), or obtain the next unused record */
561 service_id
746 BTM_SecClrService(UINT8 service_id) argument
1976 BTM_SetOutService(BD_ADDR bd_addr, UINT8 service_id, UINT32 mx_chan_id) argument
5619 UINT8 service_id; local
[all...]
H A Dbtm_int.h433 UINT8 service_id; /* Passed in authorization callback */ member in struct:__anon833
/system/bt/bta/include/
H A Dbta_ag_api.h280 tBTA_SERVICE_ID service_id; member in struct:__anon265
H A Dbta_gatt_api.h556 UINT16 service_id; member in struct:__anon380
568 UINT16 service_id; member in struct:__anon381
579 UINT16 service_id; member in struct:__anon382
1211 ** Parameters service_id: service ID to which this included service is to
1218 extern void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id);
1226 ** Parameters service_id: service ID to which this included service is to
1235 extern void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid,
1246 ** Parameters service_id: service ID to which this charatceristic descriptor is to
1255 extern void BTA_GATTS_AddCharDescriptor (UINT16 service_id,
1266 ** Parameters service_id
[all...]
/system/bt/bta/dm/
H A Dbta_dm_act.c56 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator);
2648 UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator)
2664 sec_event.authorize.service = service_id;
2670 if(bta_service_id_to_btm_srv_id_lkup_tbl[index] == service_id)
2683 || (service_id >= BTA_FIRST_JV_SERVICE_ID && service_id <= BTA_LAST_JV_SERVICE_ID)
5461 static void bta_dm_gatt_disc_result(tBTA_GATT_ID service_id) argument
5474 service_id.uuid.uu.uuid16,bta_dm_search_cb.p_ble_rawdata,bta_dm_search_cb.ble_raw_used);
5478 memcpy((bta_dm_search_cb.p_ble_rawdata + bta_dm_search_cb.ble_raw_used), &service_id,
5479 sizeof(service_id) );
2647 bta_dm_authorize_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator) argument
[all...]

Completed in 217 milliseconds