Searched refs:throwIOException (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_connectivity_ClatCoordinator.cpp | 140 static void throwIOException(JNIEnv* env, const char* msg, int error) { in throwIOException() function 151 throwIOException(env, "invalid address", EINVAL); in com_android_server_connectivity_ClatCoordinator_selectIpv4Address() 169 throwIOException(env, "invalid address", EADDRNOTAVAIL); in com_android_server_connectivity_ClatCoordinator_selectIpv4Address() 211 throwIOException(env, "invalid address", EADDRNOTAVAIL); in com_android_server_connectivity_ClatCoordinator_generateIpv6Address() 272 throwIOException(env, "packet socket failed", errno); in com_android_server_connectivity_ClatCoordinator_openPacketSocket() 278 throwIOException(env, "packet socket auxdata enablement failed", errno); in com_android_server_connectivity_ClatCoordinator_openPacketSocket() 284 throwIOException(env, "packet socket vnet_hdr enablement failed", errno); in com_android_server_connectivity_ClatCoordinator_openPacketSocket() 296 throwIOException(env, "raw socket failed", errno); in com_android_server_connectivity_ClatCoordinator_openRawSocket6() 302 throwIOException(env, "could not set mark on raw socket", errno); in com_android_server_connectivity_ClatCoordinator_openRawSocket6() 355 throwIOException(env, "configure packet socket failed", -ret); in com_android_server_connectivity_ClatCoordinator_configurePacketSocket() [all …]
|
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/ |
D | com_android_net_module_util_TcUtils.cpp | 27 static void throwIOException(JNIEnv *env, const char *msg, int error) { in throwIOException() function 39 throwIOException( in com_android_net_module_util_TcUtils_isEthernet() 54 throwIOException( in com_android_net_module_util_TcUtils_tcFilterAddDevBpf() 71 throwIOException(env, in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice() 84 throwIOException( in com_android_net_module_util_TcUtils_tcFilterDelDev() 96 throwIOException( in com_android_net_module_util_TcUtils_tcQdiscAddDevClsact()
|
/packages/modules/Virtualization/java/jni/ |
D | android_system_virtualmachine_VirtualMachine.cpp | 44 void throwIOException(JNIEnv *env, const std::string &msg) { in throwIOException() function 100 throwIOException(env, "openpty(): " + android::base::ErrnoNumberAsString(errno)); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() 110 throwIOException(env, "fcntl(F_GETFL): " + android::base::ErrnoNumberAsString(errno)); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() 113 throwIOException(env, "fcntl(F_SETFL): " + android::base::ErrnoNumberAsString(errno)); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() 124 throwIOException(env, "tcgetattr(): " + android::base::ErrnoNumberAsString(errno)); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() 129 throwIOException(env, "tcsetattr(): " + android::base::ErrnoNumberAsString(errno)); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
|