Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp86 static void throwException(JNIEnv* env, const std::string& error) { in throwException() function
100 throwException(env, "pcap_open_dead failed"); in com_android_server_ApfTest_compileToBpf()
107 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compileToBpf()
132 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
140 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
147 throwException(env, "pcap_compile failed"); in com_android_server_ApfTest_compareBpfApf()
153 throwException(env, "pcap_setfilter failed"); in com_android_server_ApfTest_compareBpfApf()
206 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_dropsAllPackets()
/packages/modules/Connectivity/service/jni/
Dcom_android_server_TestNetworkService.cpp48 static void throwException(JNIEnv* env, int error, const char* action, const char* iface) { in throwException() function
62 throwException(env, errno, "allocating", ifr.ifr_name); in createTunTapInterface()
71 throwException(env, errno, "activating", ifr.ifr_name); in createTunTapInterface()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DSettingsShimImpl.java46 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
48 throwException); in checkAndNoteWriteSettingsOperation()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DSettingsShimImpl.java50 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
52 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java300 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
302 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DSettingsShim.java34 boolean throwException); in checkAndNoteWriteSettingsOperation() argument
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DMockTetheringService.java48 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java2436 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
2438 callingAttributionTag, throwException); in checkAndNoteWriteSettingsOperation()