Home
last modified time | relevance | path

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

/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java915 public PrintSpoolerClient(RemotePrintSpooler spooler) { in PrintSpoolerClient() argument
916 mWeakSpooler = new WeakReference<RemotePrintSpooler>(spooler); in PrintSpoolerClient()
921 RemotePrintSpooler spooler = mWeakSpooler.get(); in onPrintJobQueued() local
922 if (spooler != null) { in onPrintJobQueued()
925 spooler.mCallbacks.onPrintJobQueued(printJob); in onPrintJobQueued()
934 RemotePrintSpooler spooler = mWeakSpooler.get(); in onAllPrintJobsForServiceHandled() local
935 if (spooler != null) { in onAllPrintJobsForServiceHandled()
938 spooler.mCallbacks.onAllPrintJobsForServiceHandled(printService); in onAllPrintJobsForServiceHandled()
947 RemotePrintSpooler spooler = mWeakSpooler.get(); in onAllPrintJobsHandled() local
948 if (spooler != null) { in onAllPrintJobsHandled()
[all …]
DRemotePrintService.java121 RemotePrintSpooler spooler, PrintServiceCallbacks callbacks) { in RemotePrintService() argument
127 mSpooler = spooler; in RemotePrintService()
/frameworks/base/core/proto/android/service/
Dprint.proto54 // The print spooler state
61 // Is the print spooler destroyed?
64 // Is the print spooler bound?
67 // State internal to the print spooler
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java403 PrintSpoolerService spooler = mSpoolerProvider.getSpooler(); in onPause() local
407 if (spooler != null) { in onPause()
408 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_CANCELED, null); in onPause()
416 spooler.updatePrintJobUserConfigurableOptionsNoPersistence(mPrintJob); in onPause()
421 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_COMPLETED, in onPause()
424 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_QUEUED, in onPause()
430 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_FAILED, in onPause()
435 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_CANCELED, null); in onPause()