Home
last modified time | relevance | path

Searched refs:p_service_name (Results 1 – 25 of 34) sorted by relevance

12

/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc93 bool bta_hf_client_add_record(const char* p_service_name, uint8_t scn, in bta_hf_client_add_record() argument
132 if (p_service_name != NULL && p_service_name[0] != 0) { in bta_hf_client_add_record()
135 (uint32_t)(strlen(p_service_name) + 1), (uint8_t*)p_service_name); in bta_hf_client_add_record()
177 const char* p_service_name) { in bta_hf_client_create_record() argument
182 bta_hf_client_add_record(p_service_name, client_cb_arr->scn, in bta_hf_client_create_record()
Dbta_hf_client_api.cc60 const char* p_service_name) { in BTA_HfClientEnable() argument
61 return bta_hf_client_api_enable(p_cback, features, p_service_name); in BTA_HfClientEnable()
Dbta_hf_client_int.h233 const char* p_service_name);
240 extern bool bta_hf_client_add_record(char* p_service_name, uint8_t scn,
/system/bt/stack/include/
Da2dp_api.h72 char* p_service_name; /* Pointer the service name. This character string may member
121 extern tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name,
Davrc_api.h277 const char* p_service_name,
/system/bt/stack/test/fuzzers/a2dp/
Da2dpFuzzFunctions.h53 std::vector<char> p_service_name =
57 A2DP_AddRecord(fdp->ConsumeIntegral<uint16_t>(), p_service_name.data(),
/system/bt/stack/a2dp/
Da2dp_api.cc89 a2dp_svc.p_service_name = (char*)p_attr->attr_value.v.array; in a2dp_sdp_cback()
173 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, in A2DP_AddRecord() argument
224 if (p_service_name != NULL) { in A2DP_AddRecord()
227 (uint32_t)(strlen(p_service_name) + 1), (uint8_t*)p_service_name); in A2DP_AddRecord()
/system/bt/stack/avrc/
Davrc_sdp.cc188 uint16_t AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, in AVRC_AddRecord() argument
314 if (p_service_name != NULL) { in AVRC_AddRecord()
317 (uint32_t)(strlen(p_service_name) + 1), (uint8_t*)p_service_name); in AVRC_AddRecord()
/system/nfc/src/nfa/include/
Dnfa_p2p_api.h205 char* p_service_name,
312 char* p_service_name, uint16_t miu,
481 char* p_service_name);
/system/nfc/src/nfc/llcp/
Dllcp_api.cc361 std::string p_service_name, in LLCP_RegisterServer() argument
371 ((p_service_name.empty()) ? "" : p_service_name.c_str())); in LLCP_RegisterServer()
428 if (!p_service_name.empty()) { in LLCP_RegisterServer()
429 length = p_service_name.length(); in LLCP_RegisterServer()
435 p_app_cb->p_service_name = (char*)GKI_getbuf((uint16_t)(length + 1)); in LLCP_RegisterServer()
436 if (p_app_cb->p_service_name == nullptr) { in LLCP_RegisterServer()
441 strlcpy(p_app_cb->p_service_name, p_service_name.c_str(), length + 1); in LLCP_RegisterServer()
442 p_app_cb->p_service_name[length] = 0; in LLCP_RegisterServer()
444 p_app_cb->p_service_name = nullptr; in LLCP_RegisterServer()
510 p_app_cb->p_service_name = nullptr; in LLCP_RegisterClient()
[all …]
Dllcp_sdp.cc301 (strlen((char*)p_app_cb->p_service_name) == length) && in llcp_sdp_get_sap_by_name()
302 (!strncmp((char*)p_app_cb->p_service_name, p_name, length))) { in llcp_sdp_get_sap_by_name()
304 if (llcp_cb.p_dta_cback && (!strncmp((char*)p_app_cb->p_service_name, in llcp_sdp_get_sap_by_name()
/system/bt/bta/include/
Dbta_ar_api.h120 extern void bta_ar_reg_avrc(uint16_t service_uuid, const char* p_service_name,
Dbta_hf_client_api.h299 const char* p_service_name);
/system/bt/bta/ag/
Dbta_ag_sdp.cc125 bool bta_ag_add_record(uint16_t service_uuid, const char* p_service_name, in bta_ag_add_record() argument
170 if (p_service_name != nullptr && p_service_name[0] != 0) { in bta_ag_add_record()
173 (uint32_t)(strlen(p_service_name) + 1), (uint8_t*)p_service_name); in bta_ag_add_record()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc65 char* p_service_name, in NFA_P2pRegisterServer() argument
71 link_type, p_service_name); in NFA_P2pRegisterServer()
92 strlcpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pRegisterServer()
361 char* p_service_name, uint16_t miu, in NFA_P2pConnectByName() argument
368 client_handle, p_service_name, miu, rw); in NFA_P2pConnectByName()
388 strlcpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pConnectByName()
902 tNFA_STATUS NFA_P2pGetRemoteSap(tNFA_HANDLE handle, char* p_service_name) { in NFA_P2pGetRemoteSap() argument
907 << StringPrintf("handle:0x%x, SN:<%s>", handle, p_service_name); in NFA_P2pGetRemoteSap()
927 strlcpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pGetRemoteSap()
/system/bt/test/mock/
Dmock_stack_avrc_sdp.cc37 uint16_t AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, in AVRC_AddRecord() argument
Dmock_a2dp_api.cc40 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, in A2DP_AddRecord() argument
Dmock_bta_hf_client_api.cc43 const char* p_service_name) { in BTA_HfClientEnable() argument
Dmock_stack_a2dp_api.cc40 tA2DP_STATUS A2DP_AddRecord(uint16_t service_uuid, char* p_service_name, in A2DP_AddRecord() argument
Dmock_bta_av_api.cc80 void BTA_AvRegister(tBTA_AV_CHNL chnl, const char* p_service_name, in BTA_AvRegister() argument
/system/bt/btif/test/
Dbtif_hf_client_service_test.cc15 const char* p_service_name) { in BTA_HfClientEnable() argument
/system/bt/bta/av/
Dbta_av_api.cc100 void BTA_AvRegister(tBTA_AV_CHNL chnl, const char* p_service_name, in BTA_AvRegister() argument
108 if (p_service_name) in BTA_AvRegister()
109 strlcpy(p_buf->p_service_name, p_service_name, BTA_SERVICE_NAME_LEN); in BTA_AvRegister()
111 p_buf->p_service_name[0] = 0; in BTA_AvRegister()
Dbta_av_main.cc392 char* p_service_name; in bta_av_api_register() local
515 if (p_data->api_reg.p_service_name[0] == 0) { in bta_av_api_register()
516 p_service_name = NULL; in bta_av_api_register()
518 p_service_name = p_data->api_reg.p_service_name; in bta_av_api_register()
598 A2DP_AddRecord(UUID_SERVCLASS_AUDIO_SOURCE, p_service_name, NULL, in bta_av_api_register()
604 A2DP_AddRecord(UUID_SERVCLASS_AUDIO_SINK, p_service_name, NULL, in bta_av_api_register()
/system/nfc/src/nfc/include/
Dllcp_api.h144 char* p_service_name; /* Service name (only for SDP) */ member
352 std::string p_service_name,
/system/bt/profile/avrcp/
Davrcp_internal.h36 virtual uint16_t AddRecord(uint16_t service_uuid, const char* p_service_name,

12