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.cpp1014 static jint throwExceptionAsNecessary( function
1055 throwExceptionAsNecessary(env, INVALID_OPERATION);
1061 throwExceptionAsNecessary(env, err);
1071 throwExceptionAsNecessary(env, INVALID_OPERATION);
1077 throwExceptionAsNecessary(env, err);
1091 throwExceptionAsNecessary(env, INVALID_OPERATION);
1129 throwExceptionAsNecessary(env, err);
1139 throwExceptionAsNecessary(env, INVALID_OPERATION);
1158 throwExceptionAsNecessary(env, err);
1262 throwExceptionAsNecessary(en
[all...]
H A Dandroid_media_MediaDrm.cpp340 static bool throwExceptionAsNecessary( function in namespace:android
921 if (throwExceptionAsNecessary(env, err, "Failed to open session")) {
940 throwExceptionAsNecessary(env, err, "Failed to close session");
993 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) {
1063 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) {
1083 throwExceptionAsNecessary(env, err, "Failed to remove keys");
1106 throwExceptionAsNecessary(env, err, "Failed to restore keys");
1122 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) {
1152 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) {
1207 throwExceptionAsNecessary(en
[all...]

Completed in 289 milliseconds