Lines Matching refs:throwExceptionAsNecessary
1214 static jint throwExceptionAsNecessary( in throwExceptionAsNecessary() function
1255 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
1261 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
1271 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setCallback()
1277 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setCallback()
1291 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_configure()
1329 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_configure()
1339 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setSurface()
1358 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setSurface()
1462 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setInputSurface()
1470 throwExceptionAsNecessary( in android_media_MediaCodec_setInputSurface()
1476 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_setInputSurface()
1486 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_createInputSurface()
1494 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_createInputSurface()
1509 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_start()
1515 throwExceptionAsNecessary(env, err, ACTION_CODE_FATAL, "start failed"); in android_media_MediaCodec_start()
1524 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_stop()
1530 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_stop()
1539 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_reset()
1552 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_reset()
1561 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_flush()
1567 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_flush()
1583 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_queueInputBuffer()
1592 throwExceptionAsNecessary( in android_media_MediaCodec_queueInputBuffer()
1617 throwExceptionAsNecessary(env, INVALID_OPERATION);
1753 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_queueSecureInputBuffer()
1783 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_queueSecureInputBuffer()
1901 throwExceptionAsNecessary( in android_media_MediaCodec_queueSecureInputBuffer()
2142 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_queueLinearBlock()
2149 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_queueLinearBlock()
2171 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_queueLinearBlock()
2179 throwExceptionAsNecessary(env, BAD_VALUE); in android_media_MediaCodec_native_queueLinearBlock()
2204 throwExceptionAsNecessary(env, BAD_VALUE); in android_media_MediaCodec_native_queueLinearBlock()
2210 throwExceptionAsNecessary(env, err, ACTION_CODE_FATAL, errorDetailMsg.c_str()); in android_media_MediaCodec_native_queueLinearBlock()
2221 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_queueHardwareBuffer()
2228 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_queueHardwareBuffer()
2251 throwExceptionAsNecessary(env, BAD_VALUE); in android_media_MediaCodec_native_queueHardwareBuffer()
2260 throwExceptionAsNecessary(env, err, ACTION_CODE_FATAL, errorDetailMsg.c_str()); in android_media_MediaCodec_native_queueHardwareBuffer()
2270 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_getOutputFrame()
2276 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_getOutputFrame()
2287 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_dequeueInputBuffer()
2298 return throwExceptionAsNecessary(env, err); in android_media_MediaCodec_dequeueInputBuffer()
2308 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_dequeueOutputBuffer()
2320 return throwExceptionAsNecessary(env, err); in android_media_MediaCodec_dequeueOutputBuffer()
2331 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_releaseOutputBuffer()
2337 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_releaseOutputBuffer()
2346 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_signalEndOfInputStream()
2352 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_signalEndOfInputStream()
2362 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getFormatNative()
2373 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getFormatNative()
2385 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getOutputFormatForIndexNative()
2396 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getOutputFormatForIndexNative()
2408 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getBuffers()
2421 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getBuffers()
2434 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getBuffer()
2447 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getBuffer()
2460 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getImage()
2473 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getImage()
2486 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getName()
2497 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getName()
2509 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_getOwnCodecInfo()
2520 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_getOwnCodecInfo()
2561 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setParameters()
2572 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_setParameters()
2580 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setVideoScalingMode()
2598 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setAudioPresentation()
2955 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_LinearBlock_native_map()
2959 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_LinearBlock_native_map()
3007 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_LinearBlock_native_map()
3030 throwExceptionAsNecessary(env, BAD_VALUE); in PopulateNamesVector()
3106 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_LinearBlock_checkCompatible()