HomeSort by relevance Sort by last modified time
    Searched refs:miu (Results 1 - 25 of 32) sorted by null

1 2

  /packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeLlcpServiceSocket.cpp 70 static jobject com_NativeLlcpServiceSocket_doAccept(JNIEnv *e, jobject o, jint miu, jint rw, jint linearBufferLength)
93 sOptions.miu = miu;
97 sWorkingBuffer.buffer = (uint8_t*)malloc((miu*rw)+miu+linearBufferLength);
98 sWorkingBuffer.length = (miu*rw)+ miu + linearBufferLength;
161 /* Set socket MIU */
163 e->SetIntField(clientSocket, f,(jint)miu);
169 TRACE("socket handle 0x%02x: MIU = %d, RW = %d\n",hIncomingSocket, miu, rw)
    [all...]
com_android_nfc_NativeNfcManager.cpp 530 LlcpConfigInfo.miu = nat->miu;
786 ALOGI("LLCP Link activated (LTO=%d, MIU=%d, OPTION=0x%02x, WKS=0x%02x)",sLinkParams.lto,
787 sLinkParams.miu,
    [all...]
com_android_nfc.h 160 int miu; member in struct:nfc_jni_native_data
  /external/libnfc-nxp/inc/
phNfcLlcpTypes.h 41 #define PHFRINFC_LLCP_MIU_DEFAULT 128 /**< Default MIU value (in bytes).*/
112 /** The remote Maximum Information Unit Extension (NOTE: this is MIUX, not MIU !)*/
113 uint16_t miu; member in struct:phFriNfc_LlcpTransport_sSocketOptions
122 /** The remote Maximum Information Unit (NOTE: this is MIU, not MIUX !)*/
123 uint16_t miu; member in struct:phFriNfc_Llcp_sLinkParameters
  /packages/apps/Nfc/nci/jni/
NativeLlcpServiceSocket.cpp 43 ** miu: Maximum information unit.
50 static jobject nativeLlcpServiceSocket_doAccept(JNIEnv *e, jobject o, jint miu, jint rw, jint /*linearBufferLength*/)
63 stat = PeerToPeer::getInstance().accept (serverHandle, connHandle, miu, rw);
91 /* Set socket MIU */
93 e->SetIntField (clientSocket, f, (jint)miu);
NativeLlcpSocket.cpp 182 jint miu = PeerToPeer::getInstance().getRemoteMaxInfoUnit(jniHandle); local
185 return miu;
NfcJniUtil.h 117 int miu; member in struct:nfc_jni_native_data
PeerToPeer.h 187 ** miu: Maximum information unit.
193 bool createClient (tJNI_HANDLE jniHandle, UINT16 miu, UINT8 rw);
NativeNfcManager.cpp     [all...]
  /packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeLlcpServiceSocket.java 38 private native NativeLlcpSocket doAccept(int miu, int rw, int linearBufferLength);
NativeNfcManager.java 177 private native NativeLlcpServiceSocket doCreateLlcpServiceSocket(int nSap, String sn, int miu,
180 public LlcpServerSocket createLlcpServerSocket(int nSap, String sn, int miu,
182 LlcpServerSocket socket = doCreateLlcpServiceSocket(nSap, sn, miu, rw, linearBufferLength);
201 private native NativeLlcpSocket doCreateLlcpSocket(int sap, int miu, int rw,
204 public LlcpSocket createLlcpSocket(int sap, int miu, int rw,
206 LlcpSocket socket = doCreateLlcpSocket(sap, miu, rw, linearBufferLength);
  /packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
NativeLlcpServiceSocket.java 38 private native NativeLlcpSocket doAccept(int miu, int rw, int linearBufferLength);
NativeNfcManager.java 241 private native NativeLlcpServiceSocket doCreateLlcpServiceSocket(int nSap, String sn, int miu,
244 public LlcpServerSocket createLlcpServerSocket(int nSap, String sn, int miu,
246 LlcpServerSocket socket = doCreateLlcpServiceSocket(nSap, sn, miu, rw, linearBufferLength);
265 private native NativeLlcpSocket doCreateLlcpSocket(int sap, int miu, int rw,
268 public LlcpSocket createLlcpSocket(int sap, int miu, int rw,
270 LlcpSocket socket = doCreateLlcpSocket(sap, miu, rw, linearBufferLength);
  /external/libnfc-nci/src/nfa/p2p/
nfa_p2p_api.c 207 UINT16 miu,
213 P2P_TRACE_API3 ("NFA_P2pAcceptConn (): handle:0x%02X, MIU:%d, RW:%d", handle, miu, rw);
234 if ((miu < LLCP_DEFAULT_MIU) || (nfa_p2p_cb.local_link_miu < miu))
236 P2P_TRACE_ERROR3 ("NFA_P2pAcceptConn (): MIU(%d) must be between %d and %d",
237 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu);
244 p_msg->miu = miu;
381 UINT16 miu,
    [all...]
nfa_p2p_act.c 326 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_ind.miu;
335 evt_data.conn_req.remote_miu = p_data->connect_ind.miu;
373 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_resp.miu;
382 evt_data.connected.remote_miu = p_data->connect_resp.miu;
865 params.miu = p_msg->api_accept.miu;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepClient.java 67 public SnepClient(int miu, int rwSize) {
72 mMiu = miu;
156 int miu = socket.getRemoteMiu(); local
157 int fragmentLength = (mFragmentLength == -1) ? miu : Math.min(miu, mFragmentLength);
SnepServer.java 78 public SnepServer(Callback callback, int miu, int rwSize) {
83 mMiu = miu;
214 int miu = communicationSocket.getRemoteMiu(); local
216 miu : Math.min(miu, mFragmentLength);
  /packages/apps/Nfc/src/com/android/nfc/
DeviceHost.java 221 public LlcpServerSocket createLlcpServerSocket(int nSap, String sn, int miu,
224 public LlcpSocket createLlcpSocket(int sap, int miu, int rw,
  /external/libnfc-nci/src/nfc/llcp/
llcp_util.c 66 LLCP_TRACE_DEBUG1 ("Peer MIU - %d bytes", llcp_cb.lcb.peer_miu);
428 if (p_params->miu != LLCP_DEFAULT_MIU)
430 miu_len = 4; /* TYPE, LEN, 2 bytes MIU */
457 UINT16_TO_BE_STREAM (p, p_params->miu - LLCP_DEFAULT_MIU);
496 p_params->miu = LLCP_DEFAULT_MIU;
510 BE_STREAM_TO_UINT16 (p_params->miu, p);
511 p_params->miu &= LLCP_MIUX_MASK;
512 p_params->miu += LLCP_DEFAULT_MIU;
514 LLCP_TRACE_DEBUG1 ("llcp_util_parse_connect (): LLCP_MIUX_TYPE:%d", p_params->miu);
584 if (p_params->miu != LLCP_DEFAULT_MIU
    [all...]
llcp_dlc.c 123 p_dlcb->local_miu = p_params->miu;
139 if (p_params->miu > llcp_cb.lcb.peer_miu)
141 LLCP_TRACE_WARNING0 ("llcp_dlsm_idle (): Peer sent data link MIU bigger than peer's link MIU");
142 p_params->miu = llcp_cb.lcb.peer_miu;
148 data.connect_ind.miu = p_params->miu;
153 p_dlcb->remote_miu = p_params->miu;
156 LLCP_TRACE_DEBUG2 ("llcp_dlsm_idle (): Remote MIU:%d, RW:%d", p_dlcb->remote_miu, p_dlcb->remote_rw);
201 /* data link MIU must be up to link MIU *
    [all...]
  /external/libnfc-nci/src/nfa/include/
nfa_p2p_api.h 56 #define NFA_P2P_LINK_INFO_EVT 0x09 /* link MIU and Well-Known Service list */
65 /* Recommanded MIU's for connection-oriented */
265 UINT16 miu,
318 UINT16 miu,
337 UINT16 miu,
349 ** NFA_STATUS_BAD_LENGTH if data length is more than remote link MIU
406 ** NFA_STATUS_BAD_LENGTH if data length is more than remote MIU
470 ** Description This function is called to get local/remote link MIU and
505 ** - Local Link MIU (LLCP_MIU)
536 ** - Local Link MIU
    [all...]
  /external/libnfc-nci/src/nfc/include/
llcp_api.h 58 UINT16 miu; /* Local receiving MIU */ member in struct:__anon23530
124 UINT16 miu; /* MIU of peer device */ member in struct:__anon23532
134 UINT16 miu; /* MIU of peer device */ member in struct:__anon23533
220 ** - Local Link MIU
248 ** - Local Link MIU
416 ** - Recommended max_data_len is link MIU of local device
528 ** - Recommended max_data_len is data link connection MIU of loca
    [all...]
  /external/libnfc-nxp/src/
phFriNfc_Llcp.c 376 sParams.miu = PHFRINFC_LLCP_MIU_DEFAULT;
412 /* Get MIU */
413 sParams.miu = (PHFRINFC_LLCP_MIU_DEFAULT + ((sValueBuffer.buffer[0] << 8) | sValueBuffer.buffer[1])) & PHFRINFC_LLCP_TLV_MIUX_MASK;
552 /* Update remote MIU to match local Tx buffer size */
553 if (Llcp->nTxBufferLength < (Llcp->sRemoteParams.miu + nMaxHeaderSize))
555 Llcp->sRemoteParams.miu = Llcp->nTxBufferLength - nMaxHeaderSize;
592 /* Set default MIU for PAX exchange */
593 Llcp->sRemoteParams.miu = PHFRINFC_LLCP_MIU_DEFAULT;
    [all...]
phFriNfc_LlcpTransport.c     [all...]
  /external/libnfc-nci/src/nfa/int/
nfa_p2p_int.h 100 UINT16 miu; member in struct:__anon23468
126 UINT16 miu; member in struct:__anon23471
219 UINT16 remote_miu; /* MIU of remote end point */

Completed in 809 milliseconds

1 2