Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c520 static void _job_status_callback(const printer_state_dyn_t *new_status, in _job_status_callback() argument
527 statusnew = new_status->printer_status & ~PRINTER_IDLE_BIT; in _job_status_callback()
535 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()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c44 const printer_state_dyn_t *new_status, const printer_state_dyn_t *old_status,
187 void (*status_cb)(const printer_state_dyn_t *new_status, in _start() argument
/packages/services/BuiltInPrintService/jni/include/
Difc_status_monitor.h48 void (*status_callback)(const printer_state_dyn_t *new_status,