Home
last modified time | relevance | path

Searched refs:bufLen (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp976 size_t bufLen = bytes.size(); in nfcManager_sendRawFrame() local
977 tNFA_STATUS status = NFA_SendRawFrame(buf, bufLen, 0); in nfcManager_sendRawFrame()
998 size_t bufLen; in nfcManager_routeAid() local
1002 bufLen = 0; in nfcManager_routeAid()
1003 return RoutingManager::getInstance().addAidRouting(buf, bufLen, route, in nfcManager_routeAid()
1008 bufLen = bytes.size(); in nfcManager_routeAid()
1009 return RoutingManager::getInstance().addAidRouting(buf, bufLen, route, in nfcManager_routeAid()
1026 size_t bufLen; in nfcManager_unrouteAid() local
1030 bufLen = 0; in nfcManager_unrouteAid()
1031 return RoutingManager::getInstance().removeAidRouting(buf, bufLen); in nfcManager_unrouteAid()
[all …]
DNativeNfcTag.cpp896 uint32_t bufLen) { in nativeNfcTag_doTransceiveStatus() argument
899 << StringPrintf("%s: data len=%d", __func__, bufLen); in nativeNfcTag_doTransceiveStatus()
903 EXTNS_MfcCallBack(buf, bufLen); in nativeNfcTag_doTransceiveStatus()
914 sRxDataBuffer.append(buf, bufLen); in nativeNfcTag_doTransceiveStatus()
974 size_t bufLen = bytes.size(); in nativeNfcTag_doTransceive() local
992 status = EXTNS_MfcTransceive(buf, bufLen); in nativeNfcTag_doTransceive()
994 status = NFA_SendRawFrame(buf, bufLen, in nativeNfcTag_doTransceive()
/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() argument
46 int n = android_res_nresult(fd, rcode, buf, bufLen); in getAsyncResponse()
57 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers() argument
59 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() argument
85 int n = android_res_nresult(fd, rcode, buf, bufLen); in getAsyncResponse()
96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() argument
98 if (ns_initparse((const uint8_t*) buf, bufLen, &handle) < 0) { in extractIpAddressAnswers()
/packages/modules/StatsD/lib/libstatssocket/
Dstatsd_writer.c111 socklen_t bufLen = sizeof(sndbuf); in statsdOpen() local
114 setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, bufLen); in statsdOpen()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2208 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse() argument
2218 return resNetworkResult(fd, rcode, buf, bufLen); in getAsyncResponse()
2223 std::string toString(uint8_t* buf, int bufLen, int ipType) { in toString() argument
2228 if (ns_initparse((const uint8_t*)buf, bufLen, &handle) >= 0) { in toString()