Home
last modified time | relevance | path

Searched refs:checkLenAndCopy (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp54 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) { in checkLenAndCopy() function
69 if (!checkLenAndCopy(env, ethAddr, ETH_ALEN, ethAddrStruct.sa_data)) { in network_stack_utils_addArpEntry()
75 if (!checkLenAndCopy(env, ipv4Addr, sizeof(in_addr), &netAddrStruct.sin_addr)) { in network_stack_utils_addArpEntry()
/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp113 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) in checkLenAndCopy() function
147 checkLenAndCopy(env, msg, msgLen, data); in android_net_utils_resNetworkSend()