Searched refs:checkLenAndCopy (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 54 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/ |
D | android_net_NetworkUtils.cpp | 113 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()
|