/aosp12/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 500 jniThrowRuntimeException(env, "Set buffer count failed"); in ImageWriter_init() 532 jniThrowRuntimeException(env, "dequeue buffer failed"); in ImageWriter_dequeueImage() 641 jniThrowRuntimeException(env, "Set timestamp failed"); in ImageWriter_queueImage() 653 jniThrowRuntimeException(env, "Set crop rect failed"); in ImageWriter_queueImage() 659 jniThrowRuntimeException(env, "Set transform failed"); in ImageWriter_queueImage() 665 jniThrowRuntimeException(env, "Set scaling mode failed"); in ImageWriter_queueImage() 721 jniThrowRuntimeException(env, "Set timestamp failed"); in attachAndQeueuGraphicBuffer() 732 jniThrowRuntimeException(env, "Set crop rect failed"); in attachAndQeueuGraphicBuffer() 738 jniThrowRuntimeException(env, "Set transform failed"); in attachAndQeueuGraphicBuffer() 744 jniThrowRuntimeException(env, "Set scaling mode failed"); in attachAndQeueuGraphicBuffer() [all …]
|
H A D | android_media_ImageReader.cpp | 254 jniThrowRuntimeException(env, "ImageReaderContext is not initialized"); in ImageReader_getProducer() 281 jniThrowRuntimeException(env, "ImageReaderContext is not initialized"); in ImageReader_getBufferConsumer() 385 jniThrowRuntimeException(env, "Can't find android/graphics/ImageReader"); in ImageReader_init() 488 jniThrowRuntimeException(env, "unlock buffer failed"); in Image_unlockIfLocked() 657 jniThrowRuntimeException(env, in ImageReader_detachImage() 676 jniThrowRuntimeException(env, in ImageReader_discardFreeBuffers() 687 jniThrowRuntimeException(env, "Buffer consumer is uninitialized"); in ImageReader_getSurface() 754 jniThrowRuntimeException(env, "Invalid graphic buffer!"); in ImageReader_unlockGraphicBuffer() 759 jniThrowRuntimeException(env, "unlock buffer failed"); in ImageReader_unlockGraphicBuffer() 788 jniThrowRuntimeException(env, "Failed to create ImagePlane arrays," in ImageReader_createImagePlanes() [all …]
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 140 jniThrowRuntimeException(env, in get_native_camera() 538 jniThrowRuntimeException(env, "Unknown camera ID"); in android_hardware_Camera_getCameraInfo() 544 jniThrowRuntimeException(env, "Fail to get camera info"); in android_hardware_Camera_getCameraInfo() 748 jniThrowRuntimeException(env, "startPreview failed"); in android_hardware_Camera_startPreview() 804 jniThrowRuntimeException(env, "autoFocus failed"); in android_hardware_Camera_autoFocus() 816 jniThrowRuntimeException(env, "cancelAutoFocus failed"); in android_hardware_Camera_cancelAutoFocus() 846 jniThrowRuntimeException(env, "takePicture failed"); in android_hardware_Camera_takePicture() 865 jniThrowRuntimeException(env, "setParameters failed"); in android_hardware_Camera_setParameters() 903 jniThrowRuntimeException(env, "lock failed"); in android_hardware_Camera_lock() 914 jniThrowRuntimeException(env, "unlock failed"); in android_hardware_Camera_unlock() [all …]
|
H A D | android_media_ToneGenerator.cpp | 48 jniThrowRuntimeException(env, "Method called after release()"); in android_media_ToneGenerator_startTone() 63 jniThrowRuntimeException(env, "Method called after release()"); in android_media_ToneGenerator_stopTone() 73 jniThrowRuntimeException(env, "Method called after release()"); in android_media_ToneGenerator_getAudioSessionId() 104 jniThrowRuntimeException(env, "Init failed"); in android_media_ToneGenerator_native_setup()
|
H A D | android_view_InputQueue.cpp | 201 jniThrowRuntimeException(env, "MessageQueue is not initialized."); in nativeInit() 206 jniThrowRuntimeException(env, "InputQueue failed to initialize"); in nativeInit() 226 jniThrowRuntimeException(env, "Could not read contents of KeyEvent object."); in nativeSendKeyEvent() 242 jniThrowRuntimeException(env, "Could not obtain MotionEvent pointer."); in nativeSendMotionEvent()
|
H A D | android_view_InputEventReceiver.cpp | 251 jniThrowRuntimeException(env, message.c_str()); in processOutboundEvents() 491 jniThrowRuntimeException(env, "InputChannel is not initialized."); in nativeInit() 497 jniThrowRuntimeException(env, "MessageQueue is not initialized."); in nativeInit() 508 jniThrowRuntimeException(env, message.c_str()); in nativeInit() 535 jniThrowRuntimeException(env, message.c_str()); in nativeFinishInputEvent() 554 jniThrowRuntimeException(env, message.c_str()); in nativeReportTimeline() 569 jniThrowRuntimeException(env, message.c_str()); in nativeConsumeBatchedInputEvents()
|
H A D | android_view_InputChannel.cpp | 155 jniThrowRuntimeException(env, message.c_str()); in android_view_InputChannel_nativeOpenInputChannelPair() 250 jniThrowRuntimeException(env, "InputChannel has no valid NativeInputChannel"); in android_view_InputChannel_nativeDup() 256 jniThrowRuntimeException(env, "NativeInputChannel has no corresponding InputChannel"); in android_view_InputChannel_nativeDup() 264 jniThrowRuntimeException(env, message.c_str()); in android_view_InputChannel_nativeDup()
|
H A D | android_view_TunnelModeEnabledListener.cpp | 94 jniThrowRuntimeException(env, error_msg); in nativeRegister() 104 jniThrowRuntimeException(env, error_msg); in nativeUnregister()
|
H A D | android_view_SurfaceControlFpsListener.cpp | 92 jniThrowRuntimeException(env, error_msg); in nativeRegister() 102 jniThrowRuntimeException(env, error_msg); in nativeUnregister()
|
H A D | android_view_CompositionSamplingListener.cpp | 99 jniThrowRuntimeException(env, error_msg); in nativeRegister() 109 jniThrowRuntimeException(env, error_msg); in nativeUnregister()
|
H A D | android_view_DisplayEventReceiver.cpp | 182 jniThrowRuntimeException(env, "MessageQueue is not initialized."); in nativeInit() 193 jniThrowRuntimeException(env, message.string()); in nativeInit() 215 jniThrowRuntimeException(env, message.string()); in nativeScheduleVsync()
|
H A D | android_graphics_SurfaceTexture.cpp | 291 jniThrowRuntimeException(env, in SurfaceTexture_init() 325 jniThrowRuntimeException(env, "Error during updateTexImage (see logcat for details)"); in SurfaceTexture_updateTexImage() 337 jniThrowRuntimeException(env, "Error during updateTexImage (see logcat for details)"); in SurfaceTexture_releaseTexImage()
|
H A D | android_view_InputEventSender.cpp | 308 jniThrowRuntimeException(env, "InputChannel is not initialized."); in nativeInit() 314 jniThrowRuntimeException(env, "MessageQueue is not initialized."); in nativeInit() 324 jniThrowRuntimeException(env, message.string()); in nativeInit()
|
H A D | android_os_VintfObject.cpp | 128 jniThrowRuntimeException(env, "Cannot get framework compatibility matrix"); in android_os_VintfObject_getPlatformSepolicyVersion() 134 jniThrowRuntimeException(env, in android_os_VintfObject_getPlatformSepolicyVersion()
|
H A D | android_os_Debug.cpp | 602 jniThrowRuntimeException(env, "outLen < MEMINFO_COUNT"); in android_os_Debug_getMemInfo() 615 jniThrowRuntimeException(env, "SysMemInfo read failed"); in android_os_Debug_getMemInfo() 691 jniThrowRuntimeException(env, "Invalid file descriptor"); in openFile() 699 jniThrowRuntimeException(env, "dup() failed"); in openFile() 707 jniThrowRuntimeException(env, "fdopen() failed"); in openFile()
|
H A D | android_os_MessageQueue.cpp | 175 jniThrowRuntimeException(env, "Unable to allocate native queue"); in android_os_MessageQueue_nativeInit()
|
H A D | android_hardware_SensorManager.cpp | 438 jniThrowRuntimeException(env, "Cannot construct native SensorEventQueue."); in nativeInitSensorEventQueue() 444 jniThrowRuntimeException(env, "MessageQueue is not initialized."); in nativeInitSensorEventQueue()
|
H A D | android_hardware_camera2_DngCreator.cpp | 1986 jniThrowRuntimeException(env, "failed to add lens shading map."); in DngCreator_setup() 2004 jniThrowRuntimeException(env, "failed to add hotpixel map."); in DngCreator_setup() 2031 jniThrowRuntimeException(env, "failed to add hotpixel map."); in DngCreator_setup() 2047 jniThrowRuntimeException(env, "failed to construct opcode list for lens shading " in DngCreator_setup() 2151 jniThrowRuntimeException(env, "failed to add distortion correction."); in DngCreator_setup() 2167 jniThrowRuntimeException(env, "failed to construct opcode list for distortion" in DngCreator_setup()
|
/aosp12/frameworks/libs/native_bridge_support/libnativehelper/ |
H A D | stubs_arm.cc | 65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(jniThrowRuntimeException); 114 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativehelper.so", jniThrowRuntimeException); in init_stub_library()
|
H A D | stubs_arm64.cc | 65 DEFINE_INTERCEPTABLE_STUB_FUNCTION(jniThrowRuntimeException); 114 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativehelper.so", jniThrowRuntimeException); in init_stub_library()
|
/aosp12/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 1493 jniThrowRuntimeException(env, "MessageQueue is not initialized."); in nativeInit() 1508 jniThrowRuntimeException(env, "Input manager could not be started."); in nativeStart() 1589 jniThrowRuntimeException(env, message.c_str()); in nativeCreateInputChannel() 1610 jniThrowRuntimeException(env, message.c_str()); in nativeCreateInputMonitor() 1623 jniThrowRuntimeException(env, message.c_str()); in nativeCreateInputMonitor() 1643 jniThrowRuntimeException(env, message.c_str()); in nativeRemoveInputChannel() 1695 jniThrowRuntimeException(env, "Could not read contents of KeyEvent object."); in nativeInjectInputEvent() 1721 jniThrowRuntimeException(env, "Invalid input event type."); in nativeInjectInputEvent() 1734 jniThrowRuntimeException(env, "Could not read contents of KeyEvent object."); in nativeVerifyInputEvent() 1764 jniThrowRuntimeException(env, "Invalid input event type."); in nativeVerifyInputEvent() [all …]
|
/aosp12/libnativehelper/tests_mts/jni/ |
H A D | jni_helper_jni.cpp | 58 jniThrowRuntimeException(env, m.c_str()); in throwRuntimeException()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | NinePatch.cpp | 69 jniThrowRuntimeException(env, "Array too small for chunk."); in validateNinePatchChunk()
|
H A D | Bitmap.cpp | 818 jniThrowRuntimeException(env, "Received bad SkImageInfo"); in Bitmap_createFromParcel() 871 jniThrowRuntimeException(env, "Could not allocate bitmap data."); in Bitmap_createFromParcel() 878 jniThrowRuntimeException(env, "Cannot use parcels outside of Android"); in Bitmap_createFromParcel()
|
/aosp12/libnativehelper/ |
H A D | JNIHelp.c | 372 int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() function
|