Home
last modified time | relevance | path

Searched refs:jniThrowExceptionFmt (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/packages/modules/Connectivity/Tethering/jni/
H A Dcom_android_networkstack_tethering_BpfUtils.cpp52 jniThrowExceptionFmt(env, "java/io/IOException", in sendAndProcessNetlinkResponse()
60 jniThrowExceptionFmt(env, "java/io/IOException", in sendAndProcessNetlinkResponse()
68 jniThrowExceptionFmt(env, "java/io/IOException", "bind(fd, {AF_NETLINK, 0, 0}): %s", in sendAndProcessNetlinkResponse()
76 jniThrowExceptionFmt(env, "java/io/IOException", "connect(fd, {AF_NETLINK, 0, 0}): %s", in sendAndProcessNetlinkResponse()
85 jniThrowExceptionFmt(env, "java/io/IOException", "send(fd, req, len, 0): %s", in sendAndProcessNetlinkResponse()
92 jniThrowExceptionFmt(env, "java/io/IOException", "send(fd, req, len, 0): %s", in sendAndProcessNetlinkResponse()
119 jniThrowExceptionFmt(env, "java/io/IOException", in sendAndProcessNetlinkResponse()
127 jniThrowExceptionFmt(env, "java/io/IOException", in sendAndProcessNetlinkResponse()
171 jniThrowExceptionFmt(env, "java/io/IOException", in com_android_networkstack_tethering_BpfUtils_isEthernet()
185 jniThrowExceptionFmt(env, "java/io/IOException", in com_android_networkstack_tethering_BpfUtils_isEthernet()
[all …]
H A Dandroid_net_util_TetheringUtils.cpp59 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupIcmpFilter()
87 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
100 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
109 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
118 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
126 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
147 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
159 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_util_setupRaSocket()
/aosp12/packages/modules/NetworkStack/jni/
H A Dnetwork_stack_utils_jni.cpp91 jniThrowExceptionFmt(env, "java/io/IOException", "Invalid file descriptor"); in network_stack_utils_addArpEntry()
96 jniThrowExceptionFmt(env, "java/io/IOException", "ioctl error: %s", strerror(errno)); in network_stack_utils_addArpEntry()
129 jniThrowExceptionFmt(env, "java/net/SocketException", in network_stack_utils_attachDhcpFilter()
137 jniThrowExceptionFmt(env, "java/net/SocketException", in network_stack_utils_attachRaFilter()
162 jniThrowExceptionFmt(env, "java/net/SocketException", in network_stack_utils_attachRaFilter()
171 jniThrowExceptionFmt(env, "java/net/SocketException", in network_stack_utils_attachControlPacketFilter()
237 jniThrowExceptionFmt(env, "java/net/SocketException", in network_stack_utils_attachControlPacketFilter()
/aosp12/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_CameraMetadata.cpp346 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in CameraMetadata_readValues()
386 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in CameraMetadata_writeValues()
416 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in CameraMetadata_writeValues()
419 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in CameraMetadata_writeValues()
422 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in CameraMetadata_writeValues()
468 jniThrowExceptionFmt(env, "java/io/IOException", in CameraMetadata_dump()
498 jniThrowExceptionFmt(env, "java/io/IOException", in CameraMetadata_dump()
525 jniThrowExceptionFmt(env, "java/io/IOException", in CameraMetadata_dump()
560 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in CameraMetadata_readFromParcel()
590 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in CameraMetadata_writeToParcel()
[all …]
H A Dandroid_hardware_camera2_DngCreator.cpp58 jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
66 jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
74 jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
81 jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
88 jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
612 jniThrowExceptionFmt(mEnv, "java/io/IOException", in writeToStream()
646 jniThrowExceptionFmt(mEnv, "java/io/IOException", in writeToStream()
2489 jniThrowExceptionFmt(env, "java/lang/AssertionError", in DngCreator_nativeSetThumbnail()
2592 jniThrowExceptionFmt(env, "java/io/IOException", in DngCreator_nativeWriteImage()
2609 jniThrowExceptionFmt(env, "java/io/IOException", in DngCreator_nativeWriteImage()
[all …]
H A Dandroid_view_SurfaceControlHdrLayerInfoListener.cpp98 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in nRegister()
H A Dandroid_util_Process.cpp92 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in signalExceptionForError()
96 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in signalExceptionForError()
100 jniThrowExceptionFmt(env, "java/lang/SecurityException", in signalExceptionForError()
112 jniThrowExceptionFmt(env, "java/lang/SecurityException", in signalExceptionForPriorityError()
125 jniThrowExceptionFmt(env, "java/lang/SecurityException", in signalExceptionForGroupError()
H A Dandroid_hardware_camera2_utils_SurfaceUtils.cpp83 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in getSurface()
H A Dandroid_database_CursorWindow.cpp108 jniThrowExceptionFmt(env, "android/database/CursorWindowAllocationException", in nativeCreate()
120 jniThrowExceptionFmt(env, in nativeCreateFromParcel()
H A Dandroid_media_AudioTrack.cpp802 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in android_media_AudioTrack_get_buffer_size_frames()
826 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in android_media_AudioTrack_set_buffer_size_frames()
1462 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in android_media_AudioTrack_getStartThresholdInFrames()
1481 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in android_media_AudioTrack_setStartThresholdInFrames()
H A Dcom_android_internal_content_NativeLibraryHelper.cpp570 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in com_android_internal_content_NativeLibraryHelper_openApkFd()
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp403 jniThrowExceptionFmt(env, "java/lang/RuntimeException", in ImageReader_init()
427 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in ImageReader_init()
434 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in ImageReader_init()
440 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in ImageReader_init()
551 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in ImageReader_imageSetup()
567 jniThrowExceptionFmt(env, "java/lang/UnsupportedOperationException", in ImageReader_imageSetup()
716 jniThrowExceptionFmt(env, "java/lang/RuntimeException", in Image_getLockedImage()
742 jniThrowExceptionFmt(env, "java/lang/UnsupportedOperationException", in Image_getLockedImageInfo()
805 jniThrowExceptionFmt(env, "java/lang/RuntimeException", in ImageReader_createImagePlanes()
H A Dandroid_media_ResampleInputStream.cpp83 jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", in android_media_ResampleInputStream_fir21()
H A Dandroid_media_MediaCrypto.cpp206 jniThrowExceptionFmt( in android_media_MediaCrypto_native_setup()
H A Dandroid_media_ImageWriter.cpp979 jniThrowExceptionFmt(env, "java/lang/RuntimeException", in Image_getLockedImage()
997 jniThrowExceptionFmt(env, "java/lang/UnsupportedOperationException", in Image_getLockedImageInfo()
/aosp12/frameworks/libs/native_bridge_support/libnativehelper/
H A Dstubs_arm.cc62 DEFINE_INTERCEPTABLE_STUB_FUNCTION(jniThrowExceptionFmt);
111 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativehelper.so", jniThrowExceptionFmt); in init_stub_library()
H A Dstubs_arm64.cc62 DEFINE_INTERCEPTABLE_STUB_FUNCTION(jniThrowExceptionFmt);
111 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativehelper.so", jniThrowExceptionFmt); in init_stub_library()
/aosp12/packages/modules/Connectivity/framework/jni/
H A Dandroid_net_NetworkUtils.cpp69 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_utils_attachDropAllBPFFilter()
80 jniThrowExceptionFmt(env, "java/net/SocketException", in android_net_utils_detachBPFFilter()
95 jniThrowExceptionFmt(env, "java/lang/IllegalStateException", in android_net_utils_getBoundNetworkHandleForProcess()
/aosp12/packages/modules/Connectivity/tests/cts/net/jni/
H A DNativeMultinetworkJni.cpp46 jniThrowExceptionFmt(env, "java/lang/AssertionError", \
55 jniThrowExceptionFmt(env, "java/lang/AssertionError", \
64 jniThrowExceptionFmt(env, "java/lang/AssertionError", \
/aosp12/frameworks/base/libs/hwui/jni/pdf/
H A DPdfUtils.cpp76 jniThrowExceptionFmt(env, "java/lang/Exception", "unknown error %d", error); in forwardPdfiumError()
H A DPdfEditor.cpp104 jniThrowExceptionFmt(env, "java/io/IOException", in nativeWrite()
/aosp12/libnativehelper/tests_mts/jni/
H A Djni_helper_jni.cpp46 jniThrowExceptionFmt(env, c.c_str(), f.c_str(), value); in throwExceptionWithIntFormat()
/aosp12/frameworks/base/libs/hwui/jni/
H A DBitmap.cpp810 jniThrowExceptionFmt(env, BadParcelableException, in Bitmap_createFromParcel()
822 jniThrowExceptionFmt(env, BadParcelableException, in Bitmap_createFromParcel()
866 jniThrowExceptionFmt(env, BadParcelableException, "Failed to read from Parcel, error=%d", in Bitmap_createFromParcel()
H A DShader.cpp271 int ret = jniThrowExceptionFmt(env, "java/lang/IllegalArgumentException", fmt, args); in ThrowIAEFmt()
/aosp12/libnativehelper/
H A DJNIHelp.c362 int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() function

12