/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepBasicTests.java | 37 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testGetSmallNdef() local 39 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetSmallNdef() 41 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetSmallNdef() 68 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testGetLargeNdef() local 70 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetLargeNdef() 72 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetLargeNdef() 99 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testGetExcessiveNdef() local 101 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetExcessiveNdef() 103 final SnepMessenger client = new SnepMessenger(true, clientSocket, MIU); in testGetExcessiveNdef() 130 MockLlcpSocket clientSocket = new MockLlcpSocket(); in testPutSmallNdef() local [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | NativeLlcpServiceSocket.cpp | 52 jobject clientSocket = NULL; in nativeLlcpServiceSocket_doAccept() local 72 if (nfc_jni_cache_object_local(e, gNativeLlcpSocketClassName, &(clientSocket)) == -1) in nativeLlcpServiceSocket_doAccept() 79 clsNativeLlcpSocket = e->GetObjectClass (clientSocket); in nativeLlcpServiceSocket_doAccept() 89 e->SetIntField (clientSocket, f, (jint) connHandle); in nativeLlcpServiceSocket_doAccept() 93 e->SetIntField (clientSocket, f, (jint)miu); in nativeLlcpServiceSocket_doAccept() 97 e->SetIntField (clientSocket, f, (jint)rw); in nativeLlcpServiceSocket_doAccept() 101 return clientSocket; in nativeLlcpServiceSocket_doAccept()
|
D | NativeNfcManager.cpp | 1278 jobject clientSocket = NULL; in nfcManager_doCreateLlcpSocket() local 1279 if (nfc_jni_cache_object_local(e, gNativeLlcpSocketClassName, &(clientSocket)) == -1) in nfcManager_doCreateLlcpSocket() 1282 return clientSocket; in nfcManager_doCreateLlcpSocket() 1286 ScopedLocalRef<jclass> clsNativeLlcpSocket(e, e->GetObjectClass(clientSocket)); in nfcManager_doCreateLlcpSocket() 1291 return clientSocket; in nfcManager_doCreateLlcpSocket() 1298 e->SetIntField (clientSocket, f, (jint) nSap); in nfcManager_doCreateLlcpSocket() 1302 e->SetIntField (clientSocket, f, (jint) jniHandle); in nfcManager_doCreateLlcpSocket() 1306 e->SetIntField (clientSocket, f, (jint) miu); in nfcManager_doCreateLlcpSocket() 1310 e->SetIntField (clientSocket, f, (jint) rw); in nfcManager_doCreateLlcpSocket() 1313 return clientSocket; in nfcManager_doCreateLlcpSocket()
|
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
D | EchoServer.java | 173 LlcpSocket clientSocket; field in EchoServer.ServerThread 222 clientSocket = serverSocket.accept(); in run() 223 if (DBG) Log.d(TAG, "accept returned " + clientSocket); in run() 224 handleClient(clientSocket); in run() 237 clientSocket.close(); in run() 241 clientSocket = null; in run() 253 if (clientSocket != null) { in write() 255 clientSocket.send(data); in write()
|
/packages/apps/Nfc/nxp/jni/ |
D | com_android_nfc_NativeLlcpServiceSocket.cpp | 78 jobject clientSocket = NULL; in com_NativeLlcpServiceSocket_doAccept() local 145 if(nfc_jni_cache_object(e,"com/android/nfc/dhimpl/NativeLlcpSocket",&(clientSocket)) == -1) in com_NativeLlcpServiceSocket_doAccept() 152 clsNativeLlcpSocket.reset(e->GetObjectClass(clientSocket)); in com_NativeLlcpServiceSocket_doAccept() 161 e->SetIntField(clientSocket, f,(jint)hIncomingSocket); in com_NativeLlcpServiceSocket_doAccept() 165 e->SetIntField(clientSocket, f,(jint)miu); in com_NativeLlcpServiceSocket_doAccept() 169 e->SetIntField(clientSocket, f,(jint)rw); in com_NativeLlcpServiceSocket_doAccept() 175 return clientSocket; in com_NativeLlcpServiceSocket_doAccept()
|
D | com_android_nfc_NativeNfcManager.cpp | 2100 jobject clientSocket = NULL; in com_android_nfc_NfcManager_doCreateLlcpSocket() local 2140 if(nfc_jni_cache_object(e,"com/android/nfc/dhimpl/NativeLlcpSocket",&(clientSocket)) == -1) in com_android_nfc_NfcManager_doCreateLlcpSocket() 2147 clsNativeLlcpSocket = e->GetObjectClass(clientSocket); in com_android_nfc_NfcManager_doCreateLlcpSocket() 2176 e->SetIntField(clientSocket, f,(jint)nSap); in com_android_nfc_NfcManager_doCreateLlcpSocket() 2182 e->SetIntField(clientSocket, f,(jint)hLlcpSocket); in com_android_nfc_NfcManager_doCreateLlcpSocket() 2187 e->SetIntField(clientSocket, f,(jint)miu); in com_android_nfc_NfcManager_doCreateLlcpSocket() 2192 e->SetIntField(clientSocket, f,(jint)rw); in com_android_nfc_NfcManager_doCreateLlcpSocket() 2196 return clientSocket; in com_android_nfc_NfcManager_doCreateLlcpSocket()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppRfcommListener.java | 93 Socket clientSocket = mTcpServerSocket.accept(); in start() 96 TestTcpTransport transport = new TestTcpTransport(clientSocket); in start() 146 BluetoothSocket clientSocket; in start() 158 clientSocket = sSocket.accept(); in start() 160 + clientSocket.getRemoteDevice()); in start() 162 clientSocket); in start()
|
D | TestActivity.java | 402 Socket clientSocket = mServerSocket.accept(); in start() 403 if (clientSocket == null) { in start() 408 + clientSocket.getRemoteSocketAddress()); in start() 409 TestTcpTransport transport = new TestTcpTransport(clientSocket); in start()
|