Home
last modified time | relevance | path

Searched refs:blocked_reasons (Results 1 – 3 of 3) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c134 unsigned int blocked_reasons; member
524 unsigned int i, blocked_reasons; in _job_status_callback() local
533 blocked_reasons = 0; in _job_status_callback()
539 blocked_reasons |= (1 << new_status->printer_reasons[i]); in _job_status_callback()
594 if ((jq->job_state != JOB_STATE_RUNNING) || (jq->blocked_reasons != blocked_reasons)) { in _job_status_callback()
596 jq->blocked_reasons = blocked_reasons; in _job_status_callback()
599 cb_param.blocked_reasons = jq->blocked_reasons; in _job_status_callback()
613 jq->blocked_reasons = blocked_reasons; in _job_status_callback()
618 cb_param.blocked_reasons = blocked_reasons; in _job_status_callback()
643 if ((jq->job_state != JOB_STATE_BLOCKED) || (jq->blocked_reasons != blocked_reasons)) { in _job_status_callback()
[all …]
DwprintJNI.c1023 if (cb_param->blocked_reasons & (1 << i)) { in _wprint_callback_fn()
1034 unsigned int blocked_reasons = cb_param->blocked_reasons; in _wprint_callback_fn() local
1038 if ((blocked_reasons & (1 << i)) == 0) { in _wprint_callback_fn()
1040 } else if (blocked_reasons & BLOCKED_REASON_UNABLE_TO_CONNECT) { in _wprint_callback_fn()
1044 } else if (blocked_reasons & BLOCKED_REASON_BUSY) { in _wprint_callback_fn()
1048 } else if (blocked_reasons & BLOCKED_REASONS_CANCELLED) { in _wprint_callback_fn()
1052 } else if (blocked_reasons & BLOCKED_REASON_JAMMED) { in _wprint_callback_fn()
1056 } else if (blocked_reasons & BLOCKED_REASON_OUT_OF_PAPER) { in _wprint_callback_fn()
1060 } else if (blocked_reasons & BLOCKED_REASON_OUT_OF_INK) { in _wprint_callback_fn()
1064 } else if (blocked_reasons & BLOCKED_REASON_OUT_OF_TONER) { in _wprint_callback_fn()
[all …]
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h236 unsigned int blocked_reasons; member