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

/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp50 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 Dandroid_media_MediaRecorder.cpp115 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument
118 if (opStatus == (status_t)INVALID_OPERATION) {
121 } else if (opStatus != (status_t)OK) {
257 status_t opStatus = mr->setOutputFile(fd, offset, length); local
258 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");
H A Dandroid_media_MediaPlayer.cpp153 // If exception is NULL and opStatus is not OK, this method sends an error
155 // opStatus is not OK, this method throws the given exception to the client
157 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
160 if (opStatus != (status_t) OK) {
162 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0);
165 if ( opStatus == (status_t) INVALID_OPERATION ) {
167 } else if ( opStatus == (status_t) PERMISSION_DENIED ) {
169 } else if ( opStatus != (status_t) OK ) {
176 sprintf(msg, "%s: status=0x%X", message, opStatus);
216 status_t opStatus local
[all...]

Completed in 52 milliseconds