/system/bt/bta/gatt/ |
D | bta_gatts_utils.cc | 106 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()
|
D | bta_gatts_api.cc | 146 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()
|
D | bta_gatts_int.h | 136 uint16_t service_id; /* service start handle */ member 184 tBTA_GATTS_CB* p_cb, uint16_t service_id);
|
D | bta_gatts_act.cc | 308 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/ |
D | btif_common.h | 199 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/ |
D | btm_sec.cc | 102 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 …]
|
D | btm_inq.cc | 2211 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 …]
|
D | btm_int_types.h | 402 uint8_t service_id; /* Passed in authorization callback */ member
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 291 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);
|
D | bta_ag_api.h | 353 tBTA_SERVICE_ID service_id; member
|
/system/bt/service/ |
D | gatt_server_old.h | 74 bool Initialize(const Uuid& service_id, int* gatt_pipe);
|
D | gatt_server_old.cc | 532 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/ |
D | btif_core.cc | 1108 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()
|
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()
|
/system/bt/common/ |
D | metrics_linux.cc | 73 tBTA_SERVICE_ID service_id) {} in LogHeadsetProfileRfcConnection() argument
|
D | metrics.h | 224 void LogHeadsetProfileRfcConnection(tBTA_SERVICE_ID service_id);
|
D | metrics.cc | 438 tBTA_SERVICE_ID service_id) { in LogHeadsetProfileRfcConnection() argument 440 switch (service_id) { in LogHeadsetProfileRfcConnection()
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 51 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/ |
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 | 176 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 | 71 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/ |
D | hidh_conn.cc | 998 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/ |
D | bta_ag_act.cc | 85 open.service_id = bta_ag_svc_id[p_scb->conn_service]; in bta_ag_cback_open()
|