Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java114 PrinterInfo printerInfo; in addPrinter() local
123 printerInfo = new PrinterInfo.Builder(printerId, name, in addPrinter()
126 printerInfo = (new PrinterInfo.Builder(printerId, name, in addPrinter()
130 printers.add(printerInfo); in addPrinter()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java775 PrinterInfo printerInfo = data.getParcelableExtra( in onSelectPrinterActivityResult() local
777 if (printerInfo != null) { in onSelectPrinterActivityResult()
778 mCurrentPrinter = printerInfo; in onSelectPrinterActivityResult()
779 mPrintJob.setPrinterId(printerInfo.getId()); in onSelectPrinterActivityResult()
780 mPrintJob.setPrinterName(printerInfo.getName()); in onSelectPrinterActivityResult()
782 if (canPrint(printerInfo)) { in onSelectPrinterActivityResult()
783 updatePrintAttributesFromCapabilities(printerInfo.getCapabilities()); in onSelectPrinterActivityResult()
784 onPrinterAvailable(printerInfo); in onSelectPrinterActivityResult()
786 onPrinterUnavailable(printerInfo); in onSelectPrinterActivityResult()
789 mDestinationSpinnerAdapter.ensurePrinterInVisibleAdapterPosition(printerInfo); in onSelectPrinterActivityResult()
[all …]