Home
last modified time | relevance | path

Searched refs:printAttributes (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java91 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 …]
DPrintDocumentAdapterContractTest.java69 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 …]
DPrinterInfoTest.java72 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()
DPrintServicesTest.java99 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()
DPrinterDiscoverySessionLifecycleTest.java492 final PrintAttributes[] printAttributes = new PrintAttributes[1];
498 printAttributes[0] = (PrintAttributes) invocation.getArguments()[1];
516 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd());
DPrinterCapabilitiesTest.java108 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()
DPrintJobTest.java82 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()