Searched refs:opStatus (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 129 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, cons… in process_media_recorder_call() argument 132 if (opStatus == (status_t)INVALID_OPERATION) { in process_media_recorder_call() 135 } else if (opStatus != (status_t)OK) { in process_media_recorder_call() 308 status_t opStatus = mr->setOutputFile(fd); in android_media_MediaRecorder_setOutputFileFD() local 309 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed."); in android_media_MediaRecorder_setOutputFileFD() 326 status_t opStatus = mr->setNextOutputFile(fd); in android_media_MediaRecorder_setNextOutputFileFD() local 327 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed."); in android_media_MediaRecorder_setNextOutputFileFD()
|
D | android_media_MediaMetadataRetriever.cpp | 54 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()
|
D | android_media_MediaPlayer.cpp | 192 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exc… in process_media_player_call() argument 195 if (opStatus != (status_t) OK) { in process_media_player_call() 197 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0); in process_media_player_call() 200 if ( opStatus == (status_t) INVALID_OPERATION ) { in process_media_player_call() 202 } else if ( opStatus == (status_t) BAD_VALUE ) { in process_media_player_call() 204 } else if ( opStatus == (status_t) PERMISSION_DENIED ) { in process_media_player_call() 206 } else if ( opStatus != (status_t) OK ) { in process_media_player_call() 213 sprintf(msg, "%s: status=0x%X", message, opStatus); in process_media_player_call() 259 status_t opStatus = in android_media_MediaPlayer_setDataSourceAndHeaders() local 266 env, thiz, opStatus, "java/io/IOException", in android_media_MediaPlayer_setDataSourceAndHeaders()
|