Searched refs:reg_sap (Results 1 – 4 of 4) sorted by relevance
/system/nfc/src/nfc/llcp/ |
D | llcp_api.cc | 360 uint8_t LLCP_RegisterServer(uint8_t reg_sap, uint8_t link_type, in LLCP_RegisterServer() argument 370 "SAP:0x%x, link_type:0x%x, ServiceName:<%s>", reg_sap, link_type, in LLCP_RegisterServer() 382 if (reg_sap == LLCP_INVALID_SAP) { in LLCP_RegisterServer() 387 reg_sap = LLCP_LOWER_BOUND_SDP_SAP + sap; in LLCP_RegisterServer() 392 if (reg_sap == LLCP_INVALID_SAP) { in LLCP_RegisterServer() 396 } else if (reg_sap == LLCP_SAP_LM) { in LLCP_RegisterServer() 397 LOG(ERROR) << StringPrintf("SAP (0x%x) is for link manager", reg_sap); in LLCP_RegisterServer() 399 } else if (reg_sap <= LLCP_UPPER_BOUND_WK_SAP) { in LLCP_RegisterServer() 400 if (reg_sap >= LLCP_MAX_WKS) { in LLCP_RegisterServer() 401 LOG(ERROR) << StringPrintf("out of resource for SAP (0x%x)", reg_sap); in LLCP_RegisterServer() [all …]
|
D | llcp_util.cc | 347 tLLCP_DLCB* llcp_util_allocate_data_link(uint8_t reg_sap, uint8_t remote_sap) { in llcp_util_allocate_data_link() argument 352 << StringPrintf("reg_sap = 0x%x, remote_sap = 0x%x", reg_sap, remote_sap); in llcp_util_allocate_data_link() 366 p_dlcb->p_app_cb = llcp_util_get_app_cb(reg_sap); in llcp_util_allocate_data_link() 367 p_dlcb->local_sap = reg_sap; in llcp_util_allocate_data_link()
|
/system/nfc/src/nfc/include/ |
D | llcp_api.h | 351 extern uint8_t LLCP_RegisterServer(uint8_t reg_sap, uint8_t link_type, 455 extern tLLCP_STATUS LLCP_ConnectReq(uint8_t reg_sap, uint8_t dsap,
|
D | llcp_int.h | 319 tLLCP_DLCB* llcp_util_allocate_data_link(uint8_t reg_sap, uint8_t remote_sap);
|