/libcore/luni/src/main/native/ |
ErrorCode.cpp | 30 return jniThrowException(env, "java/lang/IllegalArgumentException", message); 33 return jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", message); 35 return jniThrowException(env, "java/lang/UnsupportedOperationException", message);
|
JniException.cpp | 22 jniThrowException(env, exceptionClassName, jniStrError(error, buf, sizeof(buf))); 34 jniThrowException(env, "java/lang/OutOfMemoryError", message);
|
java_io_FileDescriptor.cpp | 38 jniThrowException(env, "java/io/SyncFailedException",
|
NetFd.h | 34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed");
|
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 49 jniThrowException(env, "java/lang/IllegalStateException", NULL); 53 jniThrowException( env, exception, message); 58 jniThrowException( env, exception, msg); 82 jniThrowException(env, "java/lang/IllegalStateException", "No retriever available"); 86 jniThrowException(env, "java/lang/IllegalArgumentException", "Null pointer"); 97 jniThrowException(env, "java/lang/IllegalArgumentException", "Invalid pathname"); 110 jniThrowException(env, "java/lang/IllegalStateException", "No retriever available"); 114 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 128 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 139 jniThrowException(env, "java/lang/IllegalStateException", "No retriever available") [all...] |
android_media_MediaScanner.cpp | 154 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 158 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 164 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 170 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 186 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 192 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 198 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 216 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 221 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 235 jniThrowException(env, "java/lang/IllegalArgumentException", NULL) [all...] |
android_media_MediaRecorder.cpp | 80 jniThrowException(env, "java/lang/Exception", NULL); 120 jniThrowException(env, "java/lang/IllegalStateException", NULL); 123 jniThrowException(env, exception, message); 155 jniThrowException(env, "java/lang/NullPointerException", "camera object is a NULL pointer"); 169 jniThrowException(env, "java/lang/IllegalArgumentException", "Invalid video source"); 181 jniThrowException(env, "java/lang/IllegalArgumentException", "Invalid audio source"); 194 jniThrowException(env, "java/lang/IllegalArgumentException", "Invalid output format"); 206 jniThrowException(env, "java/lang/IllegalArgumentException", "Invalid video encoder"); 218 jniThrowException(env, "java/lang/IllegalArgumentException", "Invalid audio encoder"); 253 jniThrowException(env, "java/lang/IllegalArgumentException", NULL) [all...] |
android_media_MediaPlayer.cpp | 80 jniThrowException(env, "java/lang/Exception", NULL); 145 jniThrowException(env, "java/lang/IllegalStateException", NULL); 149 jniThrowException( env, exception, message); 154 jniThrowException( env, exception, msg); 165 jniThrowException(env, "java/lang/IllegalStateException", NULL); 170 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 176 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 222 jniThrowException( 229 jniThrowException( 276 jniThrowException(env, "java/lang/IllegalStateException", NULL) [all...] |
android_media_MediaProfiles.cpp | 61 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary"); 81 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary"); 101 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving video encoder capability params"); 132 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary"); 149 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving video encoder capability params"); 169 jniThrowException(env, "java/lang/RuntimeException", "Unknown camcorder profile quality"); 191 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving camcorder profile params"); 227 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary"); 248 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary"); 268 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary") [all...] |
/frameworks/base/core/jni/ |
android_os_StatFs.cpp | 74 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 81 jniThrowException(env, "java/lang/NoSuchFieldException", NULL); 87 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 97 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 107 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 113 jniThrowException(env, "java/lang/RuntimeException", "Out of memory");
|
android_os_MemoryFile.cpp | 39 jniThrowException(env, "java/io/IOException", "ashmem_create_region failed"); 52 jniThrowException(env, "java/io/IOException", "mmap failed"); 60 jniThrowException(env, "java/io/IOException", "munmap failed"); 79 jniThrowException(env, "java/io/IOException", "ashmem region was purged"); 98 jniThrowException(env, "java/io/IOException", "ashmem region was purged"); 115 jniThrowException(env, "java/io/IOException", NULL);
|
android_media_ToneGenerator.cpp | 47 jniThrowException(env, "java/lang/RuntimeException", "Method called after release()"); 62 jniThrowException(env, "java/lang/RuntimeException", "Method called after release()"); 90 jniThrowException(env, "java/lang/OutOfMemoryError", NULL); 97 jniThrowException(env, "java/lang/RuntimeException", "Init failed");
|
android_util_AssetManager.cpp | 110 jniThrowException(env, "java/lang/IllegalStateException", "AssetManager has been finalized!"); 125 jniThrowException(env, "java/lang/NullPointerException", "fileName"); 131 jniThrowException(env, "java/lang/IllegalArgumentException", "Bad access mode"); 139 jniThrowException(env, "java/io/FileNotFoundException", fileName8); 157 jniThrowException(env, "java/io/FileNotFoundException", 193 jniThrowException(env, "java/lang/NullPointerException", "fileName"); 201 jniThrowException(env, "java/io/FileNotFoundException", fileName8); 225 jniThrowException(env, "java/lang/NullPointerException", "fileName"); 231 jniThrowException(env, "java/lang/IllegalArgumentException", "Bad access mode"); 241 jniThrowException(env, "java/io/FileNotFoundException", fileName8) [all...] |
android_text_AndroidBidi.cpp | 28 static void jniThrowException(JNIEnv* env, const char* exc, const char* msg = NULL) 56 jniThrowException(env, "java/lang/RuntimeException", NULL);
|
android_os_SystemProperties.cpp | 35 jniThrowException(env, "java/lang/NullPointerException", 72 jniThrowException(env, "java/lang/NullPointerException", 101 jniThrowException(env, "java/lang/NullPointerException", 130 jniThrowException(env, "java/lang/NullPointerException", 166 jniThrowException(env, "java/lang/NullPointerException",
|
android_media_JetPlayer.cpp | 134 jniThrowException(env, "java/lang/IllegalStateException", 144 jniThrowException(env, "java/lang/RuntimeException", "Out of memory"); 171 jniThrowException(env, "java/lang/IllegalStateException", 200 jniThrowException(env, "java/lang/IllegalStateException", 221 jniThrowException(env, "java/lang/IllegalStateException", 244 jniThrowException(env, "java/lang/IllegalStateException", 273 jniThrowException(env, "java/lang/IllegalStateException", 299 jniThrowException(env, "java/lang/IllegalStateException", 344 jniThrowException(env, "java/lang/IllegalStateException", 368 jniThrowException(env, "java/lang/IllegalStateException" [all...] |
android_hardware_Camera.cpp | 83 jniThrowException(env, "java/lang/RuntimeException", "Method called after release()"); 304 jniThrowException(env, "java/lang/RuntimeException", 319 jniThrowException(env, "java/lang/RuntimeException", 326 jniThrowException(env, "java/lang/RuntimeException", "Camera initialization failed"); 332 jniThrowException(env, "java/lang/RuntimeException", "Can't find android/hardware/Camera"); 392 jniThrowException(env, "java/io/IOException", "setPreviewDisplay failed"); 403 jniThrowException(env, "java/lang/RuntimeException", "startPreview failed"); 459 jniThrowException(env, "java/lang/RuntimeException", "autoFocus failed"); 471 jniThrowException(env, "java/lang/RuntimeException", "cancelAutoFocus failed"); 483 jniThrowException(env, "java/lang/RuntimeException", "takePicture failed") [all...] |
android_text_AndroidCharacter.cpp | 53 static void jniThrowException(JNIEnv* env, const char* exc, const char* msg = NULL) 66 jniThrowException(env, "java/lang/NullPointerException", NULL); 71 jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", NULL); 119 jniThrowException(env, "java/lang/NullPointerException", NULL); 126 jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", NULL); 164 jniThrowException(env, "java/lang/NullPointerException", NULL); 170 jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", NULL);
|
android_util_Process.cpp | 68 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 71 jniThrowException(env, "java/lang/IllegalArgumentException", "Given thread does not exist"); 74 jniThrowException(env, "java/lang/SecurityException", "No permission to modify given thread"); 77 jniThrowException(env, "java/lang/SecurityException", "No permission to set to given priority"); 80 jniThrowException(env, "java/lang/RuntimeException", "Unknown error"); 89 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 92 jniThrowException(env, "java/lang/IllegalArgumentException", "Given thread does not exist"); 95 jniThrowException(env, "java/lang/SecurityException", "No permission to modify given thread"); 98 jniThrowException(env, "java/lang/SecurityException", "No permission to set to given group"); 101 jniThrowException(env, "java/lang/RuntimeException", "Unknown error") [all...] |
android_os_UEventObserver.cpp | 32 jniThrowException(env, "java/lang/RuntimeException",
|
com_android_internal_graphics_NativeUtils.cpp | 39 jniThrowException(env, "java/lang/NullPointerException", NULL);
|
android_util_Binder.cpp | 512 jniThrowException(env, "java/lang/IllegalStateException", "Parcel has been finalized!"); 538 jniThrowException(env, "java/lang/RuntimeException", "Unknown error"); 541 jniThrowException(env, "java/lang/OutOfMemoryError", NULL); 544 jniThrowException(env, "java/lang/UnsupportedOperationException", NULL); 547 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 550 jniThrowException(env, "java/lang/IndexOutOfBoundsException", NULL); 553 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 556 jniThrowException(env, "java/util/NoSuchElementException", NULL); 559 jniThrowException(env, "java/lang/SecurityException", NULL); 562 jniThrowException(env, "android/os/ParcelFormatException", "Not enough data") [all...] |
/frameworks/base/voip/jni/rtp/ |
util.cpp | 32 jniThrowException(env, "java/lang/IllegalArgumentException", "port"); 59 jniThrowException(env, "java/lang/IllegalArgumentException", "address");
|
RtpStream.cpp | 52 jniThrowException(env, "java/net/SocketException", strerror(errno)); 84 jniThrowException(env, "java/net/SocketException", strerror(errno)); 93 jniThrowException(env, "java/lang/IllegalStateException", strerror(errno));
|
/dalvik/libnativehelper/include/nativehelper/ |
JNIHelp.h | 54 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg); 116 inline int jniThrowException(JNIEnv* env, const char* className, 119 return jniThrowException(&env->functions, className, msg);
|