Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c156 printer_state_dyn->printer_reasons[0] = PRINT_STATUS_UNKNOWN; in _get_status()
158 printer_state_dyn->printer_reasons[i] = PRINT_STATUS_MAX_STATE; in _get_status()
174 printer_state_dyn->printer_reasons[0] = PRINT_STATUS_UNABLE_TO_CONNECT; in _get_status()
198 curr_status.printer_reasons[i] = PRINT_STATUS_MAX_STATE; in _start()
199 last_status.printer_reasons[i] = PRINT_STATUS_MAX_STATE; in _start()
203 last_status.printer_reasons[0] = PRINT_STATUS_INITIALIZING; in _start()
206 curr_status.printer_reasons[0] = PRINT_STATUS_INITIALIZING; in _start()
214 curr_status.printer_reasons[0] = PRINT_STATUS_UNABLE_TO_CONNECT; in _start()
238 last_status.printer_reasons[0] = PRINT_STATUS_SHUTTING_DOWN; in _start()
241 curr_status.printer_reasons[0] = PRINT_STATUS_SHUTTING_DOWN; in _start()
Dipphelper.c308 printer_state_dyn->printer_reasons[0] = PRINT_STATUS_UNABLE_TO_CONNECT; in get_PrinterState()
335 printer_state_dyn->printer_reasons[0] = PRINT_STATUS_UNABLE_TO_CONNECT; in get_PrinterStateReason()
358 printer_state_dyn->printer_reasons[0] = PRINT_STATUS_UNABLE_TO_CONNECT; in get_PrinterStateReason()
368 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_IDLE; in get_PrinterStateReason()
371 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_PRINTING; in get_PrinterStateReason()
375 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_UNKNOWN; in get_PrinterStateReason()
382 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_UNKNOWN; in get_PrinterStateReason()
385 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_PRINTING; in get_PrinterStateReason()
389 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_UNKNOWN; in get_PrinterStateReason()
394 printer_state_dyn->printer_reasons[reason_idx++] = PRINT_STATUS_LOW_ON_INK; in get_PrinterStateReason()
[all …]
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c535 if (new_status->printer_reasons[i] == PRINT_STATUS_MAX_STATE) { in _job_status_callback()
538 LOGD("_job_status_callback(): blocking reason %d: %d", i, new_status->printer_reasons[i]); in _job_status_callback()
539 blocked_reasons |= (1 << new_status->printer_reasons[i]); in _job_status_callback()
544 if ((new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) in _job_status_callback()
545 || (new_status->printer_reasons[0] == PRINT_STATUS_UNKNOWN)) { in _job_status_callback()
549 if ((new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) in _job_status_callback()
574 if (new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) { in _job_status_callback()
585 if (new_status->printer_reasons[0] == PRINT_STATUS_OFFLINE) { in _job_status_callback()
850 && printer_state.printer_reasons[0] == PRINT_STATUS_UNKNOWN) { in _job_thread()
854 && ((printer_state.printer_reasons[0] == PRINT_STATUS_UNABLE_TO_CONNECT) in _job_thread()
[all …]
/packages/services/BuiltInPrintService/jni/include/
Dwprint_status_types.h85 print_status_t printer_reasons[PRINT_STATUS_MAX_STATE + 1]; member