Lines Matching refs:StringPrintf

45 using android::base::StringPrintf;
195 << StringPrintf("%s: level=%u", __func__, nfc_debug_enabled); in initializeGlobalDebugEnabledFlag()
294 << StringPrintf("%s: event= %u", __func__, connEvent); in nfaConnectionCallback()
299 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
309 << StringPrintf("%s: NFA_POLL_DISABLED_EVT: status = %u", __func__, in nfaConnectionCallback()
319 << StringPrintf("%s: NFA_RF_DISCOVERY_STARTED_EVT: status = %u", in nfaConnectionCallback()
329 << StringPrintf("%s: NFA_RF_DISCOVERY_STOPPED_EVT: status = %u", in nfaConnectionCallback()
340 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
344 LOG(ERROR) << StringPrintf("%s: NFA_DISC_RESULT_EVT error: status = %d", in nfaConnectionCallback()
353 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
366 LOG(ERROR) << StringPrintf( in nfaConnectionCallback()
375 << StringPrintf("%s: NFA_DEACTIVATE_FAIL_EVT: status = %d", __func__, in nfaConnectionCallback()
381 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
421 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
428 << StringPrintf("%s: NFA_ACTIVATED_EVT; is p2p", __func__); in nfaConnectionCallback()
433 << StringPrintf("%s: Disabling RF field events", __func__); in nfaConnectionCallback()
439 << StringPrintf("%s: Disabled RF field events", __func__); in nfaConnectionCallback()
441 LOG(ERROR) << StringPrintf("%s: Failed to disable RF field events", in nfaConnectionCallback()
463 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
496 << StringPrintf("%s: NFA_DEACTIVATED_EVT; is p2p", __func__); in nfaConnectionCallback()
503 << StringPrintf("%s: Enabling RF field events", __func__); in nfaConnectionCallback()
509 << StringPrintf("%s: Enabled RF field events", __func__); in nfaConnectionCallback()
511 LOG(ERROR) << StringPrintf( in nfaConnectionCallback()
523 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
529 LOG(ERROR) << StringPrintf("%s: NFA_TLV_DETECT_EVT error: status = %d", in nfaConnectionCallback()
538 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
552 << StringPrintf("%s: NFA_DATA_EVT: status = 0x%X, len = %d", __func__, in nfaConnectionCallback()
559 << StringPrintf("%s: NFC_RW_INTF_ERROR_EVT", __func__); in nfaConnectionCallback()
565 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
568 LOG(ERROR) << StringPrintf("%s: NFA_SELECT_CPLT_EVT error: status = %d", in nfaConnectionCallback()
574 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
581 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
587 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
594 << StringPrintf("%s: NFA_CE_NDEF_WRITE_START_EVT: status: %d", in nfaConnectionCallback()
598 LOG(ERROR) << StringPrintf( in nfaConnectionCallback()
605 << StringPrintf("%s: FA_CE_NDEF_WRITE_CPLT_EVT: len = %u", __func__, in nfaConnectionCallback()
610 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
625 << StringPrintf("%s: NFA_LLCP_DEACTIVATED_EVT", __func__); in nfaConnectionCallback()
631 << StringPrintf("%s: NFA_LLCP_FIRST_PACKET_RECEIVED_EVT", __func__); in nfaConnectionCallback()
636 << StringPrintf("%s: NFA_PRESENCE_CHECK_EVT", __func__); in nfaConnectionCallback()
640 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
646 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaConnectionCallback()
652 << StringPrintf("%s: NFA_CE_UICC_LISTEN_CONFIGURED_EVT : status=0x%X", in nfaConnectionCallback()
658 << StringPrintf("%s: NFA_SET_P2P_LISTEN_TECH_EVT", __func__); in nfaConnectionCallback()
664 << StringPrintf("%s: unknown event ????", __func__); in nfaConnectionCallback()
685 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); in nfcManager_initNativeStruc()
690 LOG(ERROR) << StringPrintf("%s: fail allocate native data", __func__); in nfcManager_initNativeStruc()
742 LOG(ERROR) << StringPrintf("%s: fail cache NativeNfcTag", __func__); in nfcManager_initNativeStruc()
748 LOG(ERROR) << StringPrintf("%s: fail cache NativeP2pDevice", __func__); in nfcManager_initNativeStruc()
752 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_initNativeStruc()
770 << StringPrintf("%s: enter; event=0x%X", __func__, dmEvent); in nfaDeviceManagementCallback()
776 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
787 << StringPrintf("%s: NFA_DM_DISABLE_EVT", __func__); in nfaDeviceManagementCallback()
795 << StringPrintf("%s: NFA_DM_SET_CONFIG_EVT", __func__); in nfaDeviceManagementCallback()
804 << StringPrintf("%s: NFA_DM_GET_CONFIG_EVT", __func__); in nfaDeviceManagementCallback()
813 LOG(ERROR) << StringPrintf("%s: NFA_DM_GET_CONFIG failed", __func__); in nfaDeviceManagementCallback()
821 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
829 LOG(ERROR) << StringPrintf("jni env is null"); in nfaDeviceManagementCallback()
844 LOG(ERROR) << StringPrintf("%s: NFA_DM_NFCC_TIMEOUT_EVT; abort", in nfaDeviceManagementCallback()
847 LOG(ERROR) << StringPrintf("%s: NFA_DM_NFCC_TRANSPORT_ERR_EVT; abort", in nfaDeviceManagementCallback()
855 LOG(ERROR) << StringPrintf("jni env is null"); in nfaDeviceManagementCallback()
858 LOG(ERROR) << StringPrintf("%s: toggle NFC state to recovery nfc", in nfaDeviceManagementCallback()
864 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
871 << StringPrintf("%s: aborting sNfaEnableEvent", __func__); in nfaDeviceManagementCallback()
877 << StringPrintf("%s: aborting sNfaDisableEvent", __func__); in nfaDeviceManagementCallback()
882 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
888 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
894 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
905 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfaDeviceManagementCallback()
912 << StringPrintf("%s: aborting sNfaEnableEvent", __func__); in nfaDeviceManagementCallback()
918 << StringPrintf("%s: aborting sNfaDisableEvent", __func__); in nfaDeviceManagementCallback()
935 LOG(ERROR) << StringPrintf("%s: crash NFC service", __func__); in nfaDeviceManagementCallback()
949 << StringPrintf("%s: NFA_DM_SET_POWER_SUB_STATE_EVT; status=0x%X", in nfaDeviceManagementCallback()
956 << StringPrintf("%s: unhandled event", __func__); in nfaDeviceManagementCallback()
1074 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); in nfcManager_doRegisterT3tIdentifier()
1083 << StringPrintf("%s: handle=%d", __func__, handle); in nfcManager_doRegisterT3tIdentifier()
1086 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doRegisterT3tIdentifier()
1106 << StringPrintf("%s: enter; handle=%d", __func__, handle); in nfcManager_doDeregisterT3tIdentifier()
1111 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doDeregisterT3tIdentifier()
1126 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); in nfcManager_getLfT3tMax()
1127 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("LF_T3T_MAX=%d", sLfT3tMax); in nfcManager_getLfT3tMax()
1128 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_getLfT3tMax()
1153 << StringPrintf("%s: already enabled", __func__); in nfcManager_doInitialize()
1206 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfcManager_doInitialize()
1226 << StringPrintf("%s: lfT3tMax=%d", __func__, sConfig[3]); in nfcManager_doInitialize()
1240 LOG(ERROR) << StringPrintf("%s: fail nfa enable; error=0x%X", __func__, in nfcManager_doInitialize()
1254 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doInitialize()
1322 << StringPrintf("%s: enter; tech_mask = %02x", __func__, tech_mask); in nfcManager_enableDiscovery()
1325 LOG(ERROR) << StringPrintf("%s: already discovering", __func__); in nfcManager_enableDiscovery()
1344 << StringPrintf("%s: Enable p2pListening", __func__); in nfcManager_enableDiscovery()
1380 << StringPrintf("%s: Enable p2pListening", __func__); in nfcManager_enableDiscovery()
1386 << StringPrintf("%s: Disable p2pListening", __func__); in nfcManager_enableDiscovery()
1408 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_enableDiscovery()
1424 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter;", __func__); in nfcManager_disableDiscovery()
1428 << StringPrintf("%s: already disabled", __func__); in nfcManager_disableDiscovery()
1444 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_disableDiscovery()
1472 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfcManager_doCreateLlcpServiceSocket()
1480 LOG(ERROR) << StringPrintf("%s: Llcp socket object creation error", in nfcManager_doCreateLlcpServiceSocket()
1490 LOG(ERROR) << StringPrintf("%s: Llcp Socket get object class error", in nfcManager_doCreateLlcpServiceSocket()
1497 LOG(ERROR) << StringPrintf("%s: RegisterServer error", __func__); in nfcManager_doCreateLlcpServiceSocket()
1507 << StringPrintf("%s: socket Handle = 0x%X", __func__, jniHandle); in nfcManager_doCreateLlcpServiceSocket()
1514 << StringPrintf("%s: buffer length = %d", __func__, linearBufferLength); in nfcManager_doCreateLlcpServiceSocket()
1520 << StringPrintf("%s: MIU = %d", __func__, miu); in nfcManager_doCreateLlcpServiceSocket()
1526 << StringPrintf("%s: RW = %d", __func__, rw); in nfcManager_doCreateLlcpServiceSocket()
1529 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doCreateLlcpServiceSocket()
1546 << StringPrintf("%s: last error=%i", __func__, sLastError); in nfcManager_doGetLastError()
1562 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); in nfcManager_doDeinitialize()
1578 << StringPrintf("%s: wait for completion", __func__); in nfcManager_doDeinitialize()
1582 LOG(ERROR) << StringPrintf("%s: fail disable; error=0x%X", __func__, in nfcManager_doDeinitialize()
1607 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doDeinitialize()
1630 << StringPrintf("%s: enter; sap=%d; miu=%d; rw=%d; buffer len=%d", in nfcManager_doCreateLlcpSocket()
1641 LOG(ERROR) << StringPrintf("%s: fail Llcp socket creation", __func__); in nfcManager_doCreateLlcpSocket()
1650 LOG(ERROR) << StringPrintf("%s: fail get class object", __func__); in nfcManager_doCreateLlcpSocket()
1672 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doCreateLlcpSocket()
1693 << StringPrintf("%s: nSap=0x%X", __func__, nSap); in nfcManager_doCreateLlcpConnectionlessSocket()
1751 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); in nfcManager_doCheckLlcp()
1765 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); in nfcManager_doActivateLlcp()
1794 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); in nfcManager_doDownload()
1800 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in nfcManager_doDownload()
1814 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); in nfcManager_doResetTimeouts()
1833 LOG(ERROR) << StringPrintf("%s: Timeout must be positive.", __func__); in nfcManager_doSetTimeout()
1837 << StringPrintf("%s: tech=%d, timeout=%d", __func__, tech, timeout); in nfcManager_doSetTimeout()
1857 << StringPrintf("%s: tech=%d, timeout=%d", __func__, tech, timeout); in nfcManager_doGetTimeout()
1893 << StringPrintf("%s: state = %d prevScreenState= %d, discovry_param = %d", in nfcManager_doSetScreenState()
1897 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( in nfcManager_doSetScreenState()
1920 LOG(ERROR) << StringPrintf("%s: fail enable SetScreenState; error=0x%X", in nfcManager_doSetScreenState()
1961 LOG(ERROR) << StringPrintf("%s: Failed to update CON_DISCOVER_PARAM", in nfcManager_doSetScreenState()
1976 LOG(ERROR) << StringPrintf("%s: fail enable SetScreenState; error=0x%X", in nfcManager_doSetScreenState()
2018 << StringPrintf("%s: modes=0x%X", __func__, modes); in nfcManager_doSetP2pInitiatorModes()
2045 << StringPrintf("%s: modes=0x%X", __func__, modes); in nfcManager_doSetP2pTargetModes()
2255 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); in register_com_android_nfc_NativeNfcManager()
2257 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in register_com_android_nfc_NativeNfcManager()
2276 << StringPrintf("%s: is start=%d", __func__, isStart); in startRfDiscovery()
2284 LOG(ERROR) << StringPrintf( in startRfDiscovery()
2319 << StringPrintf("%s: polling frequency", __func__); in doStartupConfig()
2363 << StringPrintf("%s: enter; isStart=%u", __func__, isStartPolling); in startStopPolling()
2379 LOG(ERROR) << StringPrintf("%s: Failed to update CON_DISCOVER_PARAM", in startStopPolling()
2390 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); in startStopPolling()
2404 << StringPrintf("%s: enable polling", __func__); in startPolling_rfDiscoveryDisabled()
2408 << StringPrintf("%s: wait for enable event", __func__); in startPolling_rfDiscoveryDisabled()
2412 LOG(ERROR) << StringPrintf("%s: fail enable polling; error=0x%X", __func__, in startPolling_rfDiscoveryDisabled()
2426 << StringPrintf("%s: disable polling", __func__); in stopPolling_rfDiscoveryDisabled()
2432 LOG(ERROR) << StringPrintf("%s: fail disable polling; error=0x%X", __func__, in stopPolling_rfDiscoveryDisabled()