Searched refs:printAttributes (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustmentTest.java | 91 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testAllPagesWantedAndAllPagesWritten() local 102 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testAllPagesWantedAndAllPagesWritten() 120 writeBlankPages(printAttributes[0], fd, 0, PAGE_COUNT - 1); in testAllPagesWantedAndAllPagesWritten() 199 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testSomePagesWantedAndAllPagesWritten() local 210 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testSomePagesWantedAndAllPagesWritten() 229 writeBlankPages(printAttributes[0], fd, 0, PAGE_COUNT - 1); in testSomePagesWantedAndAllPagesWritten() 319 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testSomePagesWantedAndSomeMorePagesWritten() local 330 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testSomePagesWantedAndSomeMorePagesWritten() 355 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in testSomePagesWantedAndSomeMorePagesWritten() 359 writeBlankPages(printAttributes[0], fd, REQUESTED_PAGE - 1, REQUESTED_PAGE); in testSomePagesWantedAndSomeMorePagesWritten() [all …]
|
D | PrintDocumentAdapterContractTest.java | 69 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testNoPrintOptionsOrPrinterChange() local 76 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testNoPrintOptionsOrPrinterChange() 94 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in testNoPrintOptionsOrPrinterChange() 193 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testNoPrintOptionsOrPrinterChangeCanceled() local 200 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testNoPrintOptionsOrPrinterChangeCanceled() 217 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in testNoPrintOptionsOrPrinterChangeCanceled() 287 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testPrintOptionsChangeAndNoPrinterChange() local 294 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in testPrintOptionsChangeAndNoPrinterChange() 313 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in testPrintOptionsChangeAndNoPrinterChange() 491 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in testPrintOptionsChangeAndPrinterChange() local [all …]
|
D | PrinterInfoTest.java | 72 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in createMockPrintDocumentAdapter() local 78 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in createMockPrintDocumentAdapter() 101 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), in createMockPrintDocumentAdapter()
|
D | PrintServicesTest.java | 99 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in createMockPrintDocumentAdapter() local 105 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in createMockPrintDocumentAdapter() 128 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), in createMockPrintDocumentAdapter()
|
D | PrinterDiscoverySessionLifecycleTest.java | 492 final PrintAttributes[] printAttributes = new PrintAttributes[1]; 498 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; 516 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd());
|
D | PrinterCapabilitiesTest.java | 108 private void waitForMediaSizeChange(PrintAttributes[] printAttributes, MediaSize mediaSize) in waitForMediaSizeChange() argument 112 while (printAttributes[0] == null || in waitForMediaSizeChange() 113 !printAttributes[0].getMediaSize().equals(mediaSize)) { in waitForMediaSizeChange() 120 + printAttributes[0]); in waitForMediaSizeChange()
|
D | PrintJobTest.java | 82 final PrintAttributes[] printAttributes = new PrintAttributes[1]; in createMockPrintDocumentAdapter() local 88 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in createMockPrintDocumentAdapter() 108 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), in createMockPrintDocumentAdapter()
|