HomeSort by relevance Sort by last modified time
    Searched refs:PrinterId (Results 26 - 50 of 63) sorted by null

12 3

  /packages/services/BuiltInPrintService/src/com/android/bips/
LocalPrinter.java 22 import android.print.PrinterId;
45 private final PrinterId mPrinterId;
117 PrinterId getPrinterId() {
  /packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DiscoveredPrinter.java 22 import android.print.PrinterId;
49 private PrinterId mPrinterId;
107 public PrinterId getId(PrintService printService) {
  /frameworks/base/core/tests/coretests/src/android/print/
IPrintManagerParametersTest.java 67 private PrinterId mGoodPrinterId;
219 private PrinterId getBadPrinterId() {
220 return new PrinterId(getActivity().getComponentName(), "dummy printer");
559 final List<PrinterId> goodPrinters = new ArrayList<>();
562 final List<PrinterId> badPrinters = new ArrayList<>();
565 final List<PrinterId> emptyPrinters = new ArrayList<>();
567 final List<PrinterId> nullPrinters = new ArrayList<>();
615 final List<PrinterId> goodPrinters = new ArrayList<>();
618 final List<PrinterId> badPrinters = new ArrayList<>();
621 final List<PrinterId> emptyPrinters = new ArrayList<>()
    [all...]
BasePrintTest.java 240 any(PrinterId.class));
244 any(PrinterId.class), any(CancellationSignal.class),
249 any(PrinterId.class));
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
FusedPrintersProvider.java 41 import android.print.PrinterId;
112 private PrinterId mTrackedPrinter;
155 Map<PrinterId, PrinterInfo> updatedPrinters) {
173 private void computeAndDeliverResult(Map<PrinterId, PrinterInfo> discoveredPrinters,
180 HashSet<PrinterId> alreadyAddedPrinter = new HashSet<>(MAX_FAVORITE_PRINTER_COUNT);
324 List<PrinterId> printerIds = new ArrayList<>(favoriteCount);
352 Map<PrinterId, PrinterInfo> printersMap = new LinkedHashMap<>();
463 public void setTrackedPrinter(@Nullable PrinterId printerId) {
467 if (mTrackedPrinter.equals(printerId)) {
    [all...]
PrintActivity.java 60 import android.print.PrinterId;
249 private PrinterId mDefaultPrinter;
    [all...]
  /frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
BasePrintTest.java 28 import android.print.PrinterId;
171 any(PrinterId.class));
175 any(PrinterId.class), any(CancellationSignal.class),
180 any(PrinterId.class));
WorkflowTest.java 28 import android.print.PrinterId;
175 PrinterId printerId = session.getService().generatePrinterId(name);
179 new PrinterCapabilitiesInfo.Builder(printerId);
190 printerInfo = new PrinterInfo.Builder(printerId, name,
193 printerInfo = (new PrinterInfo.Builder(printerId, name,
243 .add(((PrinterId) inv2.getArguments()[0]).getLocalId());
250 .remove(((PrinterId) inv2.getArguments()[0]).getLocalId());
  /cts/tests/tests/print/src/android/print/cts/
PrinterCapabilitiesChangeTest.java 30 import android.print.PrinterId;
70 private final PrinterId[] mPrinterId = new PrinterId[1];
80 * @param printerId The id of the printer
86 private List<PrinterInfo> generatePrinters(PrinterId printerId, MediaSize mediaSize,
94 printerId);
107 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME, status).setCapabilities(cap)
144 * @param printerId The printer to change
149 final PrinterId printerId, final MediaSize mediaSize, final boolean isAvailable
    [all...]
PrinterCapabilitiesTest.java 30 import android.print.PrinterId;
75 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME);
77 // printerId need to be set
84 (new PrinterCapabilitiesInfo.Builder(printerId))
91 (new PrinterCapabilitiesInfo.Builder(printerId))
97 (new PrinterCapabilitiesInfo.Builder(printerId))
103 (new PrinterCapabilitiesInfo.Builder(printerId))
111 (new PrinterCapabilitiesInfo.Builder(printerId))
120 (new PrinterCapabilitiesInfo.Builder(printerId))
    [all...]
PrintServicesTest.java 39 import android.print.PrinterId;
97 PrinterId printerId = session.getService()
101 printerId)
116 sPrinter = new PrinterInfo.Builder(printerId, printerName,
134 .add(((PrinterId) invocation.getArguments()[0]).getLocalId());
150 trackedPrinters.remove(((PrinterId) invocation.getArguments()[0]).getLocalId());
PrintDocumentInfoTest.java 30 import android.print.PrinterId;
276 PrinterId firstPrinterId = service.generatePrinterId("first_printer");
PrinterInfoTest.java 28 import android.print.PrinterId;
111 // The printerId not used in PrinterCapabilitiesInfo
135 // printerId
137 PrinterId printerId = null;
140 printerId = sDiscoverySession
145 printerId = sDiscoverySession
170 printerId, name, status);
177 if (printerId == null
270 if (printer.getId() != printerId
    [all...]
InterfaceForAppsTest.java 24 import android.print.PrinterId;
66 PrinterId printerId = session.getService().generatePrinterId(TEST_PRINTER);
71 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId)
PrintJobStateTransitionsTest.java 26 import android.print.PrinterId;
85 PrinterId printerId =
91 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId)
CustomPrintOptionsTest.java 31 import android.print.PrinterId;
133 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME);
136 new PrinterCapabilitiesInfo.Builder(printerId);
148 printers.add(new PrinterInfo.Builder(printerId, PRINTER_NAME,
PageRangeAdjustAndVerify.java 37 import android.print.PrinterId;
379 PrinterId firstPrinterId = service.generatePrinterId("first_printer");
PageRangeAdjustmentTest.java 36 import android.print.PrinterId;
515 PrinterId firstPrinterId = service.generatePrinterId("first_printer");
PrintAttributesTest.java 30 import android.print.PrinterId;
155 PrinterId printerId = session.getService().generatePrinterId(PRINTER_NAME);
158 new PrinterCapabilitiesInfo.Builder(printerId);
194 PrinterInfo printer = new PrinterInfo.Builder(printerId, PRINTER_NAME,
PrintJobTest.java 27 import android.print.PrinterId;
79 PrinterId printerId =
85 printer.setCapabilities(new PrinterCapabilitiesInfo.Builder(printerId)
  /packages/experimental/PrintService/src/foo/bar/printservice/
MyPrintService.java 38 import android.print.PrinterId;
428 public void onStartPrinterDiscovery(List<PrinterId> priorityList) {
442 public void onStartPrinterStateTracking(PrinterId printerId) {
449 if (printer.getId().equals(printerId)) {
451 printerId)
484 public void onRequestCustomPrinterIcon(final PrinterId printerId,
487 Log.i(LOG_TAG, "FakePrinterDiscoverySession#onRequestCustomPrinterIcon() " + printerId);
501 public void onValidatePrinters(List<PrinterId> printerIds)
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintSpooler.java 41 import android.print.PrinterId;
364 * @param printerId the id of the printer the icon belongs to
368 public final void onCustomPrinterIconLoaded(@NonNull PrinterId printerId,
377 printerId, icon);
396 * @param printerId the id of the printer the icon should be loaded for
401 public final @Nullable Icon getCustomPrinterIcon(@NonNull PrinterId printerId) {
409 printerId);
813 public Void onCustomPrinterIconLoaded(IPrintSpooler target, PrinterId printerId
    [all...]
PrintManagerService.java 48 import android.print.PrinterId;
191 public Icon getCustomPrinterIcon(PrinterId printerId, int userId) {
192 printerId = Preconditions.checkNotNull(printerId);
205 return userState.getCustomPrinterIcon(printerId);
382 List<PrinterId> priorityList, int userId) {
386 "PrinterId");
428 public void validatePrinters(List<PrinterId> printerIds, int userId) {
429 printerIds = Preconditions.checkCollectionElementsNotNull(printerIds, "PrinterId");
    [all...]
  /frameworks/base/core/java/android/print/
PrintJobInfo.java 154 private PrinterId mPrinterId;
302 public @Nullable PrinterId getPrinterId() {
309 * @param printerId The target printer id.
313 public void setPrinterId(@NonNull PrinterId printerId) {
314 mPrinterId = printerId;
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
PrintSpoolerService.java 46 import android.print.PrinterId;
290 PrinterId printerId = printJob.getPrinterId();
292 || (printerId != null
293 && componentName.equals(printerId.getServiceName())));
546 PrinterId printerId = printJob.getPrinterId();
547 if (printerId != null) {
548 ComponentName service = printerId.getServiceName();
753 * @param printerId the id of the printer the icon belongs t
    [all...]

Completed in 1734 milliseconds

12 3