Home
last modified time | relevance | path

Searched refs:pages (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustmentTest.java104 PageRange[] pages = printJob.getInfo().getPages(); in allPagesWantedAndAllPagesWritten()
105 assertTrue(pages.length == 1 && PageRange.ALL_PAGES.equals(pages[0])); in allPagesWantedAndAllPagesWritten()
152 PageRange[] pages = printJob.getInfo().getPages(); in somePagesWantedAndAllPagesWritten()
155 assertTrue(pages.length == 1 && PageRange.ALL_PAGES.equals(pages[0])); in somePagesWantedAndAllPagesWritten()
182 PageRange[] pages = (PageRange[]) args[0]; in somePagesWantedAndAllPagesWritten()
183 assertTrue(pages[pages.length - 1].getEnd() < PAGE_COUNT); in somePagesWantedAndAllPagesWritten()
241 PageRange[] pages = printJobInfo.getPages(); in somePagesWantedAndSomeMorePagesWritten()
245 assertTrue(pages.length == 1 && PageRange.ALL_PAGES.equals(pages[0])); in somePagesWantedAndSomeMorePagesWritten()
273 PageRange[] pages = (PageRange[]) args[0]; in somePagesWantedAndSomeMorePagesWritten()
278 assertSame(pages.length, 1); in somePagesWantedAndSomeMorePagesWritten()
[all …]
DCustomPrintOptionsTest.java244 final PageRange[] pages, final MediaSize mediaSize, final boolean isPortrait, in testCase() argument
299 if (pages != null) { in testCase()
300 printJobBuilder.setPages(pages); in testCase()
314 ", pages: " + Arrays.toString(pages) + ", copyFromOriginal: " + copyFromOriginal); in testCase()
355 if (pages == null) { in testCase()
358 newPages = pages; in testCase()
DPrinterCapabilitiesChangeTest.java202 PageRange[] pages = (PageRange[]) args[0]; in setUpPrinting()
206 writeBlankPages(mLayoutAttributes[0], fd, pages[0].getStart(), in setUpPrinting()
207 pages[0].getEnd()); in setUpPrinting()
216 callback.onWriteFinished(pages); in setUpPrinting()
DPrinterCapabilitiesTest.java367 PageRange[] pages = (PageRange[]) args[0]; in testPrinterCapabilityInfo()
371 writeBlankPages(layoutAttributes[0], fd, pages[0].getStart(), in testPrinterCapabilityInfo()
372 pages[0].getEnd()); in testPrinterCapabilityInfo()
375 callback.onWriteFinished(pages); in testPrinterCapabilityInfo()
DPrintAttributesTest.java242 PageRange[] pages = (PageRange[]) args[0]; in createMockPrintDocumentAdapter()
245 writeBlankPages(mLayoutAttributes, fd, pages[0].getStart(), in createMockPrintDocumentAdapter()
246 pages[0].getEnd()); in createMockPrintDocumentAdapter()
248 callback.onWriteFinished(pages); in createMockPrintDocumentAdapter()
DPrintDocumentInfoTest.java130 PageRange[] pages = (PageRange[]) args[0]; in printDocumentBaseTest()
135 callback.onWriteFinished(pages); in printDocumentBaseTest()
/cts/hostsidetests/devicepolicy/app/PrintingApp/src/com/android/cts/devicepolicy/printingapp/
DPrintActivity.java72 … public void onWrite(PageRange[] pages, ParcelFileDescriptor dest, CancellationSignal signal, in onStart()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java875 PageRange[] pages = (PageRange[]) args[0]; in createDefaultPrintDocumentAdapter()
880 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in createDefaultPrintDocumentAdapter()
882 callback.onWriteFinished(pages); in createDefaultPrintDocumentAdapter()
971 protected void selectPages(String pages, int totalPages) throws Exception { in selectPages() argument
982 pagesEditText.setText(pages); in selectPages()
/cts/hostsidetests/security/securityPatch/CVE-2017-0333/
Dlocal_poc.h133 uint64_t pages; /* in, page length */ member
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2872 public void onWriteFinished(PageRange[] pages) {