HomeSort by relevance Sort by last modified time
    Searched refs:expectedBytes (Results 1 - 11 of 11) sorted by null

  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Latin1Converter.java 75 int expectedBytes = 0;
95 expectedBytes = -1;
97 for (; expectedBytes < 8 && (test & 0x80) == 0x80; test = test << 1)
99 expectedBytes++;
113 if (expectedBytes > 0 && (b & 0xC0) == 0x80)
117 expectedBytes--;
119 if (expectedBytes == 0)
  /libcore/luni/src/test/java/libcore/java/util/zip/
InflaterTest.java 37 byte[] expectedBytes = expected.getBytes("UTF-8");
40 byte[] deflatedBytes = deflate(expectedBytes, dictionary);
64 while (inflatedBytes.size() != expectedBytes.length) {
  /packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
SerializerTests.java 58 byte[] expectedBytes = new byte[] {
92 MoreAsserts.assertEquals("Serializer mismatch", bytes, expectedBytes);
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
SerializerTests.java 58 byte[] expectedBytes = new byte[] {
92 MoreAsserts.assertEquals("Serializer mismatch", bytes, expectedBytes);
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
SinkTester.java 191 byte[] expectedBytes = { 5, 6 };
194 out.write(expectedBytes);
203 assertArrayEquals(expectedBytes, getBytes());
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractStreamingHasherTest.java 197 void assertInvariants(int expectedBytes) {
198 // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
199 assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize));
200 assertEquals(expectedBytes / chunkSize, processCalled);
201 assertEquals(expectedBytes % chunkSize != 0, remainingCalled);
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java 286 int expectedBytes = mPreviewSize.width * mPreviewSize.height *
289 mCamera.addCallbackBuffer(new byte[expectedBytes]);
348 int expectedBytes = mPreviewSize.width * mPreviewSize.height *
351 if (expectedBytes != data.length) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java 532 int expectedBytes;
542 expectedBytes = ySize + uvSize * 2;
547 expectedBytes = mPreviewSize.width * mPreviewSize.height *
551 if (expectedBytes != data.length) {
555 expectedBytes + ", but got " +
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
ManageCachePage.java 370 long expectedBytes = mCacheStorageInfo.getExpectedUsedBytes();
384 (int) (expectedBytes * PROGRESS_BAR_MAX / totalBytes));
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DeflaterTest.java     [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
FileChannelTest.java     [all...]

Completed in 971 milliseconds