Home
last modified time | relevance | path

Searched refs:expectedSize (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java46 int expectedSize = expectedScreenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in testScreenLayout() local
56 assertEquals("Expected screen size value of " + expectedSize + " but got " + actualSize in testScreenLayout()
57 + " for orientation " + ORIENTATIONS[i], expectedSize, actualSize); in testScreenLayout()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java1496 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateYuvData() local
1497 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData()
1511 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateRaw16Data() local
1512 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data()
1549 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateDepth16Data() local
1550 assertEquals("Depth data doesn't match", expectedSize, depthData.length); in validateDepth16Data()
1847 public static void basicValidateJpegImage(Image image, Size expectedSize) { in basicValidateJpegImage() argument
1851 expectedSize.toString(), imageSz.toString()), expectedSize.equals(imageSz)); in basicValidateJpegImage()
1876 public static void verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, in verifyJpegKeys() argument
1880 basicValidateJpegImage(image, expectedSize); in verifyJpegKeys()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java707 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateYuvData() local
708 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData()