/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/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 140 int expectedSize = getParcelSize(original) + getParcelSize(child); in parcelSize_nestedViews() local 144 assertTrue(getParcelSize(original) < expectedSize); in parcelSize_nestedViews() 149 expectedSize = getParcelSize(original) + getParcelSize(child); in parcelSize_nestedViews() 153 assertTrue(getParcelSize(original) > expectedSize); in parcelSize_nestedViews()
|
/frameworks/base/core/java/android/os/ |
D | HwParcel.java | 212 public native final HwBlob readBuffer(long expectedSize); in readBuffer() argument 215 long expectedSize, long parentHandle, long offset, in readEmbeddedBuffer() argument
|
/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/core/jni/ |
D | android_os_HwParcel.cpp | 802 jlong expectedSize) { in JHwParcel_native_readBuffer() argument 809 if (expectedSize < 0) { in JHwParcel_native_readBuffer() 814 status_t status = parcel->readBuffer(expectedSize, &handle, &ptr); in JHwParcel_native_readBuffer() 825 JNIEnv *env, jobject thiz, jlong expectedSize, in JHwParcel_native_readEmbeddedBuffer() argument 834 parcel->readNullableEmbeddedBuffer(expectedSize, in JHwParcel_native_readEmbeddedBuffer() 837 if (expectedSize < 0) { in JHwParcel_native_readEmbeddedBuffer()
|
/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/support/fragment/tests/java/android/support/v4/app/ |
D | FragmentTransactionTest.java | 450 private void getFragmentsUntilSize(int expectedSize) { in getFragmentsUntilSize() argument 455 } while (mActivity.getSupportFragmentManager().getFragments().size() != expectedSize); in getFragmentsUntilSize()
|
/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/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/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 823 int expectedSize = expectedNumberScreenshots + 1; // All screenshots plus the bugreport file in assertActionSendMultiple() local 825 expectedSize, attachments.size()); in assertActionSendMultiple()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 928 size_t expectedSize = metadata.size(); in __anonb0e2bf370b02() local 929 int res = validate_camera_metadata_structure(buffer, &expectedSize); in __anonb0e2bf370b02()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 6632 const uint32_t expectedSize = dtohl(header->header.size) - dtohl(header->header.headerSize); in load() local 6633 if (sizeOfEntries > expectedSize) { in load() 6635 expectedSize, entryCount, (uint32_t)sizeof(ResTable_lib_entry)); in load()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.cpp | 3126 size_t expectedSize = request.size(); in constructDefaultRequestSettings() local 3127 int ret = validate_camera_metadata_structure(r, &expectedSize); in constructDefaultRequestSettings()
|