Lines Matching refs:throwExceptionAsNecessary
146 static void throwExceptionAsNecessary( in throwExceptionAsNecessary() function
176 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_native_setSurface()
186 throwExceptionAsNecessary(env, BAD_VALUE, "The surface has been released"); in android_media_MediaSync_native_setSurface()
194 throwExceptionAsNecessary( in android_media_MediaSync_native_setSurface()
199 throwExceptionAsNecessary(env, BAD_VALUE, msg.c_str()); in android_media_MediaSync_native_setSurface()
209 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_native_setAudioTrack()
217 throwExceptionAsNecessary(env, BAD_VALUE, "The audio track has been released"); in android_media_MediaSync_native_setAudioTrack()
225 throwExceptionAsNecessary( in android_media_MediaSync_native_setAudioTrack()
230 throwExceptionAsNecessary(env, BAD_VALUE, msg.c_str()); in android_media_MediaSync_native_setAudioTrack()
240 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_createInputSurface()
248 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_createInputSurface()
261 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_native_updateQueuedAudioData()
267 throwExceptionAsNecessary(env, err); in android_media_MediaSync_native_updateQueuedAudioData()
276 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_native_getTimestamp()
304 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_native_getPlayTimeForPendingAudioFrames()
310 throwExceptionAsNecessary(env, err); in android_media_MediaSync_native_getPlayTimeForPendingAudioFrames()
319 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_setPlaybackParams()
353 throwExceptionAsNecessary(env, err); in android_media_MediaSync_setPlaybackParams()
370 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_getPlaybackParams()
392 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_setSyncParams()
428 throwExceptionAsNecessary(env, err); in android_media_MediaSync_setSyncParams()
443 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_getSyncParams()
459 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_getSyncParams()
474 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaSync_native_flush()