Searched defs:opStatus (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 54 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 D | android_media_MediaRecorder.cpp | 129 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 D | android_media_MediaPlayer.cpp | 188 // 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