Home
last modified time | relevance | path

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

12

/system/bt/bta/gatt/
Dbta_gatts_utils.cc106 uint16_t service_id) { in bta_gatts_find_srvc_cb_by_srvc_id() argument
108 VLOG(1) << __func__ << ": service_id=" << +service_id; in bta_gatts_find_srvc_cb_by_srvc_id()
110 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()
134 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
135 attr_id < p_cb->srvc_cb[i + 1].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()
142 attr_id >= p_cb->srvc_cb[i].service_id)) { in bta_gatts_find_srvc_cb_by_attr_id()
Dbta_gatts_api.cc146 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in bta_gatts_add_service_impl()
189 void BTA_GATTS_DeleteService(uint16_t service_id) { in BTA_GATTS_DeleteService() argument
193 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService()
209 void BTA_GATTS_StopService(uint16_t service_id) { in BTA_GATTS_StopService() argument
213 p_buf->layer_specific = service_id; in BTA_GATTS_StopService()
Dbta_gatts_int.h136 uint16_t service_id; /* service start handle */ member
184 tBTA_GATTS_CB* p_cb, uint16_t service_id);
Dbta_gatts_act.cc308 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_delete_service()
311 p_srvc_cb->service_id)) { in bta_gatts_delete_service()
335 GATTS_StopService(p_srvc_cb->service_id); in bta_gatts_stop_service()
337 cb_data.srvc_oper.service_id = p_srvc_cb->service_id; in bta_gatts_stop_service()
339 LOG(ERROR) << __func__ << " service_id=" << +p_srvc_cb->service_id; in bta_gatts_stop_service()
/system/bt/btif/include/
Dbtif_common.h199 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id);
200 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id);
/system/bt/stack/btm/
Dbtm_sec.cc102 const char* p_name, uint8_t service_id,
217 p_serv_rec->service_id)) { in btm_serv_trusted()
464 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
466 return (btm_sec_set_security_level(is_originator, p_name, service_id, in BTM_SetSecurityLevel()
491 const char* p_name, uint8_t service_id, in btm_sec_set_security_level() argument
514 service_id == p_srec->service_id && p_name && in btm_sec_set_security_level()
523 service_id == p_srec->service_id) in btm_sec_set_security_level()
552 p_srec->service_id = service_id; in btm_sec_set_security_level()
622 index, service_id, is_originator, psm, mx_proto_id, mx_chan_id); in btm_sec_set_security_level()
651 uint8_t BTM_SecClrService(uint8_t service_id) { in BTM_SecClrService() argument
[all …]
Dbtm_inq.cc2211 uint8_t service_id; in BTM_HasEirService() local
2213 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService()
2214 if (service_id < BTM_EIR_MAX_SERVICES) in BTM_HasEirService()
2215 return (BTM_EIR_HAS_SERVICE(p_eir_uuid, service_id)); in BTM_HasEirService()
2259 uint8_t service_id; in BTM_AddEirService() local
2261 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService()
2262 if (service_id < BTM_EIR_MAX_SERVICES) in BTM_AddEirService()
2263 BTM_EIR_SET_SERVICE(p_eir_uuid, service_id); in BTM_AddEirService()
2280 uint8_t service_id; in BTM_RemoveEirService() local
2282 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_RemoveEirService()
[all …]
Dbtm_int_types.h402 uint8_t service_id; /* Passed in authorization callback */ member
/system/bt/bta/include/
Dbta_gatt_api.h291 uint16_t service_id; member
300 uint16_t service_id; member
862 extern void BTA_GATTS_DeleteService(uint16_t service_id);
875 extern void BTA_GATTS_StopService(uint16_t service_id);
Dbta_ag_api.h353 tBTA_SERVICE_ID service_id; member
/system/bt/service/
Dgatt_server_old.h74 bool Initialize(const Uuid& service_id, int* gatt_pipe);
Dgatt_server_old.cc532 bool Server::Initialize(const Uuid& service_id, int* gatt_pipe) { in Initialize() argument
547 bt_status_t btstat = internal_->gatt->server->register_server(service_id); in Initialize()
/system/bt/btif/src/
Dbtif_core.cc1108 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id) { in btif_enable_service() argument
1109 tBTA_SERVICE_ID* p_id = &service_id; in btif_enable_service()
1117 btif_enabled_services |= (1 << service_id); in btif_enable_service()
1141 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id) { in btif_disable_service() argument
1142 tBTA_SERVICE_ID* p_id = &service_id; in btif_disable_service()
1149 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1 << service_id)); in btif_disable_service()
Dbtif_gatt_server.cc159 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
165 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
/system/bt/common/
Dmetrics_linux.cc73 tBTA_SERVICE_ID service_id) {} in LogHeadsetProfileRfcConnection() argument
Dmetrics.h224 void LogHeadsetProfileRfcConnection(tBTA_SERVICE_ID service_id);
Dmetrics.cc438 tBTA_SERVICE_ID service_id) { in LogHeadsetProfileRfcConnection() argument
440 switch (service_id) { in LogHeadsetProfileRfcConnection()
/system/bt/stack/gap/
Dgap_conn.cc51 uint8_t service_id; /* Used by BTM */ member
168 uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, in GAP_ConnOpen() argument
187 p_ccb->service_id = service_id; in GAP_ConnOpen()
259 if (!BTM_SetSecurityLevel((uint8_t)!is_server, p_serv_name, p_ccb->service_id, in GAP_ConnOpen()
1156 BTM_SecClrService(p_ccb->service_id); in gap_release_ccb()
/system/bt/stack/include/
Dbtm_api.h1364 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);
Dgap_api.h176 extern uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id,
/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);
DIBluetoothGattServerCallback.txt37 void onServiceAdded(in int status, in BluetoothGattServer service_id);
/system/bt/bta/dm/
Dbta_dm_act.cc71 uint8_t* service_name, uint8_t service_id,
2230 uint8_t service_id, in bta_dm_authorize_cback() argument
2240 sec_event.authorize.service = service_id; in bta_dm_authorize_cback()
2245 if (bta_service_id_to_btm_srv_id_lkup_tbl[index] == service_id) { in bta_dm_authorize_cback()
2256 || (service_id >= BTA_FIRST_JV_SERVICE_ID && in bta_dm_authorize_cback()
2257 service_id <= BTA_LAST_JV_SERVICE_ID) in bta_dm_authorize_cback()
4150 static void bta_dm_gatt_disc_result(tBTA_GATT_ID service_id) { in bta_dm_gatt_disc_result() argument
4163 service_id.uuid.ToString().c_str(), bta_dm_search_cb.p_ble_rawdata, in bta_dm_gatt_disc_result()
4171 &service_id, sizeof(service_id)); in bta_dm_gatt_disc_result()
4173 bta_dm_search_cb.ble_raw_used += sizeof(service_id); in bta_dm_gatt_disc_result()
[all …]
/system/bt/stack/hid/
Dhidh_conn.cc998 uint8_t service_id = BTM_SEC_SERVICE_HIDH_NOSEC_CTRL; in hidh_conn_initiate() local
1016 service_id = BTM_SEC_SERVICE_HIDH_SEC_CTRL; in hidh_conn_initiate()
1019 BTM_SetOutService(p_dev->addr, service_id, mx_chan_id); in hidh_conn_initiate()
/system/bt/bta/ag/
Dbta_ag_act.cc85 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open()

12