Home
last modified time | relevance | path

Searched refs:throwException (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/serviceconnectivityjni/
Dcom_android_net_module_util_ServiceConnectivityJni.cpp83 static void throwException(JNIEnv *env, int error, const char *action, in throwException() function
96 throwException(env, errno, "set carrier", iface); in setTunTapCarrierEnabledImpl()
111 throwException(env, EOPNOTSUPP, "IFF_NO_CARRIER not supported", in createTunTapImpl()
119 throwException(env, errno, "allocating", ifr.ifr_name); in createTunTapImpl()
129 throwException(env, errno, "set IFF_MULTICAST", ifr.ifr_name); in createTunTapImpl()
144 throwException(env, errno, "read flags", iface); in bringUpInterfaceImpl()
149 throwException(env, errno, "set IFF_UP", iface); in bringUpInterfaceImpl()
/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp121 static void throwException(JNIEnv* env, const std::string& error) { in throwException() function
135 throwException(env, "pcap_open_dead failed"); in com_android_server_ApfTest_compileToBpf()
142 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compileToBpf()
174 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
182 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
189 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compareBpfApf()
195 throwException(env, "pcap_setfilter failed"); in com_android_server_ApfTest_compareBpfApf()
253 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_dropsAllPackets()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DSettingsShimImpl.java53 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
55 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DSettingsShimImpl.java52 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
54 throwException); in checkAndNoteWriteSettingsOperation()
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/src/android/app/sdksandbox/testutils/testscenario/
DSdkSandboxTestScenarioRunner.java134 String methodName, boolean throwException, Class<?>... parameterTypes) in findMethodOnTestInstance() argument
139 if (throwException) { in findMethodOnTestInstance()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DSettingsShim.java34 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java403 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
405 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DMockTetheringService.java56 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java2980 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
2982 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()