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

/frameworks/base/media/jni/
H A Dandroid_media_MediaSync.cpp146 static void throwExceptionAsNecessary( function
176 throwExceptionAsNecessary(env, INVALID_OPERATION);
186 throwExceptionAsNecessary(env, BAD_VALUE, "The surface has been released");
194 throwExceptionAsNecessary(
199 throwExceptionAsNecessary(env, BAD_VALUE, msg.c_str());
209 throwExceptionAsNecessary(env, INVALID_OPERATION);
217 throwExceptionAsNecessary(env, BAD_VALUE, "The audio track has been released");
225 throwExceptionAsNecessary(
230 throwExceptionAsNecessary(env, BAD_VALUE, msg.c_str());
240 throwExceptionAsNecessary(en
[all...]
H A Dandroid_media_MediaCodec.cpp903 static jint throwExceptionAsNecessary( function
944 throwExceptionAsNecessary(env, INVALID_OPERATION);
950 throwExceptionAsNecessary(env, err);
960 throwExceptionAsNecessary(env, INVALID_OPERATION);
966 throwExceptionAsNecessary(env, err);
980 throwExceptionAsNecessary(env, INVALID_OPERATION);
1019 throwExceptionAsNecessary(env, err);
1029 throwExceptionAsNecessary(env, INVALID_OPERATION);
1048 throwExceptionAsNecessary(env, err);
1152 throwExceptionAsNecessary(en
[all...]
H A Dandroid_media_MediaDrm.cpp260 static bool throwExceptionAsNecessary( function in namespace:android
771 if (throwExceptionAsNecessary(env, err, "Failed to open session")) {
790 throwExceptionAsNecessary(env, err, "Failed to close session");
843 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) {
904 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) {
924 throwExceptionAsNecessary(env, err, "Failed to remove keys");
947 throwExceptionAsNecessary(env, err, "Failed to restore keys");
963 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) {
995 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) {
1052 throwExceptionAsNecessary(en
[all...]

Completed in 145 milliseconds