Lines Matching refs:StringPrintf
30 using android::base::StringPrintf;
70 << StringPrintf("server_sap:0x%02x, link_type:0x%x, SN:<%s>", server_sap, in NFA_P2pRegisterServer()
76 LOG(ERROR) << StringPrintf("server_sap must be between %d and %d", in NFA_P2pRegisterServer()
81 LOG(ERROR) << StringPrintf("link type (0x%x) must be specified", link_type); in NFA_P2pRegisterServer()
125 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("link_type:0x%x", link_type); in NFA_P2pRegisterClient()
129 LOG(ERROR) << StringPrintf("link type (0x%x) must be specified", link_type); in NFA_P2pRegisterClient()
169 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%02X", handle); in NFA_P2pDeregister()
174 LOG(ERROR) << StringPrintf("Handle is invalid or not registered"); in NFA_P2pDeregister()
210 << StringPrintf("handle:0x%02X, MIU:%d, RW:%d", handle, miu, rw); in NFA_P2pAcceptConn()
215 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pAcceptConn()
222 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pAcceptConn()
227 LOG(ERROR) << StringPrintf("MIU(%d) must be between %d and %d", miu, in NFA_P2pAcceptConn()
262 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%02X", handle); in NFA_P2pRejectConn()
267 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pRejectConn()
274 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pRejectConn()
315 << StringPrintf("handle:0x%02X, flush=%d", handle, flush); in NFA_P2pDisconnect()
323 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pDisconnect()
327 LOG(ERROR) << StringPrintf("Handle is not valid"); in NFA_P2pDisconnect()
367 << StringPrintf("client_handle:0x%x, SN:<%s>, MIU:%d, RW:%d", in NFA_P2pConnectByName()
373 LOG(ERROR) << StringPrintf("Client Handle is not valid"); in NFA_P2pConnectByName()
380 LOG(ERROR) << StringPrintf( in NFA_P2pConnectByName()
424 << StringPrintf("client_handle:0x%x, DSAP:0x%02X, MIU:%d, RW:%d", in NFA_P2pConnectBySap()
430 LOG(ERROR) << StringPrintf("Client Handle is not valid"); in NFA_P2pConnectBySap()
437 LOG(ERROR) << StringPrintf( in NFA_P2pConnectBySap()
481 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in NFA_P2pSendUI()
489 LOG(ERROR) << StringPrintf("Handle (0x%X) is not valid", handle); in NFA_P2pSendUI()
492 LOG(ERROR) << StringPrintf( in NFA_P2pSendUI()
498 LOG(WARNING) << StringPrintf( in NFA_P2pSendUI()
507 LOG(WARNING) << StringPrintf("handle:0x%X, logical data link is congested", in NFA_P2pSendUI()
569 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%X", handle); in NFA_P2pReadUI()
576 LOG(ERROR) << StringPrintf("Handle (0x%X) is not valid", handle); in NFA_P2pReadUI()
604 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%X", handle); in NFA_P2pFlushUI()
611 LOG(ERROR) << StringPrintf("Handle (0x%X) is not valid", handle); in NFA_P2pFlushUI()
645 << StringPrintf("handle:0x%X, length:%d", handle, length); in NFA_P2pSendData()
654 LOG(ERROR) << StringPrintf("Handle(0x%X) is not valid", handle); in NFA_P2pSendData()
657 LOG(ERROR) << StringPrintf("handle:0x%X, Remote set RW to 0 (flow off)", in NFA_P2pSendData()
661 LOG(ERROR) << StringPrintf("handle:0x%X, Data more than remote MIU(%d)", in NFA_P2pSendData()
665 LOG(WARNING) << StringPrintf( in NFA_P2pSendData()
677 LOG(WARNING) << StringPrintf( in NFA_P2pSendData()
736 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%X", handle); in NFA_P2pReadData()
745 LOG(ERROR) << StringPrintf("Handle(0x%X) is not valid", handle); in NFA_P2pReadData()
774 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%X", handle); in NFA_P2pFlushData()
783 LOG(ERROR) << StringPrintf("Handle(0x%X) is not valid", handle); in NFA_P2pFlushData()
813 << StringPrintf("conn_handle:0x%02X, is_busy:%d", conn_handle, is_busy); in NFA_P2pSetLocalBusy()
818 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pSetLocalBusy()
825 LOG(ERROR) << StringPrintf("Connection Handle is not valid"); in NFA_P2pSetLocalBusy()
861 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("handle:0x%x", handle); in NFA_P2pGetLinkInfo()
864 LOG(ERROR) << StringPrintf("LLCP link is not activated"); in NFA_P2pGetLinkInfo()
871 LOG(ERROR) << StringPrintf("Handle is invalid or not registered"); in NFA_P2pGetLinkInfo()
907 << StringPrintf("handle:0x%x, SN:<%s>", handle, p_service_name); in NFA_P2pGetRemoteSap()
910 LOG(ERROR) << StringPrintf("LLCP link is not activated"); in NFA_P2pGetRemoteSap()
917 LOG(ERROR) << StringPrintf("Handle is invalid or not registered"); in NFA_P2pGetRemoteSap()
974 << StringPrintf("link_miu:%d, opt:0x%02X, wt:%d, link_timeout:%d", in NFA_P2pSetLLCPConfig()
976 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in NFA_P2pSetLLCPConfig()
981 << StringPrintf(" delay_first_pdu_timeout:%d", in NFA_P2pSetLLCPConfig()
985 LOG(ERROR) << StringPrintf("LLCP link is activated"); in NFA_P2pSetLLCPConfig()
1042 << StringPrintf("link_miu:%d, opt:0x%02X, wt:%d, link_timeout:%d", in NFA_P2pGetLLCPConfig()
1044 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in NFA_P2pGetLLCPConfig()
1050 << StringPrintf(" delay_first_pdu_timeout:%d", in NFA_P2pGetLLCPConfig()