Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c191 printer_state_dyn_t last_status, curr_status; in _start() local
199 last_status.printer_reasons[i] = PRINT_STATUS_MAX_STATE; in _start()
202 last_status.printer_status = PRINT_STATUS_UNKNOWN; in _start()
203 last_status.printer_reasons[0] = PRINT_STATUS_INITIALIZING; in _start()
210 (*status_cb)(&curr_status, &last_status, param); in _start()
233 (*status_cb)(&curr_status, &last_status, param); in _start()
237 last_status.printer_status = PRINT_STATUS_UNKNOWN; in _start()
238 last_status.printer_reasons[0] = PRINT_STATUS_SHUTTING_DOWN; in _start()
248 (memcmp(&curr_status, &last_status, sizeof(printer_state_dyn_t)) != 0)) { in _start()
249 (*status_cb)(&curr_status, &last_status, param); in _start()
[all …]