Lines Matching refs:StringPrintf

31 using android::base::StringPrintf;
108 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("PeerToPeer::initialize"); in initialize()
196 << StringPrintf("%s: enter; service name: %s JNI handle: %u", fn, in registerServer()
203 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in registerServer()
217 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in registerServer()
226 LOG(ERROR) << StringPrintf("%s: service name=%s no free entry", fn, in registerServer()
232 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in registerServer()
236 LOG(ERROR) << StringPrintf("%s: invalid server handle", fn); in registerServer()
259 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in removeServer()
268 LOG(ERROR) << StringPrintf("%s: unknown server jni handle: %u", fn, in removeServer()
286 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in llcpActivatedHandler()
296 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in llcpActivatedHandler()
300 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: get object class", fn); in llcpActivatedHandler()
304 LOG(ERROR) << StringPrintf("%s: fail get p2p device", fn); in llcpActivatedHandler()
308 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: instantiate", fn); in llcpActivatedHandler()
317 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: p2p initiator", fn); in llcpActivatedHandler()
320 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: p2p target", fn); in llcpActivatedHandler()
338 << StringPrintf("%s: notify nfc service", fn); in llcpActivatedHandler()
346 LOG(ERROR) << StringPrintf("%s: fail notify", fn); in llcpActivatedHandler()
349 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in llcpActivatedHandler()
366 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in llcpDeactivatedHandler()
371 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in llcpDeactivatedHandler()
376 << StringPrintf("%s: notify nfc service", fn); in llcpDeactivatedHandler()
383 LOG(ERROR) << StringPrintf("%s: fail notify", fn); in llcpDeactivatedHandler()
388 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in llcpDeactivatedHandler()
393 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in llcpFirstPacketHandler()
398 LOG(ERROR) << StringPrintf("%s: jni env is null", fn); in llcpFirstPacketHandler()
403 << StringPrintf("%s: notify nfc service", fn); in llcpFirstPacketHandler()
410 LOG(ERROR) << StringPrintf("%s: fail notify", fn); in llcpFirstPacketHandler()
413 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in llcpFirstPacketHandler()
433 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in accept()
440 LOG(ERROR) << StringPrintf("%s: unknown server jni handle: %u", fn, in accept()
462 << StringPrintf("%s: enter; JNI handle: %u", fn, jniHandle); in deregisterServer()
469 LOG(ERROR) << StringPrintf("%s: unknown service handle: %u", fn, jniHandle); in deregisterServer()
487 LOG(ERROR) << StringPrintf("%s: deregister error=0x%X", fn, nfaStat); in deregisterServer()
496 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in deregisterServer()
515 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in createClient()
533 LOG(ERROR) << StringPrintf("%s: fail", fn); in createClient()
538 << StringPrintf("%s: pClient: 0x%p assigned for client jniHandle: %u", in createClient()
548 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in createClient()
553 LOG(ERROR) << StringPrintf( in createClient()
583 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in removeConn()
598 LOG(ERROR) << StringPrintf("%s: could not find handle: %u", fn, jniHandle); in removeConn()
615 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in connectConnOriented()
619 << StringPrintf("%s: exit; h: %u stat: %u", fn, jniHandle, stat); in connectConnOriented()
637 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in connectConnOriented()
641 << StringPrintf("%s: exit; h: %u stat: %u", fn, jniHandle, stat); in connectConnOriented()
661 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in createDataLinkConn()
666 LOG(ERROR) << StringPrintf("%s: can't find client, JNI handle: %u", fn, in createDataLinkConn()
686 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in createDataLinkConn()
701 LOG(ERROR) << StringPrintf("%s: fail; error=0x%X", fn, nfaStat); in createDataLinkConn()
704 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in createDataLinkConn()
855 LOG(ERROR) << StringPrintf("%s: can't find connection handle: %u", fn, in send()
861 << StringPrintf("%s: send data; jniHandle: %u nfaHandle: 0x%04X", fn, in send()
876 << StringPrintf("%s: peer disconnected", fn); in send()
883 << StringPrintf("%s: exit OK; JNI handle: %u NFA Handle: 0x%04x", fn, in send()
886 LOG(ERROR) << StringPrintf( in send()
909 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in receive()
918 LOG(ERROR) << StringPrintf("%s: can't find connection handle: %u", fn, in receive()
924 << StringPrintf("%s: jniHandle: %u nfaHandle: 0x%04X buf len=%u", fn, in receive()
938 << StringPrintf("%s: waiting for data...", fn); in receive()
946 << StringPrintf("%s: exit; nfa h: 0x%X ok: %u actual len: %u", fn, in receive()
968 << StringPrintf("%s: enter; jni handle: %u", fn, jniHandle); in disconnectConnOriented()
971 LOG(ERROR) << StringPrintf("%s: can't find connection handle: %u", fn, in disconnectConnOriented()
994 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in disconnectConnOriented()
1000 LOG(ERROR) << StringPrintf("%s: fail p2p disconnect", fn); in disconnectConnOriented()
1010 << StringPrintf("%s: exit; jni handle: %u", fn, jniHandle); in disconnectConnOriented()
1029 LOG(ERROR) << StringPrintf("%s: can't find client jniHandle: %u", fn, in getRemoteMaxInfoUnit()
1033 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in getRemoteMaxInfoUnit()
1051 << StringPrintf("%s: client jni handle: %u", fn, jniHandle); in getRemoteRecvWindow()
1055 LOG(ERROR) << StringPrintf("%s: can't find client", fn); in getRemoteRecvWindow()
1120 << StringPrintf("%s: enter isEnable: %u mIsP2pListening: %u", fn, in enableP2pListening()
1131 LOG(ERROR) << StringPrintf("%s: fail enable listen; error=0x%X", fn, in enableP2pListening()
1140 LOG(ERROR) << StringPrintf("%s: fail disable listen; error=0x%X", fn, in enableP2pListening()
1144 << StringPrintf("%s: exit; mIsP2pListening: %u", fn, mIsP2pListening); in enableP2pListening()
1160 << StringPrintf("%s: enter; is on=%u", fn, isOn); in handleNfcOnOff()
1199 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in handleNfcOnOff()
1220 << StringPrintf("%s: enter; event=0x%X", fn, p2pEvent); in nfaServerCallback()
1225 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1236 LOG(ERROR) << StringPrintf( in nfaServerCallback()
1248 << StringPrintf("%s: NFA_P2P_ACTIVATED_EVT; handle: 0x%04x", fn, in nfaServerCallback()
1254 << StringPrintf("%s: NFA_P2P_DEACTIVATED_EVT; handle: 0x%04x", fn, in nfaServerCallback()
1259 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1269 LOG(ERROR) << StringPrintf("%s: NFA_P2P_CONN_REQ_EVT; unknown server h", in nfaServerCallback()
1273 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1279 LOG(ERROR) << StringPrintf( in nfaServerCallback()
1286 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1295 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1302 << StringPrintf("%s: NFA_P2P_DISC_EVT; h=0x%04x; reason=0x%X", fn, in nfaServerCallback()
1306 LOG(ERROR) << StringPrintf( in nfaServerCallback()
1313 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1317 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1321 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1325 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1330 << StringPrintf("%s: NFA_P2P_DISC_EVT; try guard read event", fn); in nfaServerCallback()
1334 << StringPrintf("%s: NFA_P2P_DISC_EVT; notified read event", fn); in nfaServerCallback()
1343 LOG(ERROR) << StringPrintf( in nfaServerCallback()
1348 << StringPrintf("%s: NFA_P2P_DATA_EVT; h=0x%X; remote sap=0x%X", fn, in nfaServerCallback()
1358 LOG(ERROR) << StringPrintf( in nfaServerCallback()
1362 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaServerCallback()
1374 << StringPrintf("%s: unknown event 0x%X ????", fn, p2pEvent); in nfaServerCallback()
1377 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", fn); in nfaServerCallback()
1398 << StringPrintf("%s: enter; event=%u", fn, p2pEvent); in nfaClientCallback()
1405 LOG(ERROR) << StringPrintf( in nfaClientCallback()
1408 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1421 LOG(ERROR) << StringPrintf( in nfaClientCallback()
1424 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1432 << StringPrintf("%s: NFA_P2P_DEACTIVATED_EVT: conn handle: 0x%X", fn, in nfaClientCallback()
1440 LOG(ERROR) << StringPrintf( in nfaClientCallback()
1444 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1463 << StringPrintf("%s: NFA_P2P_DISC_EVT; h=0x%04x; reason=0x%X", fn, in nfaClientCallback()
1469 LOG(ERROR) << StringPrintf( in nfaClientCallback()
1481 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1485 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1489 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1493 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1498 << StringPrintf("%s: NFA_P2P_DISC_EVT; try guard read event", fn); in nfaClientCallback()
1502 << StringPrintf("%s: NFA_P2P_DISC_EVT; notified read event", fn); in nfaClientCallback()
1511 LOG(ERROR) << StringPrintf( in nfaClientCallback()
1516 << StringPrintf("%s: NFA_P2P_DATA_EVT; h=0x%X; remote sap=0x%X", fn, in nfaClientCallback()
1526 LOG(ERROR) << StringPrintf( in nfaClientCallback()
1530 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaClientCallback()
1540 LOG(ERROR) << StringPrintf("%s: unknown event 0x%X ????", fn, p2pEvent); in nfaClientCallback()
1607 << StringPrintf("%s: enter; service name: %s JNI handle: %u", fn, in registerWithStack()
1634 LOG(ERROR) << StringPrintf("%s: fail set LLCP config; error=0x%X", fn, in registerWithStack()
1646 LOG(ERROR) << StringPrintf("%s: fail register p2p server; error=0x%X", fn, in registerWithStack()
1651 << StringPrintf("%s: wait for listen-completion event", fn); in registerWithStack()
1667 LOG(ERROR) << StringPrintf("%s: failed to allocate new server connection", in accept()
1676 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in accept()
1681 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in accept()
1690 << StringPrintf("%s: no handle assigned", fn); in accept()
1695 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in accept()
1701 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in accept()
1709 LOG(ERROR) << StringPrintf("%s: fail to accept remote; error=0x%X", fn, in accept()
1714 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in accept()