Searched defs:opStatus (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp54 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
56 if (opStatus == (status_t) INVALID_OPERATION) {
58 } else if (opStatus != (status_t) OK) {
65 sprintf(msg, "%s: status = 0x%X", message, opStatus);
H A Dandroid_media_MediaRecorder.cpp129 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument
132 if (opStatus == (status_t)INVALID_OPERATION) {
135 } else if (opStatus != (status_t)OK) {
308 status_t opStatus = mr->setOutputFile(fd); local
309 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");
326 status_t opStatus = mr->setNextOutputFile(fd); local
327 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");
H A Dandroid_media_MediaPlayer.cpp188 // If exception is NULL and opStatus is not OK, this method sends an error
190 // opStatus is not OK, this method throws the given exception to the client
192 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
195 if (opStatus != (status_t) OK) {
197 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0);
200 if ( opStatus == (status_t) INVALID_OPERATION ) {
202 } else if ( opStatus == (status_t) BAD_VALUE ) {
204 } else if ( opStatus == (status_t) PERMISSION_DENIED ) {
206 } else if ( opStatus != (status_t) OK ) {
213 sprintf(msg, "%s: status=0x%X", message, opStatus);
259 status_t opStatus = local
[all...]

Completed in 48 milliseconds