/system/bt/bta/gatt/ |
D | bta_gatts_utils.cc | 127 uint16_t service_id) { in bta_gatts_find_srvc_cb_by_srvc_id() argument 130 service_id); in bta_gatts_find_srvc_cb_by_srvc_id() 132 if (p_cb->srvc_cb[i].in_use && p_cb->srvc_cb[i].service_id == service_id) { in bta_gatts_find_srvc_cb_by_srvc_id() 157 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id() 158 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 162 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 165 attr_id >= p_cb->srvc_cb[i].service_id)) { in bta_gatts_find_srvc_cb_by_attr_id()
|
D | bta_gatts_api.cc | 150 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in BTA_GATTS_AddService() 174 void BTA_GATTS_DeleteService(uint16_t service_id) { in BTA_GATTS_DeleteService() argument 178 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService() 194 void BTA_GATTS_StopService(uint16_t service_id) { in BTA_GATTS_StopService() argument 198 p_buf->layer_specific = service_id; in BTA_GATTS_StopService()
|
D | bta_gatts_act.cc | 309 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_delete_service() 312 p_srvc_cb->service_id)) { in bta_gatts_delete_service() 336 GATTS_StopService(p_srvc_cb->service_id); in bta_gatts_stop_service() 338 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_stop_service() 341 p_srvc_cb->service_id); in bta_gatts_stop_service()
|
D | bta_gatts_int.h | 135 uint16_t service_id; /* service start handle */ member 185 tBTA_GATTS_CB* p_cb, uint16_t service_id);
|
/system/bt/btif/include/ |
D | btif_av.h | 127 bt_status_t btif_av_init(int service_id);
|
D | btif_common.h | 196 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id); 197 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id);
|
/system/bt/stack/btm/ |
D | btm_sec.cc | 98 const char* p_name, uint8_t service_id, 213 p_serv_rec->service_id)) { in btm_serv_trusted() 460 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument 470 return (btm_sec_set_security_level(conn_type, p_name, service_id, sec_level, in BTM_SetSecurityLevel() 473 return (btm_sec_set_security_level(is_originator, p_name, service_id, in BTM_SetSecurityLevel() 499 const char* p_name, uint8_t service_id, in btm_sec_set_security_level() argument 537 service_id == p_srec->service_id && p_name && in btm_sec_set_security_level() 546 service_id == p_srec->service_id) in btm_sec_set_security_level() 575 p_srec->service_id = service_id; in btm_sec_set_security_level() 674 index, service_id, conn_type, psm, mx_proto_id, mx_chan_id); in btm_sec_set_security_level() [all …]
|
D | btm_inq.cc | 2313 uint8_t service_id; in BTM_HasEirService() local 2315 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService() 2316 if (service_id < BTM_EIR_MAX_SERVICES) in BTM_HasEirService() 2317 return (BTM_EIR_HAS_SERVICE(p_eir_uuid, service_id)); in BTM_HasEirService() 2361 uint8_t service_id; in BTM_AddEirService() local 2363 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService() 2364 if (service_id < BTM_EIR_MAX_SERVICES) in BTM_AddEirService() 2365 BTM_EIR_SET_SERVICE(p_eir_uuid, service_id); in BTM_AddEirService() 2382 uint8_t service_id; in BTM_RemoveEirService() local 2384 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_RemoveEirService() [all …]
|
D | btm_int_types.h | 419 uint8_t service_id; /* Passed in authorization callback */ member
|
/system/bt/btif/src/ |
D | btif_core.cc | 1130 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id) { in btif_enable_service() argument 1131 tBTA_SERVICE_ID* p_id = &service_id; in btif_enable_service() 1139 btif_enabled_services |= (1 << service_id); in btif_enable_service() 1163 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id) { in btif_disable_service() argument 1164 tBTA_SERVICE_ID* p_id = &service_id; in btif_disable_service() 1171 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1 << service_id)); in btif_disable_service()
|
D | btif_gatt_server.cc | 159 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback() 165 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
|
D | btif_av.cc | 1276 bt_status_t btif_av_init(int service_id) { in btif_av_init() argument 1281 switch (service_id) { in btif_av_init() 1294 btif_enable_service(service_id); in btif_av_init()
|
D | btif_dm.cc | 302 bt_status_t btif_in_execute_service_request(tBTA_SERVICE_ID service_id, in btif_in_execute_service_request() argument 304 BTIF_TRACE_DEBUG("%s service_id: %d", __func__, service_id); in btif_in_execute_service_request() 306 switch (service_id) { in btif_in_execute_service_request() 330 BTIF_TRACE_ERROR("%s: Unknown service %d being %s", __func__, service_id, in btif_in_execute_service_request()
|
/system/bt/service/ |
D | gatt_server_old.h | 74 bool Initialize(const UUID& service_id, int* gatt_pipe);
|
D | gatt_server_old.cc | 535 bool Server::Initialize(const UUID& service_id, int* gatt_pipe) { in Initialize() argument 550 bt_uuid_t uuid = service_id.GetBlueDroid(); in Initialize()
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 50 uint8_t service_id; /* Used by BTM */ member 162 uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, in GAP_ConnOpen() argument 180 p_ccb->service_id = service_id; in GAP_ConnOpen() 243 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen() 1151 BTM_SecClrService(p_ccb->service_id); in gap_release_ccb()
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 482 uint16_t service_id; member 491 uint16_t service_id; member 1070 extern void BTA_GATTS_DeleteService(uint16_t service_id); 1083 extern void BTA_GATTS_StopService(uint16_t service_id);
|
D | bta_ag_api.h | 336 tBTA_SERVICE_ID service_id; member
|
/system/bt/stack/include/ |
D | btm_api.h | 1364 uint8_t service_id, uint16_t sec_level, 1378 extern void BTM_SetOutService(const RawAddress& bd_addr, uint8_t service_id, 1393 extern uint8_t BTM_SecClrService(uint8_t service_id);
|
D | gap_api.h | 164 extern uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id,
|
/system/bt/service/doc/ |
D | IBluetoothGattClientCallback.txt | 34 * device that this service belongs to can be obtained from the |service_id| 38 void onGetService(in boolean is_primary, in GattIdentifier service_id);
|
D | IBluetoothGattServerCallback.txt | 37 void onServiceAdded(in int status, in BluetoothGattServer service_id);
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 67 uint8_t* service_name, uint8_t service_id, 2383 uint8_t service_id, in bta_dm_authorize_cback() argument 2393 sec_event.authorize.service = service_id; in bta_dm_authorize_cback() 2398 if (bta_service_id_to_btm_srv_id_lkup_tbl[index] == service_id) { in bta_dm_authorize_cback() 2409 || (service_id >= BTA_FIRST_JV_SERVICE_ID && in bta_dm_authorize_cback() 2410 service_id <= BTA_LAST_JV_SERVICE_ID) in bta_dm_authorize_cback() 4481 static void bta_dm_gatt_disc_result(tBTA_GATT_ID service_id) { in bta_dm_gatt_disc_result() argument 4494 service_id.uuid.uu.uuid16, bta_dm_search_cb.p_ble_rawdata, in bta_dm_gatt_disc_result() 4499 &service_id, sizeof(service_id)); in bta_dm_gatt_disc_result() 4501 bta_dm_search_cb.ble_raw_used += sizeof(service_id); in bta_dm_gatt_disc_result() [all …]
|
/system/bt/stack/hid/ |
D | hidh_conn.cc | 996 uint8_t service_id = BTM_SEC_SERVICE_HIDH_NOSEC_CTRL; in hidh_conn_initiate() local 1014 service_id = BTM_SEC_SERVICE_HIDH_SEC_CTRL; in hidh_conn_initiate() 1017 BTM_SetOutService(p_dev->addr, service_id, mx_chan_id); in hidh_conn_initiate()
|
/system/bt/bta/ag/ |
D | bta_ag_act.cc | 85 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open()
|