/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ColorSpace.java | 105 private static void expectInputSize(ByteBuffer input, int expectedSize) { in expectInputSize() argument 106 if (input.remaining() < expectedSize) { in expectInputSize() 108 + "and height! Expected: " + expectedSize + ", Got: " + input.remaining() in expectInputSize() 113 private static void expectOutputSize(ByteBuffer output, int expectedSize) { in expectOutputSize() argument 114 if (output.remaining() < expectedSize) { in expectOutputSize() 116 + "and height! Expected: " + expectedSize + ", Got: " + output.remaining() in expectOutputSize()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | InitDataParser.cpp | 82 uint32_t expectedSize = initData.size(); in parsePssh() local 83 expectedSize = htonl(expectedSize); in parsePssh() 84 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh() 85 sizeof(expectedSize)) != 0) { in parsePssh() 88 readPosition += sizeof(expectedSize); in parsePssh()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtypeArray.java | 212 private static byte[] decompress(final byte[] data, final int expectedSize) { in decompress() argument 215 final byte [] result = new byte[expectedSize]; in decompress() 225 if (expectedSize != totalReadBytes) { in decompress()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1398 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateYuvData() local 1399 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData() 1413 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateRaw16Data() local 1414 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data() 1451 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateDepth16Data() local 1452 assertEquals("Depth data doesn't match", expectedSize, depthData.length); in validateDepth16Data() 1749 public static void basicValidateJpegImage(Image image, Size expectedSize) { in basicValidateJpegImage() argument 1753 expectedSize.toString(), imageSz.toString()), expectedSize.equals(imageSz)); in basicValidateJpegImage() 1778 public static void verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, in verifyJpegKeys() argument 1782 basicValidateJpegImage(image, expectedSize); in verifyJpegKeys() [all …]
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 474 long expectedSize = getBytesDownloaded(id) + bytesToReceive; in waitToReceiveData() local 476 while ((currentSize = getBytesDownloaded(id)) <= expectedSize) { in waitToReceiveData() 478 expectedSize, currentSize)); in waitToReceiveData()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpManager.java | 149 byte[] getObject(int deviceId, int objectHandle, int expectedSize) in getObject() argument 154 device.getObject(objectHandle, expectedSize), in getObject()
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
D | SortedListTest.java | 581 int expectedSize = 5; in testAddAllAccessFromCallbacks() 587 assertIntegrity(++expectedSize, "onChanged(" + position + ")"); in testAddAllAccessFromCallbacks() 592 int expectedSize = 5; in testAddAllAccessFromCallbacks() 598 assertIntegrity(++expectedSize, "onInserted(" + position + ")"); in testAddAllAccessFromCallbacks()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestMtpManager.java | 211 byte[] getObject(int deviceId, int objectHandle, int expectedSize) throws IOException { in getObject() argument
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 730 int expectedSize = expectedNumberScreenshots + 1; // All screenshots plus the bugreport file in assertActionSendMultiple() local 732 expectedSize, attachments.size()); in assertActionSendMultiple()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 1335 android.util.Size expectedSize = new android.util.Size(width, height); in checkStreamConfigurationMapByFormatSize() local 1338 assertArrayContains(expectedSize, sizes); in checkStreamConfigurationMapByFormatSize()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 6437 const uint32_t expectedSize = dtohl(header->header.size) - dtohl(header->header.headerSize); in load() local 6438 if (sizeOfEntries > expectedSize) { in load() 6440 expectedSize, entryCount, (uint32_t)sizeof(ResTable_lib_entry)); in load()
|