Home
last modified time | relevance | path

Searched refs:service_id (Results 1 – 21 of 21) sorted by relevance

/system/bt/bta/gatt/
Dbta_gatts_utils.c132 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) in bta_gatts_find_srvc_cb_by_srvc_id() argument
135 APPL_TRACE_DEBUG("bta_gatts_find_srvc_cb_by_srvc_id service_id=%d", service_id); in bta_gatts_find_srvc_cb_by_srvc_id()
139 p_cb->srvc_cb[i].service_id == service_id) in bta_gatts_find_srvc_cb_by_srvc_id()
166 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
167 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
172 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
175 attr_id >= p_cb->srvc_cb[i].service_id) in bta_gatts_find_srvc_cb_by_attr_id()
Dbta_gatts_api.c191 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) in BTA_GATTS_AddIncludeService() argument
201 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddIncludeService()
224 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, in BTA_GATTS_AddCharacteristic() argument
234 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharacteristic()
263 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, in BTA_GATTS_AddCharDescriptor() argument
276 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharDescriptor()
301 void BTA_GATTS_DeleteService(UINT16 service_id) in BTA_GATTS_DeleteService() argument
309 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService()
329 void BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport) in BTA_GATTS_StartService() argument
337 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_StartService()
[all …]
Dbta_gatts_act.c348 UINT16 service_id = 0; in bta_gatts_create_srvc() local
361 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if, in bta_gatts_create_srvc()
367 if (service_id != 0) in bta_gatts_create_srvc()
371 p_cb->srvc_cb[srvc_idx].service_id = service_id; in bta_gatts_create_srvc()
376 cb_data.create.service_id = service_id; in bta_gatts_create_srvc()
420 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_include_srvc()
455 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_char()
493 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_char_descr()
527 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_delete_service()
560 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_start_service()
[all …]
Dbta_gatts_int.h193 UINT16 service_id; /* service handle */ member
255 …ern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id);
Dbta_gattc_int.h521 …c_handle2id(tBTA_GATTC_SERV *p_srcb, UINT16 handle, tBTA_GATT_SRVC_ID *service_id, tBTA_GATT_ID *c…
/system/bt/bta/include/
Dbta_gatt_api.h556 UINT16 service_id; member
568 UINT16 service_id; member
579 UINT16 service_id; member
1218 extern void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id);
1235 extern void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid,
1255 extern void BTA_GATTS_AddCharDescriptor (UINT16 service_id,
1271 extern void BTA_GATTS_DeleteService(UINT16 service_id);
1285 extern void BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport);
1298 extern void BTA_GATTS_StopService(UINT16 service_id);
Dbta_ag_api.h280 tBTA_SERVICE_ID service_id; member
/system/bt/btif/include/
Dbtif_common.h192 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id);
193 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id);
/system/bt/btif/src/
Dbtif_gatt_server.c223 p_data->create.service_id in btapp_gatts_handle_cback()
232 p_data->add_result.service_id, in btapp_gatts_handle_cback()
245 p_data->add_result.service_id, in btapp_gatts_handle_cback()
259 p_data->add_result.service_id, in btapp_gatts_handle_cback()
268 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
275 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
282 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
Dbtif_core.c1267 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id) in btif_enable_service() argument
1269 tBTA_SERVICE_ID *p_id = &service_id; in btif_enable_service()
1277 btif_enabled_services |= (1 << service_id); in btif_enable_service()
1301 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id) in btif_disable_service() argument
1303 tBTA_SERVICE_ID *p_id = &service_id; in btif_disable_service()
1310 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1<<service_id)); in btif_disable_service()
Dbtif_dm.c256 bt_status_t btif_in_execute_service_request(tBTA_SERVICE_ID service_id, in btif_in_execute_service_request() argument
259 BTIF_TRACE_DEBUG("%s service_id: %d", __FUNCTION__, service_id); in btif_in_execute_service_request()
261 switch (service_id) in btif_in_execute_service_request()
/system/bt/stack/btm/
Dbtm_sec.c93 …ic 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)) in btm_serv_trusted()
477 BOOLEAN BTM_SetSecurityLevel (BOOLEAN is_originator, char *p_name, UINT8 service_id, in BTM_SetSecurityLevel() argument
489 return(btm_sec_set_security_level (conn_type, p_name, service_id, in BTM_SetSecurityLevel()
492 return(btm_sec_set_security_level (is_originator, p_name, service_id, in BTM_SetSecurityLevel()
516 …atic BOOLEAN btm_sec_set_security_level (CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id, in btm_sec_set_security_level() argument
561 service_id == p_srec->service_id && in btm_sec_set_security_level()
569 service_id == p_srec->service_id) in btm_sec_set_security_level()
600 p_srec->service_id = service_id; in btm_sec_set_security_level()
703 index, service_id, conn_type, psm, mx_proto_id, mx_chan_id); in btm_sec_set_security_level()
[all …]
Dbtm_inq.c2565 UINT8 service_id; in BTM_HasEirService() local
2567 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
2568 if( service_id < BTM_EIR_MAX_SERVICES ) in BTM_HasEirService()
2569 return( BTM_EIR_HAS_SERVICE( p_eir_uuid, service_id )); in BTM_HasEirService()
2616 UINT8 service_id; in BTM_AddEirService() local
2618 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
2619 if( service_id < BTM_EIR_MAX_SERVICES ) in BTM_AddEirService()
2620 BTM_EIR_SET_SERVICE( p_eir_uuid, service_id ); in BTM_AddEirService()
2637 UINT8 service_id; in BTM_RemoveEirService() local
2639 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_RemoveEirService()
[all …]
Dbtm_int.h433 UINT8 service_id; /* Passed in authorization callback */ member
/system/bt/stack/gap/
Dgap_conn.c123 UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server, in GAP_ConnOpen() argument
190 p_ccb->service_id = service_id; in GAP_ConnOpen()
192 p_ccb->service_id, security, p_ccb->psm, 0, 0)) in GAP_ConnOpen()
1182 UINT8 service_id = p_ccb->service_id; in gap_release_ccb() local
1203 BTM_SecClrService(service_id); in gap_release_ccb()
Dgap_int.h67 UINT8 service_id; /* Used by BTM */ member
/system/bt/stack/include/
Dgap_api.h145 extern UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server,
Dbtm_api.h1326 UINT8 service_id, BOOLEAN is_originator);
3273 UINT8 service_id, UINT16 sec_level,
3287 extern void BTM_SetOutService(BD_ADDR bd_addr, UINT8 service_id, UINT32 mx_chan_id);
3302 extern UINT8 BTM_SecClrService (UINT8 service_id);
/system/bt/stack/hid/
Dhidh_conn.c1007 UINT8 service_id = BTM_SEC_SERVICE_HIDH_NOSEC_CTRL; in hidh_conn_initiate() local
1024 service_id = BTM_SEC_SERVICE_HIDH_SEC_CTRL; in hidh_conn_initiate()
1027 BTM_SetOutService (p_dev->addr, service_id, mx_chan_id); in hidh_conn_initiate()
/system/bt/bta/dm/
Dbta_dm_act.c56 …addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *service_name, UINT8 service_id, BOOLEAN is_orig…
2648 UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator) in bta_dm_authorize_cback() argument
2664 sec_event.authorize.service = service_id; in bta_dm_authorize_cback()
2670 if(bta_service_id_to_btm_srv_id_lkup_tbl[index] == service_id) in bta_dm_authorize_cback()
2683 || (service_id >= BTA_FIRST_JV_SERVICE_ID && service_id <= BTA_LAST_JV_SERVICE_ID) in bta_dm_authorize_cback()
5465 static void bta_dm_gatt_disc_result(tBTA_GATT_ID service_id) in bta_dm_gatt_disc_result() argument
5478 service_id.uuid.uu.uuid16,bta_dm_search_cb.p_ble_rawdata,bta_dm_search_cb.ble_raw_used); in bta_dm_gatt_disc_result()
5482 memcpy((bta_dm_search_cb.p_ble_rawdata + bta_dm_search_cb.ble_raw_used), &service_id, in bta_dm_gatt_disc_result()
5483 sizeof(service_id) ); in bta_dm_gatt_disc_result()
5485 bta_dm_search_cb.ble_raw_used += sizeof(service_id); in bta_dm_gatt_disc_result()
[all …]
/system/bt/bta/ag/
Dbta_ag_act.c97 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open()