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

/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp117 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) {
264 status_t opStatus = mr->setOutputFile(fd, offset, length); local
265 process_media_recorder_call(env, opStatus, "java/io/IOException", "setOutputFile failed.");
H A Dandroid_media_MediaMetadataRetriever.cpp53 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
55 if (opStatus == (status_t) INVALID_OPERATION) {
57 } else if (opStatus != (status_t) OK) {
64 sprintf(msg, "%s: status = 0x%X", message, opStatus);
H A Dandroid_media_MediaPlayer.cpp156 // If exception is NULL and opStatus is not OK, this method sends an error
158 // opStatus is not OK, this method throws the given exception to the client
160 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
163 if (opStatus != (status_t) OK) {
165 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0);
168 if ( opStatus == (status_t) INVALID_OPERATION ) {
170 } else if ( opStatus == (status_t) PERMISSION_DENIED ) {
172 } else if ( opStatus != (status_t) OK ) {
179 sprintf(msg, "%s: status=0x%X", message, opStatus);
225 status_t opStatus local
[all...]

Completed in 42 milliseconds