/cts/tests/tests/print/src/android/print/cts/ |
D | ClassParametersTest.java | 27 import android.print.PrintAttributes.Resolution; 80 assertException(() -> new Resolution(null, "label", 10, 10), in illegalPrintAttributesResolution() 82 assertException(() -> new Resolution("", "label", 10, 10), in illegalPrintAttributesResolution() 84 assertException(() -> new Resolution("id", null, 10, 10), in illegalPrintAttributesResolution() 86 assertException(() -> new Resolution("id", "", 10, 10), in illegalPrintAttributesResolution() 88 assertException(() -> new Resolution("id", "label", -10, 10), in illegalPrintAttributesResolution() 90 assertException(() -> new Resolution("id", "label", 0, 10), in illegalPrintAttributesResolution() 92 assertException(() -> new Resolution("id", "label", 10, -10), in illegalPrintAttributesResolution() 94 assertException(() -> new Resolution("id", "label", 10, 0), in illegalPrintAttributesResolution() 106 Resolution testResolution = new Resolution("testId", "testLabel", 1, 2); in legalPrintAttributesResolution() [all …]
|
D | PrintAttributesTest.java | 26 import android.print.PrintAttributes.Resolution; 78 private final Resolution RESOLUTIONS[] = { 79 new Resolution("300x300", "300x300", 300, 300), 80 new Resolution("600x600", "600x600", 600, 600), 81 new Resolution("1200x1200", "1200x1200", 1200, 1200) 103 Resolution resolution) { in createAttributes() 149 final int duplexModes[], final int defaultDuplexMode, final Resolution resolutions[], in createMockPrinterDiscoverySessionCallbacks() 150 final Resolution defaultResolution) { in createMockPrinterDiscoverySessionCallbacks() 277 int defaultDuplexMode, Resolution resolutions[], Resolution defaultResolution) { 369 int defaultDuplexMode, int suggestedDuplexMode, Resolution resolutions[], [all …]
|
D | PrintDocumentAdapterContractTest.java | 33 import android.print.PrintAttributes.Resolution; 154 .setResolution(new Resolution("PDF resolution", "PDF resolution", 300, 300)) in noPrintOptionsOrPrinterChange() 173 .setResolution(new Resolution("300x300", "300x300", 300, 300)) in noPrintOptionsOrPrinterChange() 226 .setResolution(new Resolution("PDF resolution", "PDF resolution", 300, 300)) in noPrintOptionsOrPrinterChangeCanceled() 489 .setResolution(new Resolution("PDF resolution", "PDF resolution", 300, 300)) in printOptionsChangeAndNoPrinterChange() 508 .setResolution(new Resolution("300x300", "300x300", 300, 300)) in printOptionsChangeAndNoPrinterChange() 521 .setResolution(new Resolution("300x300", "300x300", 300, 300)) in printOptionsChangeAndNoPrinterChange() 534 .setResolution(new Resolution("300x300", "300x300", 300, 300)) in printOptionsChangeAndNoPrinterChange() 547 .setResolution(new Resolution("300x300", "300x300", 300, 300)) in printOptionsChangeAndNoPrinterChange() 560 .setResolution(new Resolution("300x300", "300x300", 300, 300)) in printOptionsChangeAndNoPrinterChange() [all …]
|
D | CustomPrintOptionsTest.java | 27 import android.print.PrintAttributes.Resolution; 75 private final Resolution DEFAULT_RESOLUTION = new Resolution("300x300", "300x300", 300, 300); 88 private final Resolution[] RESOLUTIONS = { DEFAULT_RESOLUTION, 89 new Resolution("600x600", "600x600", 600, 600) 246 final Integer colorMode, final Integer duplexMode, final Resolution resolution) in testCase()
|
D | PrinterCapabilitiesTest.java | 29 import android.print.PrintAttributes.Resolution; 61 private static final PrintAttributes.Resolution RESOLUTION_300 = 62 new PrintAttributes.Resolution("300", "300", 300, 300); 63 private static final PrintAttributes.Resolution RESOLUTION_600 = 64 new PrintAttributes.Resolution("600", "600", 600, 600); 195 Resolution[] resolutions = {RESOLUTION_300, RESOLUTION_300, in sanePrinterCapabilityInfos()
|
D | PrinterCapabilitiesChangeTest.java | 26 import android.print.PrintAttributes.Resolution; 61 private static final Resolution RESOLUTION_300 = 62 new Resolution("300", "300", 300, 300);
|
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 30 import android.print.PrintAttributes.Resolution; 79 .addResolution(new Resolution("r", "r", 1, 1), true) in addPrinter()
|
D | PrintDocumentInfoTest.java | 29 import android.print.PrintAttributes.Resolution; 300 .addResolution(new Resolution("300x300", "300x300", 300, 300), true) in createFirstMockDiscoverySessionCallbacks()
|
D | PrinterInfoTest.java | 25 import android.print.PrintAttributes.Resolution; 120 new Resolution("300x300", "300x300", 300, 300), in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintJobStateTransitionsTest.java | 27 import android.print.PrintAttributes.Resolution; 97 .addResolution(new Resolution("300x300", "300dpi", 300, 300), true) in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrinterDiscoverySessionLifecycleTest.java | 31 import android.print.PrintAttributes.Resolution; 94 .addResolution(new Resolution("300x300", "300x300", 300, 300), true) in addPrinter() 725 .addResolution(new Resolution("300x300", "300x300", 300, 300), true) in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | InterfaceForAppsTest.java | 59 private static final PrintAttributes.Resolution TWO_HUNDRED_DPI = 60 new PrintAttributes.Resolution("200x200", "200dpi", 200, 200);
|
D | PageRangeAdjustmentTest.java | 30 import android.print.PrintAttributes.Resolution; 524 .addResolution(new Resolution("300x300", "300x300", 300, 300), true) in createMockFirstPrinterDiscoverySessionCallbacks()
|
D | PrintJobTest.java | 31 import android.print.PrintAttributes.Resolution; 96 .addResolution(new Resolution("300x300", "300dpi", 300, 300), true) in createFirstMockPrinterDiscoverySessionCallbacks()
|
D | PrintServicesTest.java | 45 import android.print.PrintAttributes.Resolution; 98 .addResolution(new Resolution("300x300", "300x300", 300, 300), true) in getDefaultOptionPrinterCapabilites()
|
D | PageRangeAdjustAndVerify.java | 385 .addResolution(new PrintAttributes.Resolution("300x300", "300x300", in createMockFirstPrinterDiscoverySessionCallbacks()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerDrmTest.java | 103 private static final class Resolution { class in MediaPlayerDrmTest 108 public Resolution(boolean isHD, int width, int height) { in Resolution() method in MediaPlayerDrmTest.Resolution 115 private static final Resolution RES_720P = new Resolution(true, 1280, 720); 116 private static final Resolution RES_AUDIO = new Resolution(false, 0, 0); 167 private void stream(Uri uri, Resolution res, ModularDrmTestType testType) throws Exception { in stream() 171 private void download(Uri remote, Uri local, Resolution res, ModularDrmTestType testType) in download()
|
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/ |
D | MediaPreparerAppTest.java | 54 private static final class Resolution { class in MediaPreparerAppTest 64 private Resolution(int width, int height) { in Resolution() method in MediaPreparerAppTest.Resolution 69 private Resolution(String resolution) { in Resolution() method in MediaPreparerAppTest.Resolution 85 Resolution maxRes = new Resolution(DEFAULT_MAX_WIDTH, DEFAULT_MAX_HEIGHT); in testGetResolutions() 99 Resolution fileResolution = new Resolution(width, height); in testGetResolutions()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2344 .setResolution(new PrintAttributes.Resolution("foo", "bar", 300, 300)) in testPrinting() 2391 .setResolution(new PrintAttributes.Resolution("foo", "bar", 300, 300)) in testPrintingPagesCount()
|