/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 | 103 PageRange[] pages = (PageRange[]) args[0]; in noPrintOptionsOrPrinterChange() 106 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in noPrintOptionsOrPrinterChange() 403 PageRange[] pages = (PageRange[]) args[0]; in printOptionsChangeAndNoPrinterChange() 406 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in printOptionsChangeAndNoPrinterChange() 408 callback.onWriteFinished(pages); in printOptionsChangeAndNoPrinterChange() 594 PageRange[] pages = (PageRange[]) args[0]; in printCorruptedFile() 599 Log.i(LOG_TAG, "write corrupted file " + Arrays.toString(pages)); in printCorruptedFile() 674 PageRange[] pages = (PageRange[]) args[0]; in printOptionsChangeAndPrinterChange() 677 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in printOptionsChangeAndPrinterChange() 679 callback.onWriteFinished(pages); in printOptionsChangeAndPrinterChange() [all …]
|
D | CustomPrintOptionsTest.java | 232 final PageRange[] pages, final MediaSize mediaSize, final boolean isPortrait, in testCase() argument 287 if (pages != null) { in testCase() 288 printJobBuilder.setPages(pages); in testCase() 302 ", pages: " + Arrays.toString(pages) + ", copyFromOriginal: " + copyFromOriginal); in testCase() 343 if (pages == null) { in testCase() 346 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/libs/helpers/interfaces/src/com/android/cts/helpers/ |
D | ICtsPrintHelper.java | 136 void setPageRange(String pages, int expectedPages); in setPageRange() argument
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | WearableExtenderTest.java | 69 List<Notification> pages = new ArrayList<>(); in testWearableExtender() local 70 pages.add(page2); in testWearableExtender() 98 .addPages(pages); in testWearableExtender() 225 List<Notification> pages = new ArrayList<>(); in testWriteToParcel() local 226 pages.add(page2); in testWriteToParcel()
|
/cts/tests/tests/nfc/src/android/nfc/tech/cts/ |
D | MifareUltralightTest.java | 99 byte[] pages = new byte[]{0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x02, in testReadPages() 103 new TransceiveResult(TransceiveResult.RESULT_SUCCESS, pages)); in testReadPages() 105 assertEquals(pages, ultralight.readPages(0)); in testReadPages()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 734 PageRange[] pages = (PageRange[]) args[0]; in createDefaultPrintDocumentAdapter() 739 writeBlankPages(printAttributes[0], fd, pages[0].getStart(), pages[0].getEnd()); in createDefaultPrintDocumentAdapter() 741 callback.onWriteFinished(pages); in createDefaultPrintDocumentAdapter() 830 protected void selectPages(String pages, int totalPages) throws Exception { in selectPages() argument 831 mPrintHelper.setPageRange(pages, totalPages); in selectPages()
|
/cts/helpers/default/src/com/android/cts/helpers/aosp/ |
D | DefaultCtsPrintHelper.java | 310 public void setPageRange(String pages, int expectedPages) throws TestHelperException { in setPageRange() argument 325 pagesEditText.setText(pages); in setPageRange()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PrintingTest.java | 74 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination,
|
/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 | 2672 public void onWriteFinished(PageRange[] pages) { in savePrintedPage()
|