Home
last modified time | relevance | path

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

/cts/libs/helpers/interfaces/src/com/android/cts/helpers/
DICtsPrintHelper.java61 void selectPrinter(String printerName, long timeout); in selectPrinter() argument
71 void selectPrinterWhenAvailable(String printerName); in selectPrinterWhenAvailable() argument
/cts/helpers/default/src/com/android/cts/helpers/aosp/
DDefaultCtsPrintHelper.java157 public void selectPrinter(String printerName, long timeout) throws TestHelperException { in selectPrinter() argument
158 Log.d(LOG_TAG, "Selecting printer " + printerName); in selectPrinter()
171 UiObject2 printerOption = mDevice.wait(Until.findObject(By.text(printerName)), timeout); in selectPrinter()
173 throw new UiObjectNotFoundException(printerName + " not found"); in selectPrinter()
185 public void selectPrinterWhenAvailable(String printerName) throws TestHelperException { in selectPrinterWhenAvailable() argument
189 new UiSelector().text(printerName)); in selectPrinterWhenAvailable()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java574 protected void selectPrinter(String printerName) throws IOException, TestHelperException { in selectPrinter() argument
575 mPrintHelper.selectPrinter(printerName, OPERATION_TIMEOUT_MILLIS); in selectPrinter()
578 protected void selectPrinter(String printerName, long timeout) throws IOException, in selectPrinter() argument
580 mPrintHelper.selectPrinter(printerName, timeout); in selectPrinter()
885 public void makeDefaultPrinter(PrintDocumentAdapter adapter, String printerName) in makeDefaultPrinter() argument
893 selectPrinter(printerName); in makeDefaultPrinter()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java105 String printerName) { in createMockPrinterDiscoverySessionCallbacks() argument
116 .generatePrinterId(printerName); in createMockPrinterDiscoverySessionCallbacks()
125 sPrinter = new PrinterInfo.Builder(printerId, printerName, in createMockPrinterDiscoverySessionCallbacks()
DPrinterDiscoverySessionLifecycleTest.java134 private void selectInAllPrintersActivity(@NonNull String printerName) throws Exception { in selectInAllPrintersActivity() argument
135 mPrintHelper.selectPrinterWhenAvailable(printerName); in selectInAllPrintersActivity()