Home
last modified time | relevance | path

Searched refs:pageCount (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentInfoTest.java88 private void printDocumentBaseTest(String name, Integer contentType, Integer pageCount) in printDocumentBaseTest() argument
97 if (pageCount != null) { in printDocumentBaseTest()
98 b.setPageCount(pageCount); in printDocumentBaseTest()
138 if (pageCount != null && pageCount > 0) { in printDocumentBaseTest()
139 callback.onWriteFinished(new PageRange[]{new PageRange(0, pageCount - 1)}); in printDocumentBaseTest()
176 if (pageCount != null && pageCount != PrintDocumentInfo.PAGE_COUNT_UNKNOWN in printDocumentBaseTest()
177 && pageCount != 0) { in printDocumentBaseTest()
178 assertEquals(pageCount, Integer.valueOf(queuedInfo[0].getPageCount())); in printDocumentBaseTest()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java966 final int pageCount = toIndex - fromIndex + 1; in writeBlankPages() local
967 for (int i = 0; i < pageCount; i++) { in writeBlankPages()