Home
last modified time | relevance | path

Searched refs:printer_state (Results 1 – 4 of 4) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c834 printer_state_dyn_t printer_state; in _job_thread() local
837 jq->status_ifc->get_status(jq->status_ifc, &printer_state); in _job_thread()
838 status = printer_state.printer_status & ~PRINTER_IDLE_BIT; in _job_thread()
847 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
850 && printer_state.printer_reasons[0] == PRINT_STATUS_UNKNOWN) { in _job_thread()
852 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
854 && ((printer_state.printer_reasons[0] == PRINT_STATUS_UNABLE_TO_CONNECT) in _job_thread()
855 || (printer_state.printer_reasons[0] == PRINT_STATUS_OFFLINE))) { in _job_thread()
863 } else if (printer_state.printer_status & PRINTER_IDLE_BIT) { in _job_thread()
866 printer_state.printer_status = PRINT_STATUS_IDLE; in _job_thread()
[all …]
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.h79 printer_state_dyn_t *printer_state_dyn, ipp_pstate_t *printer_state);
84 extern void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *printer_state,
Dipphelper.c228 printer_state_dyn_t *printer_state_dyn, ipp_pstate_t *printer_state) { in get_PrinterState() argument
247 if (printer_state) { in get_PrinterState()
248 *printer_state = IPP_PRINTER_STOPPED; in get_PrinterState()
267 get_PrinterStateReason(response, printer_state, printer_state_dyn); in get_PrinterState()
279 void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *printer_state, in get_PrinterStateReason() argument
293 *printer_state = printer_ippstate; in get_PrinterStateReason()
Dippstatus_monitor.c146 ipp_pstate_t printer_state; in _get_status() local
180 &printer_state); in _get_status()