Home | History | Annotate | Download | only in jni

Lines Matching refs:opStatus

148 // If exception is NULL and opStatus is not OK, this method sends an error
150 // opStatus is not OK, this method throws the given exception to the client
152 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message)
155 if (opStatus != (status_t) OK) {
157 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0);
160 if ( opStatus == (status_t) INVALID_OPERATION ) {
162 } else if ( opStatus == (status_t) PERMISSION_DENIED ) {
164 } else if ( opStatus != (status_t) OK ) {
171 sprintf(msg, "%s: status=0x%X", message, opStatus);
211 status_t opStatus =
217 env, thiz, opStatus, "java/io/IOException",