Home
last modified time | relevance | path

Searched refs:opStatus (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp127 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, cons… in process_media_recorder_call() argument
130 if (opStatus == (status_t)INVALID_OPERATION) { in process_media_recorder_call()
133 } else if (opStatus != (status_t)OK) { in process_media_recorder_call()
274 status_t opStatus = mr->setOutputFile(fd, offset, length); in android_media_MediaRecorder_setOutputFileFD() local
275 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed."); in android_media_MediaRecorder_setOutputFileFD()
Dandroid_media_MediaPlayer.cpp167 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exc… in process_media_player_call() argument
170 if (opStatus != (status_t) OK) { in process_media_player_call()
172 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0); in process_media_player_call()
175 if ( opStatus == (status_t) INVALID_OPERATION ) { in process_media_player_call()
177 } else if ( opStatus == (status_t) BAD_VALUE ) { in process_media_player_call()
179 } else if ( opStatus == (status_t) PERMISSION_DENIED ) { in process_media_player_call()
181 } else if ( opStatus != (status_t) OK ) { in process_media_player_call()
188 sprintf(msg, "%s: status=0x%X", message, opStatus); in process_media_player_call()
234 status_t opStatus = in android_media_MediaPlayer_setDataSourceAndHeaders() local
241 env, thiz, opStatus, "java/io/IOException", in android_media_MediaPlayer_setDataSourceAndHeaders()
Dandroid_media_MediaMetadataRetriever.cpp54 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, con… in process_media_retriever_call() argument
56 if (opStatus == (status_t) INVALID_OPERATION) { in process_media_retriever_call()
58 } else if (opStatus != (status_t) OK) { in process_media_retriever_call()
65 sprintf(msg, "%s: status = 0x%X", message, opStatus); in process_media_retriever_call()