OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:printer_state
(Results
1 - 5
of
5
) sorted by null
/external/libcups/cups/
notify.c
42
*
printer_state
, /* printer-state */
local
62
printer_state
= ippFindAttribute(event, "printer-state", IPP_TAG_ENUM);
112
else if (printer_uri && printer_name &&
printer_state
)
120
switch (
printer_state
->values[0].integer)
/packages/services/BuiltInPrintService/jni/ipphelper/
ipphelper.h
79
printer_state_dyn_t *printer_state_dyn, ipp_pstate_t *
printer_state
);
82
* Outputs printer state reasons int
printer_state
84
extern void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *
printer_state
,
ippstatus_monitor.c
146
ipp_pstate_t
printer_state
;
local
180
&
printer_state
);
ipphelper.c
228
printer_state_dyn_t *printer_state_dyn, ipp_pstate_t *
printer_state
) {
247
if (
printer_state
) {
248
*
printer_state
= IPP_PRINTER_STOPPED;
250
LOGE("get_PrinterState():
printer_state
is null");
267
get_PrinterStateReason(response,
printer_state
, printer_state_dyn);
271
LOGD("get_PrinterState(): exit http->fd %d, ipp_status %d,
printer_state
%d", http->fd,
279
void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *
printer_state
,
293
*
printer_state
= printer_ippstate;
[
all
...]
/packages/services/BuiltInPrintService/jni/lib/
lib_wprint.c
756
printer_state_dyn_t
printer_state
;
local
759
jq->status_ifc->get_status(jq->status_ifc, &
printer_state
);
760
status =
printer_state
.printer_status & ~PRINTER_IDLE_BIT;
764
printer_state
.printer_status = PRINT_STATUS_IDLE;
769
if (
printer_state
.printer_reasons[0] == PRINT_STATUS_UNKNOWN) {
772
printer_state
.printer_status = PRINT_STATUS_IDLE;
777
if ((
printer_state
.printer_reasons[0] == PRINT_STATUS_UNABLE_TO_CONNECT)
778
|| (
printer_state
.printer_reasons[0] == PRINT_STATUS_OFFLINE)) {
785
if (
printer_state
.printer_status & PRINTER_IDLE_BIT) {
788
printer_state
.printer_status = PRINT_STATUS_IDLE
[
all
...]
Completed in 184 milliseconds