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.cpp1214 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()
[all …]
Dandroid_media_MediaDrm.cpp359 static bool throwExceptionAsNecessary( in throwExceptionAsNecessary() function
1024 if (throwExceptionAsNecessary(env, err, "Failed to query crypto scheme support")) { in android_media_MediaDrm_isCryptoSchemeSupportedNative()
1047 if (throwExceptionAsNecessary(env, err, "Failed to open session")) { in android_media_MediaDrm_openSession()
1066 throwExceptionAsNecessary(env, err, "Failed to close session"); in android_media_MediaDrm_closeSession()
1119 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { in android_media_MediaDrm_getKeyRequest()
1189 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { in android_media_MediaDrm_provideKeyResponse()
1213 throwExceptionAsNecessary(env, err, "Failed to remove keys"); in android_media_MediaDrm_removeKeys()
1236 throwExceptionAsNecessary(env, err, "Failed to restore keys"); in android_media_MediaDrm_restoreKeys()
1252 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) { in android_media_MediaDrm_queryKeyStatus()
1282 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) { in android_media_MediaDrm_getProvisionRequestNative()
[all …]