Lines Matching refs:opStatus
154 // If exception is NULL and opStatus is not OK, this method sends an error
156 // opStatus is not OK, this method throws the given exception to the client
158 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message)
161 if (opStatus != (status_t) OK) {
163 if (mp != 0) mp->notify(MEDIA_ERROR, opStatus, 0);
166 if ( opStatus == (status_t) INVALID_OPERATION ) {
168 } else if ( opStatus == (status_t) PERMISSION_DENIED ) {
170 } else if ( opStatus != (status_t) OK ) {
177 sprintf(msg, "%s: status=0x%X", message, opStatus);
217 status_t opStatus =
223 env, thiz, opStatus, "java/io/IOException",