Home
last modified time | relevance | path

Searched refs:throwExceptionAsNecessary (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp146 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()
[all …]
Dandroid_media_MediaCodec.cpp860 static jint throwExceptionAsNecessary( in throwExceptionAsNecessary() function
901 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
907 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
917 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setCallback()
923 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setCallback()
936 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_configure()
969 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_configure()
979 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setSurface()
998 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setSurface()
1102 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setInputSurface()
[all …]
Dandroid_media_MediaDrm.cpp259 static bool throwExceptionAsNecessary( in throwExceptionAsNecessary() function
766 if (throwExceptionAsNecessary(env, err, "Failed to open session")) { in android_media_MediaDrm_openSession()
785 throwExceptionAsNecessary(env, err, "Failed to close session"); in android_media_MediaDrm_closeSession()
838 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { in android_media_MediaDrm_getKeyRequest()
899 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { in android_media_MediaDrm_provideKeyResponse()
919 throwExceptionAsNecessary(env, err, "Failed to remove keys"); in android_media_MediaDrm_removeKeys()
942 throwExceptionAsNecessary(env, err, "Failed to restore keys"); in android_media_MediaDrm_restoreKeys()
958 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) { in android_media_MediaDrm_queryKeyStatus()
990 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) { in android_media_MediaDrm_getProvisionRequestNative()
1047 throwExceptionAsNecessary(env, err, "Failed to handle provision response"); in android_media_MediaDrm_provideProvisionResponseNative()
[all …]