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.cpp889 static jint throwExceptionAsNecessary( in throwExceptionAsNecessary() function
930 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
936 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
946 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setCallback()
952 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setCallback()
965 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_configure()
998 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_configure()
1008 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setSurface()
1027 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setSurface()
1131 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setInputSurface()
[all …]
Dandroid_media_MediaDrm.cpp260 static bool throwExceptionAsNecessary( in throwExceptionAsNecessary() function
762 if (throwExceptionAsNecessary(env, err, "Failed to open session")) { in android_media_MediaDrm_openSession()
781 throwExceptionAsNecessary(env, err, "Failed to close session"); in android_media_MediaDrm_closeSession()
834 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { in android_media_MediaDrm_getKeyRequest()
895 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { in android_media_MediaDrm_provideKeyResponse()
915 throwExceptionAsNecessary(env, err, "Failed to remove keys"); in android_media_MediaDrm_removeKeys()
938 throwExceptionAsNecessary(env, err, "Failed to restore keys"); in android_media_MediaDrm_restoreKeys()
954 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) { in android_media_MediaDrm_queryKeyStatus()
986 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) { in android_media_MediaDrm_getProvisionRequestNative()
1043 throwExceptionAsNecessary(env, err, "Failed to handle provision response"); in android_media_MediaDrm_provideProvisionResponseNative()
[all …]