Searched refs:opStatus (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/media/jni/ |
H A D | android_media_MediaRecorder.cpp | 117 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument 120 if (opStatus == (status_t)INVALID_OPERATION) { 123 } else if (opStatus != (status_t)OK) { 259 status_t opStatus = mr->setOutputFile(fd, offset, length); local 260 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");
|
H A D | android_media_MediaMetadataRetriever.cpp | 50 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument 52 if (opStatus == (status_t) INVALID_OPERATION) { 54 } else if (opStatus != (status_t) OK) { 61 sprintf(msg, "%s: status = 0x%X", message, opStatus);
|
H A D | android_media_MediaPlayer.cpp | 148 // If exception is NULL and opStatus is not OK, this method sends an error 150 // opStatus is not OK, this method throws the given exception to the client 152 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument 155 if (opStatus != (status_t) OK) { 157 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0); 160 if ( opStatus == (status_t) INVALID_OPERATION ) { 162 } else if ( opStatus == (status_t) PERMISSION_DENIED ) { 164 } else if ( opStatus != (status_t) OK ) { 171 sprintf(msg, "%s: status=0x%X", message, opStatus); 211 status_t opStatus local [all...] |
Completed in 44 milliseconds