/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustmentTest.java | 105 PageRange[] pages = printJob.getInfo().getPages(); in allPagesWantedAndAllPagesWritten() 106 assertTrue(pages.length == 1 && PageRange.ALL_PAGES.equals(pages[0])); in allPagesWantedAndAllPagesWritten() 153 PageRange[] pages = printJob.getInfo().getPages(); in somePagesWantedAndAllPagesWritten() 156 assertTrue(pages.length == 1 && PageRange.ALL_PAGES.equals(pages[0])); in somePagesWantedAndAllPagesWritten() 183 PageRange[] pages = (PageRange[]) args[0]; in somePagesWantedAndAllPagesWritten() 184 assertTrue(pages[pages.length - 1].getEnd() < PAGE_COUNT); in somePagesWantedAndAllPagesWritten() 242 PageRange[] pages = printJobInfo.getPages(); in somePagesWantedAndSomeMorePagesWritten() 246 assertTrue(pages.length == 1 && PageRange.ALL_PAGES.equals(pages[0])); in somePagesWantedAndSomeMorePagesWritten() 274 PageRange[] pages = (PageRange[]) args[0]; in somePagesWantedAndSomeMorePagesWritten() 279 assertSame(pages.length, 1); in somePagesWantedAndSomeMorePagesWritten() [all …]
|
D | PrintDocumentAdapterContractTest.java | 102 PageRange[] pages = (PageRange[]) args[0]; in noPrintOptionsOrPrinterChange() 105 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in noPrintOptionsOrPrinterChange() 410 PageRange[] pages = (PageRange[]) args[0]; in printOptionsChangeAndNoPrinterChange() 413 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in printOptionsChangeAndNoPrinterChange() 415 callback.onWriteFinished(pages); in printOptionsChangeAndNoPrinterChange() 604 PageRange[] pages = (PageRange[]) args[0]; in printCorruptedFile() 609 Log.i(LOG_TAG, "write corrupted file " + Arrays.toString(pages)); in printCorruptedFile() 687 PageRange[] pages = (PageRange[]) args[0]; in printOptionsChangeAndPrinterChange() 690 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in printOptionsChangeAndPrinterChange() 692 callback.onWriteFinished(pages); in printOptionsChangeAndPrinterChange() [all …]
|
D | CustomPrintOptionsTest.java | 245 final PageRange[] pages, final MediaSize mediaSize, final boolean isPortrait, in testCase() argument 300 if (pages != null) { in testCase() 301 printJobBuilder.setPages(pages); in testCase() 315 ", pages: " + Arrays.toString(pages) + ", copyFromOriginal: " + copyFromOriginal); in testCase() 356 if (pages == null) { in testCase() 359 newPages = pages; in testCase()
|
D | PrinterCapabilitiesChangeTest.java | 202 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()
|
D | PrinterCapabilitiesTest.java | 368 PageRange[] pages = (PageRange[]) args[0]; in testPrinterCapabilityInfo() 372 writeBlankPages(layoutAttributes[0], fd, pages[0].getStart(), in testPrinterCapabilityInfo() 373 pages[0].getEnd()); in testPrinterCapabilityInfo() 376 callback.onWriteFinished(pages); in testPrinterCapabilityInfo()
|
D | PrintAttributesTest.java | 243 PageRange[] pages = (PageRange[]) args[0]; in createMockPrintDocumentAdapter() 246 writeBlankPages(mLayoutAttributes, fd, pages[0].getStart(), in createMockPrintDocumentAdapter() 247 pages[0].getEnd()); in createMockPrintDocumentAdapter() 249 callback.onWriteFinished(pages); in createMockPrintDocumentAdapter()
|
/cts/tests/app/src/android/app/cts/ |
D | WearableExtenderTest.java | 56 List<Notification> pages = new ArrayList<>(); in testWearableExtender() local 57 pages.add(page2); in testWearableExtender() 86 .addPages(pages); in testWearableExtender() 208 List<Notification> pages = new ArrayList<>(); in testWriteToParcel() local 209 pages.add(page2); in testWriteToParcel()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 881 PageRange[] pages = (PageRange[]) args[0]; in createDefaultPrintDocumentAdapter() 886 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in createDefaultPrintDocumentAdapter() 888 callback.onWriteFinished(pages); in createDefaultPrintDocumentAdapter() 977 protected void selectPages(String pages, int totalPages) throws Exception { in selectPages() argument 991 pagesEditText.setText(pages); in selectPages()
|
/cts/hostsidetests/devicepolicy/app/PrintingApp/src/com/android/cts/devicepolicy/printingapp/ |
D | PrintActivity.java | 72 … public void onWrite(PageRange[] pages, ParcelFileDescriptor dest, CancellationSignal signal, in onStart()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 149 uint64_t pages; /* in, page length */ member
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2675 public void onWriteFinished(PageRange[] pages) { in savePrintedPage()
|