Home
last modified time | relevance | path

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

12

/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc90 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.cc54 const char* p_service_name) { in BTA_HfClientEnable() argument
55 return bta_hf_client_api_enable(p_cback, sec_mask, features, p_service_name); in BTA_HfClientEnable()
Dbta_hf_client_int.h228 const char* p_service_name);
235 extern bool bta_hf_client_add_record(char* p_service_name, uint8_t scn,
Dbta_hf_client_main.cc413 const char* p_service_name) { in bta_hf_client_api_enable() argument
431 bta_hf_client_create_record(&bta_hf_client_cb_arr, p_service_name); in bta_hf_client_api_enable()
/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.h234 const char* p_service_name,
/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.cc185 uint16_t AVRC_AddRecord(uint16_t service_uuid, const char* p_service_name, in AVRC_AddRecord() argument
271 if (p_service_name != NULL) { in AVRC_AddRecord()
274 (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);
Dnfa_p2p_int.h290 bool nfa_p2p_start_sdp(char* p_service_name, uint8_t local_sap);
/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/ag/
Dbta_ag_sdp.cc128 bool bta_ag_add_record(uint16_t service_uuid, const char* p_service_name, in bta_ag_add_record() argument
173 if (p_service_name != nullptr && p_service_name[0] != 0) { in bta_ag_add_record()
176 (uint32_t)(strlen(p_service_name) + 1), (uint8_t*)p_service_name); in bta_ag_add_record()
Dbta_ag_int.h320 extern bool bta_ag_add_record(uint16_t service_uuid, const char* p_service_name,
/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()
Dnfa_p2p_act.cc211 bool nfa_p2p_start_sdp(char* p_service_name, uint8_t local_sap) { in nfa_p2p_start_sdp() argument
214 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("SN:<%s>", p_service_name); in nfa_p2p_start_sdp()
219 if (LLCP_DiscoverService(p_service_name, nfa_p2p_sdp_cback, in nfa_p2p_start_sdp()
/system/bt/bta/include/
Dbta_ar_api.h124 extern void bta_ar_reg_avrc(uint16_t service_uuid, const char* p_service_name,
Dbta_hf_client_api.h292 const char* p_service_name);
/system/bt/bta/av/
Dbta_av_api.cc109 void BTA_AvRegister(tBTA_AV_CHNL chnl, const char* p_service_name, in BTA_AvRegister() argument
117 if (p_service_name) in BTA_AvRegister()
118 strlcpy(p_buf->p_service_name, p_service_name, BTA_SERVICE_NAME_LEN); in BTA_AvRegister()
120 p_buf->p_service_name[0] = 0; in BTA_AvRegister()
Dbta_av_main.cc504 char* p_service_name; in bta_av_api_register() local
632 if (p_data->api_reg.p_service_name[0] == 0) { in bta_av_api_register()
633 p_service_name = NULL; in bta_av_api_register()
635 p_service_name = p_data->api_reg.p_service_name; in bta_av_api_register()
717 A2DP_AddRecord(UUID_SERVCLASS_AUDIO_SOURCE, p_service_name, NULL, in bta_av_api_register()
723 A2DP_AddRecord(UUID_SERVCLASS_AUDIO_SINK, p_service_name, NULL, in bta_av_api_register()
/system/bt/btif/test/
Dbtif_hf_client_service_test.cc14 const char* p_service_name) { in BTA_HfClientEnable() argument
/system/nfc/src/nfc/include/
Dllcp_api.h144 char* p_service_name; /* Service name (only for SDP) */ member
352 std::string p_service_name,
Dllcp_int.h111 char* p_service_name; /* GKI buffer containing service name */ member
/system/bt/profile/avrcp/
Davrcp_internal.h33 virtual uint16_t AddRecord(uint16_t service_uuid, const char* p_service_name,
/system/bt/btif/avrcp/
Davrcp_service.cc63 uint16_t AddRecord(uint16_t service_uuid, const char* p_service_name, in AddRecord() argument
67 return AVRC_AddRecord(service_uuid, p_service_name, p_provider_name, in AddRecord()

12