/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_api.cc | 84 a2dp_cb.find.p_db, a2dp_cb.find.service_uuid, p_rec)) == NULL) { in a2dp_sdp_cback() 141 a2dp_cb.find.service_uuid = 0; in a2dp_sdp_cback() 195 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, in A2DP_AddRecord() argument 204 LOG_VERBOSE("%s: uuid: 0x%x", __func__, service_uuid); in A2DP_AddRecord() 206 if ((sdp_handle == 0) || (service_uuid != UUID_SERVCLASS_AUDIO_SOURCE && in A2DP_AddRecord() 207 service_uuid != UUID_SERVCLASS_AUDIO_SINK)) in A2DP_AddRecord() 211 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); in A2DP_AddRecord() 295 tA2DP_STATUS A2DP_FindService(uint16_t service_uuid, const RawAddress& bd_addr, in A2DP_FindService() argument 298 if ((service_uuid != UUID_SERVCLASS_AUDIO_SOURCE && in A2DP_FindService() 299 service_uuid != UUID_SERVCLASS_AUDIO_SINK) || in A2DP_FindService() [all …]
|
D | a2dp_int.h | 48 uint16_t service_uuid; /* service UUID of search */ member
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_sdp.cc | 62 avrc_cb.service_uuid = 0; in avrc_sdp_cback() 109 uint16_t AVRC_FindService(uint16_t service_uuid, const RawAddress& bd_addr, in AVRC_FindService() argument 114 AVRC_TRACE_API("%s uuid: %x", __func__, service_uuid); in AVRC_FindService() 115 if ((service_uuid != UUID_SERVCLASS_AV_REM_CTRL_TARGET && in AVRC_FindService() 116 service_uuid != UUID_SERVCLASS_AV_REMOTE_CONTROL) || in AVRC_FindService() 121 if (avrc_cb.service_uuid == UUID_SERVCLASS_AV_REM_CTRL_TARGET || in AVRC_FindService() 122 avrc_cb.service_uuid == UUID_SERVCLASS_AV_REMOTE_CONTROL) in AVRC_FindService() 131 Uuid uuid_list = Uuid::From16Bit(service_uuid); in AVRC_FindService() 138 avrc_cb.service_uuid = service_uuid; in AVRC_FindService() 195 uint16_t AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, in AVRC_AddRecord() argument [all …]
|
/packages/modules/Bluetooth/system/bta/ar/ |
D | bta_ar.cc | 159 void bta_ar_reg_avrc(uint16_t service_uuid, const char* service_name, in bta_ar_reg_avrc() argument 167 if (service_uuid == UUID_SERVCLASS_AV_REM_CTRL_TARGET) { in bta_ar_reg_avrc() 171 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc() 174 bta_sys_add_uuid(service_uuid); in bta_ar_reg_avrc() 178 } else if ((service_uuid == UUID_SERVCLASS_AV_REMOTE_CONTROL) || in bta_ar_reg_avrc() 179 (service_uuid == UUID_SERVCLASS_AV_REM_CTRL_CONTROL)) { in bta_ar_reg_avrc() 184 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc() 187 bta_sys_add_uuid(service_uuid); in bta_ar_reg_avrc() 209 void bta_ar_dereg_avrc(uint16_t service_uuid) { in bta_ar_dereg_avrc() argument 214 if (service_uuid == UUID_SERVCLASS_AV_REM_CTRL_TARGET) { in bta_ar_dereg_avrc() [all …]
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_rfc.cc | 78 Uuid service_uuid; member 216 slot->service_uuid = uuid; in alloc_rfc_slot() 240 addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->scn, 0, false); in create_srv_accept_rfc_slot() 283 const Uuid* service_uuid, int channel, in btsock_rfc_listen() argument 286 CHECK((service_uuid != NULL) || in btsock_rfc_listen() 299 if (!service_uuid || service_uuid->IsEmpty()) { in btsock_rfc_listen() 301 service_uuid = &UUID_SPP; in btsock_rfc_listen() 304 int reserved_channel = get_reserved_rfc_channel(*service_uuid); in btsock_rfc_listen() 314 alloc_rfc_slot(NULL, service_name, *service_uuid, channel, flags, true); in btsock_rfc_listen() 340 const Uuid* service_uuid, int channel, in btsock_rfc_connect() argument [all …]
|
D | btif_sock.cc | 251 const Uuid* service_uuid, int channel, in btsock_listen() argument 270 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, in btsock_listen()
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/ |
D | a2dpFuzzFunctions.h | 57 uint16_t service_uuid = fdp->ConsumeBool() ? UUID_SERVCLASS_AUDIO_SOURCE 59 A2DP_AddRecord(service_uuid, p_service_name.data(), 70 uint16_t service_uuid = fdp->ConsumeBool() ? UUID_SERVCLASS_AUDIO_SOURCE 72 A2DP_FindService(service_uuid, bd_addr, &p_db, a2dp_find_callback);
|
/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_api.cc | 375 uint16_t service_uuid, in SDP_FindServiceInDb() argument 400 p_sattr->attr_value.v.u16, service_uuid); in SDP_FindServiceInDb() 401 if (service_uuid == UUID_SERVCLASS_HDP_PROFILE) { in SDP_FindServiceInDb() 412 (service_uuid == 0 || in SDP_FindServiceInDb() 414 p_sattr->attr_value.v.u16 == service_uuid))) in SDP_FindServiceInDb() 435 && ((p_extra_sattr->attr_value.v.u16 == service_uuid) || in SDP_FindServiceInDb() 436 (service_uuid == 0))) { in SDP_FindServiceInDb() 449 ((p_attr->attr_value.v.u16 == service_uuid) || service_uuid == 0)) in SDP_FindServiceInDb()
|
D | sdp_utils.cc | 186 uint16_t service_uuid = sdpu_find_most_specific_service_uuid(p_rec); in sdpu_log_attribute_metrics() local 187 if (service_uuid == 0) { in sdpu_log_attribute_metrics() 194 log_sdp_attribute(bda, service_uuid, 0, 0, nullptr); in sdpu_log_attribute_metrics() 206 switch (service_uuid) { in sdpu_log_attribute_metrics() 234 switch (service_uuid) { in sdpu_log_attribute_metrics() 251 log_sdp_attribute(bda, service_uuid, ATTR_ID_SUPPORTED_FEATURES, in sdpu_log_attribute_metrics() 266 log_sdp_attribute(bda, service_uuid, ATTR_ID_MAP_SUPPORTED_FEATURES, in sdpu_log_attribute_metrics() 281 log_sdp_attribute(bda, service_uuid, ATTR_ID_PBAP_SUPPORTED_FEATURES, in sdpu_log_attribute_metrics() 286 if (service_uuid == UUID_SERVCLASS_PNP_INFORMATION) { in sdpu_log_attribute_metrics()
|
/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_sdp.cc | 131 bool bta_ag_add_record(uint16_t service_uuid, const char* p_service_name, in bta_ag_add_record() argument 145 APPL_TRACE_DEBUG("%s uuid: %x", __func__, service_uuid); in bta_ag_add_record() 162 svc_class_id_list[0] = service_uuid; in bta_ag_add_record() 168 if (service_uuid == UUID_SERVCLASS_AG_HANDSFREE) { in bta_ag_add_record() 189 if (service_uuid == UUID_SERVCLASS_AG_HANDSFREE) { in bta_ag_add_record()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_ar_api.h | 121 void bta_ar_reg_avrc(uint16_t service_uuid, const char* p_service_name, 135 void bta_ar_dereg_avrc(uint16_t service_uuid);
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bta_ar.cc | 43 void bta_ar_dereg_avrc(uint16_t service_uuid) { inc_func_call_count(__func__); } in bta_ar_dereg_avrc() argument 49 void bta_ar_reg_avrc(uint16_t service_uuid, const char* service_name, in bta_ar_reg_avrc() argument
|
D | mock_stack_avrc_sdp.cc | 36 uint16_t AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, in AVRC_AddRecord() argument 43 uint16_t AVRC_FindService(uint16_t service_uuid, const RawAddress& bd_addr, in AVRC_FindService() argument
|
D | mock_a2dp_api.cc | 40 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, in A2DP_AddRecord() argument 46 tA2DP_STATUS A2DP_FindService(uint16_t service_uuid, const RawAddress& bd_addr, in A2DP_FindService() argument
|
D | mock_stack_a2dp_api.cc | 40 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, in A2DP_AddRecord() argument 46 tA2DP_STATUS A2DP_FindService(uint16_t service_uuid, const RawAddress& bd_addr, in A2DP_FindService() argument
|
D | mock_stack_sdp_api.h | 198 uint16_t service_uuid, 200 body{[](const tSDP_DISCOVERY_DB* p_db, uint16_t service_uuid, 203 uint16_t service_uuid, tSDP_DISC_REC* p_start_rec) { in operator() 204 return body(p_db, service_uuid, p_start_rec); in operator()
|
D | mock_stack_sdp_api.cc | 133 uint16_t service_uuid, in SDP_FindServiceInDb() argument 136 return test::mock::stack_sdp_api::SDP_FindServiceInDb(p_db, service_uuid, in SDP_FindServiceInDb()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | socket.rs | 153 service_uuid: Option<Uuid128Bit>, in listen() 161 let uuid = match service_uuid { in listen() 190 service_uuid: Option<Uuid128Bit>, in connect() 198 let uuid = match service_uuid { in connect()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | a2dp_api.h | 122 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, 161 tA2DP_STATUS A2DP_FindService(uint16_t service_uuid, const RawAddress& bd_addr,
|
D | avrc_api.h | 329 uint16_t AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, 388 uint16_t AVRC_FindService(uint16_t service_uuid, const RawAddress& bd_addr,
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | avrcp_internal.h | 39 virtual uint16_t AddRecord(uint16_t service_uuid, const char* p_service_name, 47 virtual uint16_t FindService(uint16_t service_uuid, const RawAddress& bd_addr,
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_cache.cc | 374 Uuid service_uuid; in bta_gattc_sdp_callback() local 375 if (!SDP_FindServiceUUIDInRec(p_sdp_rec, &service_uuid)) continue; in bta_gattc_sdp_callback() 385 VLOG(1) << "Found ATT service uuid=" << service_uuid in bta_gattc_sdp_callback() 400 service_uuid, true); in bta_gattc_sdp_callback() 596 cb_data.srvc_res.service_uuid.inst_id = service.handle; in bta_gattc_search_service() 597 cb_data.srvc_res.service_uuid.uuid = service.uuid; in bta_gattc_search_service()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_api.cc | 103 uint16_t service_uuid) { in BTA_AvRegister() argument 115 p_buf->service_uuid = service_uuid; in BTA_AvRegister()
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 67 uint16_t AddRecord(uint16_t service_uuid, const char* p_service_name, in AddRecord() argument 72 return AVRC_AddRecord(service_uuid, p_service_name, p_provider_name, in AddRecord() 81 uint16_t FindService(uint16_t service_uuid, const RawAddress& bd_addr, in FindService() argument 84 return AVRC_FindService(service_uuid, bd_addr, p_db, p_cback); in FindService()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_sock.h | 71 const bluetooth::Uuid* service_uuid, int channel,
|