Home
last modified time | relevance | path

Searched refs:sap (Results 1 – 10 of 10) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_sdp.cc200 static void llcp_sdp_add_sdres(uint8_t tid, uint8_t sap) { in llcp_sdp_add_sdres() argument
209 UINT8_TO_BE_STREAM(p, sap); in llcp_sdp_add_sdres()
224 static tLLCP_STATUS llcp_sdp_send_sdres(uint8_t tid, uint8_t sap) { in llcp_sdp_send_sdres() argument
229 << StringPrintf("tid=0x%x, SAP=0x%x", tid, sap); in llcp_sdp_send_sdres()
250 llcp_sdp_add_sdres(tid, sap); in llcp_sdp_send_sdres()
263 llcp_sdp_add_sdres(tid, sap); in llcp_sdp_send_sdres()
294 uint8_t sap; in llcp_sdp_get_sap_by_name() local
297 for (sap = LLCP_SAP_SDP; sap <= LLCP_UPPER_BOUND_SDP_SAP; sap++) { in llcp_sdp_get_sap_by_name()
298 p_app_cb = llcp_util_get_app_cb(sap); in llcp_sdp_get_sap_by_name()
309 return (sap); in llcp_sdp_get_sap_by_name()
[all …]
Dllcp_main.cc122 uint8_t sap; in llcp_cleanup() local
127 for (sap = LLCP_SAP_SDP; sap < LLCP_NUM_SAPS; sap++) { in llcp_cleanup()
128 p_app_cb = llcp_util_get_app_cb(sap); in llcp_cleanup()
131 LLCP_Deregister(sap); in llcp_cleanup()
Dllcp_link.cc578 uint8_t sap; in llcp_link_update_status() local
585 for (sap = LLCP_SAP_SDP + 1; sap < LLCP_NUM_SAPS; sap++) { in llcp_link_update_status()
586 p_app_cb = llcp_util_get_app_cb(sap); in llcp_link_update_status()
589 data.link_status.local_sap = sap; in llcp_link_update_status()
608 uint8_t sap, idx; in llcp_link_check_congestion() local
631 for (sap = LLCP_SAP_SDP + 1; sap < LLCP_NUM_SAPS; sap++) { in llcp_link_check_congestion()
632 p_app_cb = llcp_util_get_app_cb(sap); in llcp_link_check_congestion()
641 "Logical link (SAP=0x%X) congestion start: count=%d", sap, in llcp_link_check_congestion()
644 data.congest.local_sap = sap; in llcp_link_check_congestion()
687 uint8_t xx, sap, idx; in llcp_link_check_uncongested() local
[all …]
Dllcp_api.cc363 uint8_t sap; in LLCP_RegisterServer() local
384 for (sap = 0; sap < LLCP_MAX_SERVER; sap++) { in LLCP_RegisterServer()
385 if (llcp_cb.server_cb[sap].p_app_cback == nullptr) { in LLCP_RegisterServer()
386 p_app_cb = &llcp_cb.server_cb[sap]; in LLCP_RegisterServer()
387 reg_sap = LLCP_LOWER_BOUND_SDP_SAP + sap; in LLCP_RegisterServer()
479 uint8_t sap; in LLCP_RegisterClient() local
495 for (sap = 0; sap < LLCP_MAX_CLIENT; sap++) { in LLCP_RegisterClient()
496 if (llcp_cb.client_cb[sap].p_app_cback == nullptr) { in LLCP_RegisterClient()
497 p_app_cb = &llcp_cb.client_cb[sap]; in LLCP_RegisterClient()
499 reg_sap = LLCP_LOWER_BOUND_LOCAL_SAP + sap; in LLCP_RegisterClient()
/system/bt/bta/sdp/
Dbta_sdp_act.cc281 record->sap.hdr.type = SDP_TYPE_MAP_MAS; in bta_create_sap_sdp_record()
282 record->sap.hdr.service_name_length = 0; in bta_create_sap_sdp_record()
283 record->sap.hdr.service_name = NULL; in bta_create_sap_sdp_record()
284 record->sap.hdr.rfcomm_channel_number = 0; in bta_create_sap_sdp_record()
285 record->sap.hdr.l2cap_psm = -1; in bta_create_sap_sdp_record()
286 record->sap.hdr.profile_version = 0; in bta_create_sap_sdp_record()
290 record->sap.hdr.service_name_length = in bta_create_sap_sdp_record()
292 record->sap.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_sap_sdp_record()
296 record->sap.hdr.profile_version = pversion; in bta_create_sap_sdp_record()
300 record->sap.hdr.rfcomm_channel_number = pe.params[0]; in bta_create_sap_sdp_record()
/system/bt/include/hardware/
Dbt_sdp.h107 bluetooth_sdp_sap_record sap; member
/system/nfc/src/nfc/include/
Dllcp_api.h381 extern tLLCP_STATUS LLCP_Deregister(uint8_t sap);
Dllcp_int.h334 tLLCP_APP_CB* llcp_util_get_app_cb(uint8_t sap);
/system/sepolicy/vendor/
Dfile_contexts60 /(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-sap-service u:object_r:hal_radio_de…
/system/bt/btif/src/
Dbtif_sdp_server.cc340 handle = add_saps_sdp(&record->sap); in on_create_record_event()