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.cpp903 static jint throwExceptionAsNecessary( in throwExceptionAsNecessary() function
944 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
950 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
960 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setCallback()
966 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setCallback()
980 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_configure()
1019 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_configure()
1029 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_native_setSurface()
1048 throwExceptionAsNecessary(env, err); in android_media_MediaCodec_native_setSurface()
1152 throwExceptionAsNecessary(env, INVALID_OPERATION); in android_media_MediaCodec_setInputSurface()
[all …]
Dandroid_media_MediaDrm.cpp260 static bool throwExceptionAsNecessary( in throwExceptionAsNecessary() function
771 if (throwExceptionAsNecessary(env, err, "Failed to open session")) { in android_media_MediaDrm_openSession()
790 throwExceptionAsNecessary(env, err, "Failed to close session"); in android_media_MediaDrm_closeSession()
843 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { in android_media_MediaDrm_getKeyRequest()
904 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { in android_media_MediaDrm_provideKeyResponse()
924 throwExceptionAsNecessary(env, err, "Failed to remove keys"); in android_media_MediaDrm_removeKeys()
947 throwExceptionAsNecessary(env, err, "Failed to restore keys"); in android_media_MediaDrm_restoreKeys()
963 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) { in android_media_MediaDrm_queryKeyStatus()
995 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) { in android_media_MediaDrm_getProvisionRequestNative()
1052 throwExceptionAsNecessary(env, err, "Failed to handle provision response"); in android_media_MediaDrm_provideProvisionResponseNative()
[all …]