Lines Matching refs:fn
214 static const char fn [] = "PeerToPeer::registerServer";
215 ALOGV("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle);
222 ALOGV("%s: service name=%s already registered, handle: 0x%04x", fn, serviceName, pSrv->mNfaP2pServerHandle);
236 ALOGV("%s: added new p2p server index: %d handle: %u name: %s", fn, ii, jniHandle, serviceName);
244 ALOGE("%s: service name=%s no free entry", fn, serviceName);
249 ALOGV("%s: got new p2p server h=0x%X", fn, pSrv->mNfaP2pServerHandle);
252 ALOGE("%s: invalid server handle", fn);
271 static const char fn [] = "PeerToPeer::removeServer";
280 fn, jniHandle, mServers[i]->mNfaP2pServerHandle, mServers[i]->mServiceName.c_str(), i);
286 ALOGE("%s: unknown server jni handle: %u", fn, jniHandle);
303 static const char fn [] = "PeerToPeer::llcpActivatedHandler";
304 ALOGV("%s: enter", fn);
315 ALOGE("%s: jni env is null", fn);
319 ALOGV("%s: get object class", fn);
323 ALOGE("%s: fail get p2p device", fn);
327 ALOGV("%s: instantiate", fn);
336 ALOGV("%s: p2p initiator", fn);
339 ALOGV("%s: p2p target", fn);
355 ALOGV("%s: notify nfc service", fn);
361 ALOGE("%s: fail notify", fn);
364 ALOGV("%s: exit", fn);
381 static const char fn [] = "PeerToPeer::llcpDeactivatedHandler";
382 ALOGV("%s: enter", fn);
388 ALOGE("%s: jni env is null", fn);
392 ALOGV("%s: notify nfc service", fn);
398 ALOGE("%s: fail notify", fn);
403 ALOGV("%s: exit", fn);
408 static const char fn [] = "PeerToPeer::llcpFirstPacketHandler";
409 ALOGV("%s: enter", fn);
415 ALOGE("%s: jni env is null", fn);
419 ALOGV("%s: notify nfc service", fn);
425 ALOGE("%s: fail notify", fn);
428 ALOGV("%s: exit", fn);
446 static const char fn [] = "PeerToPeer::accept";
449 ALOGV("%s: enter; server jni handle: %u; conn jni handle: %u; maxInfoUnit: %d; recvWindow: %d", fn,
455 ALOGE("%s: unknown server jni handle: %u", fn, serverJniHandle);
476 static const char fn [] = "PeerToPeer::deregisterServer";
477 ALOGV("%s: enter; JNI handle: %u", fn, jniHandle);
485 ALOGE("%s: unknown service handle: %u", fn, jniHandle);
505 ALOGE("%s: deregister error=0x%X", fn, nfaStat);
515 ALOGV("%s: exit", fn);
534 static const char fn [] = "PeerToPeer::createClient";
536 ALOGV("%s: enter: jni h: %u miu: %u rw: %u", fn, jniHandle, miu, rw);
556 ALOGE("%s: fail", fn);
560 ALOGV("%s: pClient: 0x%p assigned for client jniHandle: %u", fn, client.get(), jniHandle);
570 ALOGV("%s: exit; new client jniHandle: %u NFA Handle: 0x%04x", fn, jniHandle, client->mClientConn->mNfaConnHandle);
575 ALOGE("%s: FAILED; new client jniHandle: %u NFA Handle: 0x%04x", fn, jniHandle, client->mClientConn->mNfaConnHandle);
594 static const char fn[] = "PeerToPeer::removeConn";
606 ALOGV("%s: deleted client handle: %u index: %u", fn, jniHandle, ii);
622 ALOGE("%s: could not find handle: %u", fn, jniHandle);
639 static const char fn [] = "PeerToPeer::connectConnOriented";
640 ALOGV("%s: enter; h: %u service name=%s", fn, jniHandle, serviceName);
642 ALOGV("%s: exit; h: %u stat: %u", fn, jniHandle, stat);
660 static const char fn [] = "PeerToPeer::connectConnOriented";
661 ALOGV("%s: enter; h: %u dest sap: 0x%X", fn, jniHandle, destinationSap);
663 ALOGV("%s: exit; h: %u stat: %u", fn, jniHandle, stat);
682 static const char fn [] = "PeerToPeer::createDataLinkConn";
683 ALOGV("%s: enter", fn);
689 ALOGE("%s: can't find client, JNI handle: %u", fn, jniHandle);
706 ALOGV("%s: wait for connected event mConnectingEvent: 0x%p", fn, pClient.get());
724 ALOGE("%s: fail; error=0x%X", fn, nfaStat);
727 ALOGV("%s: exit", fn);
890 static const char fn [] = "PeerToPeer::send";
896 ALOGE("%s: can't find connection handle: %u", fn, jniHandle);
901 fn, pConn->mJniHandle, pConn->mNfaConnHandle);
914 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: peer disconnected", fn);
920 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: exit OK; JNI handle: %u NFA Handle: 0x%04x", fn, jniHandle, pConn->mNfaConnHandle);
923 fn, jniHandle, pConn->mNfaConnHandle, nfaStat);
944 static const char fn [] = "PeerToPeer::receive";
945 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: enter; jniHandle: %u bufferLen: %u", fn, jniHandle, bufferLen);
954 ALOGE("%s: can't find connection handle: %u", fn, jniHandle);
958 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: jniHandle: %u nfaHandle: 0x%04X buf len=%u", fn, pConn->mJniHandle, pConn->mNfaConnHandle, bufferLen);
970 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: waiting for data...", fn);
977 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: exit; nfa h: 0x%X ok: %u actual len: %u", fn, pConn->mNfaConnHandle, retVal, actualLen);
994 static const char fn [] = "PeerToPeer::disconnectConnOriented";
999 ALOGV("%s: enter; jni handle: %u", fn, jniHandle);
1003 ALOGE("%s: can't find connection handle: %u", fn, jniHandle);
1026 ALOGV("%s: try disconn nfa h=0x%04X", fn, pConn->mNfaConnHandle);
1031 ALOGE("%s: fail p2p disconnect", fn);
1040 ALOGV("%s: exit; jni handle: %u", fn, jniHandle);
1057 static const char fn [] = "PeerToPeer::getRemoteMaxInfoUnit";
1062 ALOGE("%s: can't find client jniHandle: %u", fn, jniHandle);
1065 ALOGV("%s: jniHandle: %u MIU: %u", fn, jniHandle, pConn->mRemoteMaxInfoUnit);
1082 static const char fn [] = "PeerToPeer::getRemoteRecvWindow";
1083 ALOGV("%s: client jni handle: %u", fn, jniHandle);
1088 ALOGE("%s: can't find client", fn);
1157 static const char fn [] = "PeerToPeer::enableP2pListening";
1160 ALOGV("%s: enter isEnable: %u mIsP2pListening: %u", fn, isEnable, mIsP2pListening);
1172 ALOGE("%s: fail enable listen; error=0x%X", fn, nfaStat);
1184 ALOGE("%s: fail disable listen; error=0x%X", fn, nfaStat);
1186 ALOGV("%s: exit; mIsP2pListening: %u", fn, mIsP2pListening);
1202 static const char fn [] = "PeerToPeer::handleNfcOnOff";
1203 ALOGV("%s: enter; is on=%u", fn, isOn);
1251 ALOGV("%s: exit", fn);
1268 static const char fn [] = "PeerToPeer::nfaServerCallback";
1272 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: enter; event=0x%X", fn, p2pEvent);
1277 ALOGV("%s: NFA_P2P_REG_SERVER_EVT; handle: 0x%04x; service sap=0x%02x name: %s", fn,
1285 ALOGE("%s: NFA_P2P_REG_SERVER_EVT for unknown service: %s", fn, eventData->reg_server.service_name);
1296 ALOGV("%s: NFA_P2P_ACTIVATED_EVT; handle: 0x%04x", fn, eventData->activated.handle);
1300 ALOGV("%s: NFA_P2P_DEACTIVATED_EVT; handle: 0x%04x", fn, eventData->activated.handle);
1304 ALOGV("%s: NFA_P2P_CONN_REQ_EVT; nfa server h=0x%04x; nfa conn h=0x%04x; remote sap=0x%02x", fn,
1312 ALOGE("%s: NFA_P2P_CONN_REQ_EVT; unknown server h", fn);
1315 ALOGV("%s: NFA_P2P_CONN_REQ_EVT; server jni h=%u", fn, pSrv->mJniHandle);
1320 ALOGE("%s: NFA_P2P_CONN_REQ_EVT; server not listening", fn);
1328 ALOGV("%s: NFA_P2P_CONN_REQ_EVT; server jni h=%u; conn jni h=%u; notify conn req", fn, pSrv->mJniHandle, pConn->mJniHandle);
1334 ALOGV("%s: NFA_P2P_CONNECTED_EVT; h=0x%x remote sap=0x%X", fn,
1339 ALOGV("%s: NFA_P2P_DISC_EVT; h=0x%04x; reason=0x%X", fn, eventData->disc.handle, eventData->disc.reason);
1343 ALOGE("%s: NFA_P2P_DISC_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->disc.handle);
1350 ALOGV("%s: NFA_P2P_DISC_EVT; try guard disconn event", fn);
1353 ALOGV("%s: NFA_P2P_DISC_EVT; notified disconn event", fn);
1356 ALOGV("%s: NFA_P2P_DISC_EVT; try guard congest event", fn);
1359 ALOGV("%s: NFA_P2P_DISC_EVT; notified congest event", fn);
1362 ALOGV("%s: NFA_P2P_DISC_EVT; try guard read event", fn);
1365 ALOGV("%s: NFA_P2P_DISC_EVT; notified read event", fn);
1375 ALOGE("%s: NFA_P2P_DATA_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->data.handle);
1379 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: NFA_P2P_DATA_EVT; h=0x%X; remote sap=0x%X", fn,
1390 ALOGE("%s: NFA_P2P_CONGEST_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->congest.handle);
1394 ALOGV("%s: NFA_P2P_CONGEST_EVT; nfa handle: 0x%04x congested: %u", fn,
1405 ALOGV("%s: unknown event 0x%X ????", fn, p2pEvent);
1408 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: exit", fn);
1425 static const char fn [] = "PeerToPeer::nfaClientCallback";
1429 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: enter; event=%u", fn, p2pEvent);
1437 ALOGE("%s: NFA_P2P_REG_CLIENT_EVT: can't find waiting client", fn);
1441 ALOGV("%s: NFA_P2P_REG_CLIENT_EVT; Conn Handle: 0x%04x, pClient: 0x%p", fn, eventData->reg_client.client_handle, pClient.get());
1453 ALOGE("%s: NFA_P2P_ACTIVATED_EVT: can't find client", fn);
1457 ALOGV("%s: NFA_P2P_ACTIVATED_EVT; Conn Handle: 0x%04x, pClient: 0x%p", fn, eventData->activated.handle, pClient.get());
1462 ALOGV("%s: NFA_P2P_DEACTIVATED_EVT: conn handle: 0x%X", fn, eventData->deactivated.handle);
1469 ALOGE("%s: NFA_P2P_CONNECTED_EVT: can't find client: 0x%04x", fn, eventData->connected.client_handle);
1473 ALOGV("%s: NFA_P2P_CONNECTED_EVT; client_handle=0x%04x conn_handle: 0x%04x remote sap=0x%X pClient: 0x%p", fn,
1485 ALOGV("%s: NFA_P2P_DISC_EVT; h=0x%04x; reason=0x%X", fn
1492 ALOGE("%s: NFA_P2P_DISC_EVT: can't find client for NFA handle: 0x%04x", fn, eventData->disc.handle);
1504 ALOGV("%s: NFA_P2P_DISC_EVT; try guard disconn event", fn);
1507 ALOGV("%s: NFA_P2P_DISC_EVT; notified disconn event", fn);
1510 ALOGV("%s: NFA_P2P_DISC_EVT; try guard congest event", fn);
1513 ALOGV("%s: NFA_P2P_DISC_EVT; notified congest event", fn);
1516 ALOGV("%s: NFA_P2P_DISC_EVT; try guard read event", fn);
1519 ALOGV("%s: NFA_P2P_DISC_EVT; notified read event", fn);
1529 ALOGE("%s: NFA_P2P_DATA_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->data.handle);
1533 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: NFA_P2P_DATA_EVT; h=0x%X; remote sap=0x%X", fn,
1544 ALOGE("%s: NFA_P2P_CONGEST_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->congest.handle);
1548 ALOGV_IF ((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: NFA_P2P_CONGEST_EVT; nfa handle: 0x%04x congested: %u", fn,
1557 ALOGE("%s: unknown event 0x%X ????", fn, p2pEvent);
1632 static const char fn [] = "P2pServer::registerWithStack";
1633 ALOGV("%s: enter; service name: %s JNI handle: %u", fn, mServiceName.c_str(), mJniHandle);
1659 ALOGE("%s: fail set LLCP config; error=0x%X", fn, stat);
1670 ALOGE("%s: fail register p2p server; error=0x%X", fn, stat);
1673 ALOGV("%s: wait for listen-completion event", fn);
1684 static const char fn [] = "P2pServer::accept";
1689 ALOGE("%s: failed to allocate new server connection", fn);
1696 ALOGV("%s: serverJniHandle: %u; connJniHandle: %u; wait for incoming connection", fn,
1699 ALOGV("%s: serverJniHandle: %u; connJniHandle: %u; nfa conn h: 0x%X; got incoming connection", fn,
1706 ALOGV("%s: no handle assigned", fn);
1712 ALOGV("%s: overriding the miu passed by the app(%d) with stack miu(%zu)", fn, maxInfoUnit, LLCP_MIU);
1716 ALOGV("%s: serverJniHandle: %u; connJniHandle: %u; nfa conn h: 0x%X; try accept", fn,
1722 ALOGE("%s: fail to accept remote; error=0x%X", fn, nfaStat);
1726 ALOGV("%s: exit; serverJniHandle: %u; connJniHandle: %u; nfa conn h: 0x%X", fn,