Home
last modified time | relevance | path

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

12

/system/bt/bta/gatt/
Dbta_gatts_utils.cc103 uint16_t service_id) { in bta_gatts_find_srvc_cb_by_srvc_id() argument
105 VLOG(1) << __func__ << ": service_id=" << +service_id; in bta_gatts_find_srvc_cb_by_srvc_id()
107 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()
131 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
132 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
136 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
139 attr_id >= p_cb->srvc_cb[i].service_id)) { in bta_gatts_find_srvc_cb_by_attr_id()
Dbta_gatts_api.cc152 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in bta_gatts_add_service_impl()
195 void BTA_GATTS_DeleteService(uint16_t service_id) { in BTA_GATTS_DeleteService() argument
199 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService()
215 void BTA_GATTS_StopService(uint16_t service_id) { in BTA_GATTS_StopService() argument
219 p_buf->layer_specific = service_id; in BTA_GATTS_StopService()
Dbta_gatts_int.h139 uint16_t service_id; /* service start handle */ member
187 tBTA_GATTS_CB* p_cb, uint16_t service_id);
Dbta_gatts_act.cc307 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_delete_service()
310 p_srvc_cb->service_id)) { in bta_gatts_delete_service()
334 GATTS_StopService(p_srvc_cb->service_id); in bta_gatts_stop_service()
336 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_stop_service()
338 LOG(ERROR) << __func__ << " service_id=" << +p_srvc_cb->service_id; in bta_gatts_stop_service()
/system/bt/stack/test/common/
Dmock_btm_api_layer.cc28 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
30 return btm_api_interface->SetSecurityLevel(is_originator, p_name, service_id, in BTM_SetSecurityLevel()
Dmock_btm_api_layer.h29 uint8_t service_id, uint16_t sec_level,
40 bool(bool is_originator, const char* p_name, uint8_t service_id,
Dmock_btm_layer.cc45 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
Dmock_btif_dm.cc59 bt_status_t btif_in_execute_service_request(tBTA_SERVICE_ID service_id, in btif_in_execute_service_request() argument
102 void btif_dm_enable_service(tBTA_SERVICE_ID service_id, bool enable) { in btif_dm_enable_service() argument
/system/bt/test/mock/
Dmock_bta_gatts_api.cc62 void BTA_GATTS_DeleteService(uint16_t service_id) { in BTA_GATTS_DeleteService() argument
78 void BTA_GATTS_StopService(uint16_t service_id) { in BTA_GATTS_StopService() argument
Dmock_btif_core.cc115 void btif_disable_service(tBTA_SERVICE_ID service_id) { in btif_disable_service() argument
125 void btif_enable_service(tBTA_SERVICE_ID service_id) { in btif_enable_service() argument
Dmock_btif_dm.cc60 bt_status_t btif_in_execute_service_request(tBTA_SERVICE_ID service_id, in btif_in_execute_service_request() argument
103 void btif_dm_enable_service(tBTA_SERVICE_ID service_id, bool enable) { in btif_dm_enable_service() argument
Dmock_stack_gap_conn.cc62 uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, in GAP_ConnOpen() argument
Dmock_stack_btm_sec.cc110 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
199 uint8_t BTM_SecClrService(uint8_t service_id) { in BTM_SecClrService() argument
/system/bt/btif/src/
Dbtif_core.cc105 void btif_dm_enable_service(tBTA_SERVICE_ID service_id, bool enable);
780 void btif_enable_service(tBTA_SERVICE_ID service_id) { in btif_enable_service() argument
781 btif_enabled_services |= (1 << service_id); in btif_enable_service()
787 btif_dm_enable_service(service_id, true); in btif_enable_service()
799 void btif_disable_service(tBTA_SERVICE_ID service_id) { in btif_disable_service() argument
800 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1 << service_id)); in btif_disable_service()
806 btif_dm_enable_service(service_id, false); in btif_disable_service()
Dbtif_gatt_server.cc160 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
166 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
/system/bt/stack/include/
Dsecurity_client_callbacks.h30 typedef uint8_t(tBTM_AUTHORIZE_CALLBACK)(uint8_t service_id);
Dgap_api.h119 extern uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id,
/system/bt/stack/btm/
Dbtm_inq.cc1552 uint8_t service_id; in BTM_HasEirService() local
1554 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
1555 if (service_id < BTM_EIR_MAX_SERVICES) in BTM_HasEirService()
1556 return (BTM_EIR_HAS_SERVICE(p_eir_uuid, service_id)); in BTM_HasEirService()
1600 uint8_t service_id; in BTM_AddEirService() local
1602 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
1603 if (service_id < BTM_EIR_MAX_SERVICES) in BTM_AddEirService()
1604 BTM_EIR_SET_SERVICE(p_eir_uuid, service_id); in BTM_AddEirService()
1621 uint8_t service_id; in BTM_RemoveEirService() local
1623 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_RemoveEirService()
[all …]
Dbtm_sec.h141 uint8_t service_id, uint16_t sec_level, uint16_t psm,
162 uint8_t BTM_SecClrService(uint8_t service_id);
/system/bt/btif/include/
Dbtif_common.h175 void btif_enable_service(tBTA_SERVICE_ID service_id);
176 void btif_disable_service(tBTA_SERVICE_ID service_id);
/system/bt/service/
Dgatt_server_old.h74 bool Initialize(const Uuid& service_id, int* gatt_pipe);
/system/bt/bta/include/
Dbta_gatt_api.h322 uint16_t service_id; member
331 uint16_t service_id; member
897 extern void BTA_GATTS_DeleteService(uint16_t service_id);
910 extern void BTA_GATTS_StopService(uint16_t service_id);
/system/bt/stack/gap/
Dgap_conn.cc48 uint8_t service_id; /* Used by BTM */ member
160 uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, in GAP_ConnOpen() argument
178 p_ccb->service_id = service_id; in GAP_ConnOpen()
/system/bt/service/doc/
DIBluetoothGattClientCallback.txt34 * device that this service belongs to can be obtained from the |service_id|
38 void onGetService(in boolean is_primary, in GattIdentifier service_id);
/system/bt/common/
Dmetrics_linux.cc73 tBTA_SERVICE_ID service_id) {} in LogHeadsetProfileRfcConnection() argument

12