Home
last modified time | relevance | path

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

/external/libcups/scheduler/
Dsysman.c127 static IOPMAssertionID keep_awake = 0;/* Keep the system awake while printing */ in cupsdSetBusyState() local
168 if (cupsArrayCount(PrintingJobs) > 0 && !keep_awake) in cupsdSetBusyState()
174 CFSTR("org.cups.cupsd"), &keep_awake); in cupsdSetBusyState()
176 else if (cupsArrayCount(PrintingJobs) == 0 && keep_awake) in cupsdSetBusyState()
179 IOPMAssertionRelease(keep_awake); in cupsdSetBusyState()
180 keep_awake = 0; in cupsdSetBusyState()