/system/bt/stack/avrc/ |
H A D | avrc_sdp.c | 94 /* reset service_uuid, so can start another find service */ 95 avrc_cb.service_uuid = 0; 122 ** service_uuid: Indicates TG(UUID_SERVCLASS_AV_REM_CTRL_TARGET) 140 UINT16 AVRC_FindService(UINT16 service_uuid, BD_ADDR bd_addr, argument 152 AVRC_TRACE_API("AVRC_FindService uuid: %x", service_uuid); 153 if( (service_uuid != UUID_SERVCLASS_AV_REM_CTRL_TARGET && service_uuid != UUID_SERVCLASS_AV_REMOTE_CONTROL) || 158 if( avrc_cb.service_uuid == UUID_SERVCLASS_AV_REM_CTRL_TARGET || 159 avrc_cb.service_uuid == UUID_SERVCLASS_AV_REMOTE_CONTROL) 164 uuid_list.uu.uuid16 = service_uuid; 220 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name, UINT16 categories, UINT32 sdp_handle) argument [all...] |
H A D | avrc_int.h | 126 UINT16 service_uuid; /* service UUID to search */ member in struct:__anon811
|
/system/bt/bta/ar/ |
H A D | bta_ar.c | 245 void bta_ar_reg_avrc(UINT16 service_uuid, char *service_name, char *provider_name, argument 254 if (service_uuid == UUID_SERVCLASS_AV_REM_CTRL_TARGET) 260 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, bta_ar_cb.sdp_tg_handle); 261 bta_sys_add_uuid(service_uuid); 266 else if ((service_uuid == UUID_SERVCLASS_AV_REMOTE_CONTROL) || (service_uuid == UUID_SERVCLASS_AV_REM_CTRL_CONTROL)) 273 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, bta_ar_cb.sdp_ct_handle); 274 bta_sys_add_uuid(service_uuid); 297 void bta_ar_dereg_avrc(UINT16 service_uuid, tBTA_SYS_ID sys_id) argument 306 if (service_uuid [all...] |
/system/bt/bta/include/ |
H A D | bta_ar_api.h | 121 extern void bta_ar_reg_avrc(UINT16 service_uuid, char *p_service_name, 133 extern void bta_ar_dereg_avrc(UINT16 service_uuid, tBTA_SYS_ID sys_id);
|
/system/bt/stack/a2dp/ |
H A D | a2d_api.c | 71 a2d_cb.find.service_uuid, p_rec)) == NULL) 114 a2d_cb.find.service_uuid = 0; 149 ** service_uuid: Indicates SRC or SNK. 169 tA2D_STATUS A2D_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name, argument 178 A2D_TRACE_API("A2D_AddRecord uuid: %x", service_uuid); 181 (service_uuid != UUID_SERVCLASS_AUDIO_SOURCE && service_uuid != UUID_SERVCLASS_AUDIO_SINK) ) 185 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); 249 ** service_uuid: Indicates SRC or SNK. 268 tA2D_STATUS A2D_FindService(UINT16 service_uuid, BD_ADD argument [all...] |
H A D | a2d_int.h | 49 UINT16 service_uuid; /* service UUID of search */ member in struct:__anon773
|
/system/bt/stack/include/ |
H A D | a2d_api.h | 146 ** service_uuid: Indicates SRC or SNK. 166 extern tA2D_STATUS A2D_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name, 185 ** service_uuid: Indicates SRC or SNK. 204 extern tA2D_STATUS A2D_FindService(UINT16 service_uuid, BD_ADDR bd_addr,
|
H A D | avrc_api.h | 184 ** service_uuid: Indicates TG(UUID_SERVCLASS_AV_REM_CTRL_TARGET) 206 extern UINT16 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name, 228 ** service_uuid: Indicates TG(UUID_SERVCLASS_AV_REM_CTRL_TARGET) 246 extern UINT16 AVRC_FindService(UINT16 service_uuid, BD_ADDR bd_addr,
|
H A D | sdp_api.h | 311 UINT16 service_uuid,
|
/system/bt/bta/gatt/ |
H A D | bta_gattc_cache.c | 82 ((p_cur_srvc->service_uuid.id.uuid.len == 2) ? "uuid16" : "uuid128"), 83 p_cur_srvc->service_uuid.id.uuid.uu.uuid16, 84 p_cur_srvc->service_uuid.id.inst_id); 321 p_new_srvc->service_uuid.is_primary = is_primary; 322 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID)); 323 p_new_srvc->service_uuid.id.inst_id = srvc_inst; 831 tBT_UUID service_uuid; local 845 if (SDP_FindServiceUUIDInRec(p_sdp_rec, &service_uuid)) 855 service_uuid.uu.uuid16, start_handle, end_handle); 865 service_uuid, [all...] |
H A D | bta_gatts_int.h | 86 tBT_UUID service_uuid; member in struct:__anon180 192 tBT_UUID service_uuid; /* service UUID */ member in struct:__anon191
|
H A D | bta_gatts_act.c | 362 &p_msg->api_create_svc.service_uuid, 369 memcpy(&p_cb->srvc_cb[srvc_idx].service_uuid, 370 &p_msg->api_create_svc.service_uuid, sizeof(tBT_UUID)); 389 memcpy(&cb_data.create.uuid, &p_msg->api_create_svc.service_uuid, sizeof(tBT_UUID)); 530 &p_srvc_cb->service_uuid,
|
H A D | bta_gatts_api.c | 168 memcpy(&p_buf->service_uuid, p_service_uuid, sizeof(tBT_UUID));
|
H A D | bta_gattc_int.h | 270 tBTA_GATT_SRVC_ID service_uuid; member in struct:gattc_svc_cache
|
/system/bt/btif/src/ |
H A D | btif_sock_rfc.c | 78 uint8_t service_uuid[16]; member in struct:__anon688 206 memcpy(slot->service_uuid, uuid, sizeof(slot->service_uuid)); 209 memset(slot->service_uuid, 0, sizeof(slot->service_uuid)); 227 rfc_slot_t *accept_rs = alloc_rfc_slot(addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->scn, 0, false); 254 bt_status_t btsock_rfc_listen(const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags) { argument 256 assert((service_uuid != NULL) 268 if(is_uuid_empty(service_uuid)) { 269 APPL_TRACE_DEBUG("BTA_JvGetChannelId: service_uuid no 309 btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t *service_uuid, int channel, int *sock_fd, int flags) argument [all...] |
H A D | btif_sock.c | 117 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags) { argument 119 assert(service_uuid != NULL || channel > 0); 128 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags);
|
H A D | btif_gatt_multi_adv_util.c | 221 char* service_uuid, btif_adv_data_t *p_multi_adv_inst) 251 memcpy(p_multi_adv_inst->p_service_uuid, service_uuid, service_uuid_len); 217 btif_gattc_adv_data_packager(int client_if, bool set_scan_rsp, bool include_name, bool include_txpower, int min_interval, int max_interval, int appearance, int manufacturer_len, char* manufacturer_data, int service_data_len, char* service_data, int service_uuid_len, char* service_uuid, btif_adv_data_t *p_multi_adv_inst) argument
|
H A D | btif_gatt_client.c | 528 bta_to_btif_srvc_id(&data, &(p_data->srvc_res.service_uuid)); 1870 uint16_t service_uuid_len, char* service_uuid) 1877 manufacturer_data, service_data_len, service_data, service_uuid_len, service_uuid, 2262 int service_uuid_len, char* service_uuid) 2274 service_data_len, service_data, service_uuid_len, service_uuid, &multi_adv_data_inst); 1866 btif_gattc_set_adv_data(int client_if, bool set_scan_rsp, bool include_name, bool include_txpower, int min_interval, int max_interval, int appearance, uint16_t manufacturer_len, char* manufacturer_data, uint16_t service_data_len, char* service_data, uint16_t service_uuid_len, char* service_uuid) argument 2258 btif_gattc_multi_adv_setdata(int client_if, bool set_scan_rsp, bool include_name, bool incl_txpower, int appearance, int manufacturer_len, char* manufacturer_data, int service_data_len, char* service_data, int service_uuid_len, char* service_uuid) argument
|
/system/bt/btif/include/ |
H A D | btif_gatt_multi_adv_util.h | 92 char* service_uuid, btif_adv_data_t *p_multi_adv_inst);
|
/system/bt/bta/ag/ |
H A D | bta_ag_sdp.c | 130 BOOLEAN bta_ag_add_record(UINT16 service_uuid, char *p_service_name, UINT8 scn, argument 143 APPL_TRACE_DEBUG("bta_ag_add_record uuid: %x", service_uuid); 156 svc_class_id_list[0] = service_uuid; 161 if (service_uuid == UUID_SERVCLASS_AG_HANDSFREE) 181 if (service_uuid == UUID_SERVCLASS_AG_HANDSFREE)
|
H A D | bta_ag_int.h | 366 extern BOOLEAN bta_ag_add_record(UINT16 service_uuid, char *p_service_name, UINT8 scn,
|
/system/bt/stack/sdp/ |
H A D | sdp_api.c | 481 tSDP_DISC_REC *SDP_FindServiceInDb (tSDP_DISCOVERY_DB *p_db, UINT16 service_uuid, tSDP_DISC_REC *p_start_rec) argument 510 p_sattr->attr_value.v.u16, service_uuid); 511 if(service_uuid == UUID_SERVCLASS_HDP_PROFILE) 522 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE && (service_uuid == 0 524 && p_sattr->attr_value.v.u16 == service_uuid))) 545 && ((p_extra_sattr->attr_value.v.u16 == service_uuid) || (service_uuid == 0))) 560 && ((p_attr->attr_value.v.u16 == service_uuid) || service_uuid == 0))
|
/system/bt/stack/btm/ |
H A D | btm_ble_gap.c | 1532 if (len > (p_data->p_service_data->service_uuid.len + MIN_ADV_LENGTH)) 1535 cp_len = len - MIN_ADV_LENGTH- p_data->p_service_data->service_uuid.len; 1539 *p++ = cp_len + 1 + p_data->p_service_data->service_uuid.len; 1540 if (p_data->p_service_data->service_uuid.len == LEN_UUID_16) 1543 UINT16_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid16); 1545 else if (p_data->p_service_data->service_uuid.len == LEN_UUID_32) 1548 UINT32_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid32); 1553 ARRAY_TO_STREAM(p, p_data->p_service_data->service_uuid.uu.uuid128, 1559 len -= (cp_len + MIN_ADV_LENGTH + p_data->p_service_data->service_uuid.len);
|
/system/bt/bta/hl/ |
H A D | bta_hl_utils.c | 332 UINT16 service_uuid, 338 switch (service_uuid) 342 if ((*pp_rec = SDP_FindServiceInDb(p_mcb->p_db, service_uuid, 367 ** if service_uuid = 0xFFFF then it means service uuid 375 UINT16 service_uuid = 0xFFFF; /* both Sink and Source */ local 387 service_uuid = UUID_SERVCLASS_HDP_SINK; 391 service_uuid = UUID_SERVCLASS_HDP_SOURCE; 401 APPL_TRACE_DEBUG("bta_hl_get_service_uuids service_uuid=0x%x",service_uuid ); 403 return service_uuid; 331 bta_hl_find_service_in_db( UINT8 app_idx, UINT8 mcl_idx, UINT16 service_uuid, tSDP_DISC_REC **pp_rec ) argument [all...] |
/system/bt/bta/av/ |
H A D | bta_av_act.c | 1631 tBTA_AV_FEAT bta_av_check_peer_features (UINT16 service_uuid) argument 1640 APPL_TRACE_DEBUG("bta_av_check_peer_features service_uuid:x%x", service_uuid); 1645 if ((p_rec = SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, p_rec)) == NULL)
|