Home
last modified time | relevance | path

Searched refs:bb (Results 1 – 25 of 85) sorted by relevance

1234

/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java237 ByteBuffer bb = ByteBuffer.wrap(bytes); in ProfileReaderV10() local
240 bb.order(ByteOrder.LITTLE_ENDIAN); in ProfileReaderV10()
241 assertEquals(0x006f7270 /* LE "pro\0" */, bb.getInt()); in ProfileReaderV10()
242 assertEquals(0x00303130 /* LE "010\0" */, bb.getInt()); in ProfileReaderV10()
243 bb.get(); // Skip dex file count. in ProfileReaderV10()
244 int uncompressed_size = bb.getInt(); in ProfileReaderV10()
245 int compressed_size = bb.getInt(); in ProfileReaderV10()
249 inflater.setInput(bb.array(), bb.arrayOffset() + bb.position(), bb.remaining()); in ProfileReaderV10()
262 ByteBuffer bb = ByteBuffer.wrap(bytes); in ProfileReaderV15() local
265 bb.order(ByteOrder.LITTLE_ENDIAN); in ProfileReaderV15()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationByteBufferTest.java59 ByteBuffer bb = alloc.getByteBuffer(); in testByteBufferHelper() local
65 byte byteInBuffer = bb.get(posY * stride + posX * vecWidth * byteSize); in testByteBufferHelper()
92 ByteBuffer bb = alloc.getByteBuffer(); in test1DWrite() local
97 bb.put(dataIn); in test1DWrite()
112 ByteBuffer bb = alloc.getByteBuffer(); in test2DWrite() local
118 bb.put(dataIn); in test2DWrite()
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java219 int bb = ba.getUnsignedByte(i); in processFileBytes()
220 if (bb > 31 && bb < 127) { in processFileBytes()
221 s += (char) bb; in processFileBytes()
/cts/tests/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java166 final Bundle bb = new Bundle(); in testSaveInstanceState() local
167 savedBundle.putBundle(key, bb); in testSaveInstanceState()
256 final Bundle bb = b.getBundle(id); in testDispatchCreate() local
257 if (bb != EXPECTED) { in testDispatchCreate()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java327 byte[] bb = new byte[imageWidth * imageHeight]; in dumpYUV420PToFile()
349 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); in dumpYUV420PToFile()
356 bb[y * width + x] = b[lineOffset + x * pixelStride]; in dumpYUV420PToFile()
365 buf.get(bb, y * width, width); in dumpYUV420PToFile()
378 bb[y * width + x] = lb[x * pixelStride]; in dumpYUV420PToFile()
385 out.write(bb, 0, width * height); in dumpYUV420PToFile()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem44 3d:ca:b1:a2:c4:06:cf:64:d4:bb:18:aa:05:46:7a:
48 1e:bb:07:df:f6:99:db:95:de:71:dc:8e:34:3f:fa:
71 0a:12:ef:4d:55:d5:71:88:8e:10:24:e8:79:46:09:bb:7b:8f:
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java299 byte[] bb = new byte[width * height]; in checksum()
301 System.arraycopy(buf.array(), offset, bb, i * width, width); in checksum() local
304 mCrc32UsingBuffer.update(bb, 0, width * height); in checksum()
312 byte[] bb = new byte[width * height]; in checksum()
315 buf.get(bb, i * width, width); in checksum()
318 mCrc32UsingBuffer.update(bb, 0, width * height); in checksum()
323 byte[] bb = new byte[rdsize]; in checksum()
327 buf.get(bb, 0, chk); in checksum()
328 mCrc32UsingBuffer.update(bb, 0, chk); in checksum()
364 byte[] bb = new byte[width * height]; in checksum()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaExtractorTest.java734 final ByteBuffer bb = e.getValue().asReadOnlyBuffer(); in readAt() local
736 final long bboffs = position - e.getKey() + bb.limit() - 1; in readAt()
737 if (bboffs >= bb.limit() || bboffs < 0) { in readAt()
740 bb.position((int)bboffs); // cast is safe as bb.limit is int. in readAt()
741 final int tocopy = Math.min(size, bb.remaining()); in readAt()
745 bb.get(buffer, offset, tocopy); in readAt()
DDecoderTest.java3372 byte bb[] = new byte[rdsize];
3376 buf.get(bb, 0, chk);
3377 crc.update(bb, 0, chk);
3406 byte[] bb = new byte[width]; // local line buffer
3409 buf.get(bb, 0, width);
3410 crc.update(bb, 0, width);
3451 byte[] bb = new byte[width * height];
3457 System.arraycopy(bb, y * width, b, y * rowStride + offs, width);
3464 bb[y * width + x] = b[lineOffset + x * pixelStride];
3473 buf.get(bb, y * width, width);
[all …]
DAudioTrackTest.java1897 ByteBuffer bb = useDirect in playOnceStreamByteBuffer() local
1900 bb.order(java.nio.ByteOrder.nativeOrder()); in playOnceStreamByteBuffer()
1908 bb.put(data); in playOnceStreamByteBuffer()
1909 bb.flip(); in playOnceStreamByteBuffer()
1916 ShortBuffer sb = bb.asShortBuffer(); in playOnceStreamByteBuffer()
1918 bb.limit(sb.limit() * 2); in playOnceStreamByteBuffer()
1925 FloatBuffer fb = bb.asFloatBuffer(); in playOnceStreamByteBuffer()
1927 bb.limit(fb.limit() * 4); in playOnceStreamByteBuffer()
1946 int ret = track.write(bb, in playOnceStreamByteBuffer()
DNativeDecoderTest.java554 byte[] bb = new byte[width * height]; in addSampleData()
558 buf.get(bb, i * width, width); in addSampleData()
561 long sum = adler32(bb); in addSampleData()
DAdaptivePlaybackTest.java817 byte bb[] = new byte[rdsize];
821 buf.get(bb, 0, chk);
822 crc.update(bb, 0, chk);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1359 byte[] bb = new byte[width * height]; in getImageMD5Checksum()
1365 System.arraycopy(bb, y * width, b, (top + y) * rowStride + offs, width); in getImageMD5Checksum()
1372 bb[y * width + x] = b[lineOffset + x * pixelStride]; in getImageMD5Checksum()
1381 buf.get(bb, y * width, width); in getImageMD5Checksum()
1392 bb[y * width + x] = lb[x * pixelStride]; in getImageMD5Checksum()
1398 md.update(bb, 0, width * height); in getImageMD5Checksum()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp415 uint8_t *bb = new uint8_t[width * height]; in checksum() local
417 memcpy(bb + i * width, in + i * stride, width); in checksum()
420 int sum = adler32(bb, width * height); in checksum()
421 delete[] bb; in checksum()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java380 int bb = b.getPixel(i, j) & 0xff; in equalBitmaps() local
/cts/tests/tests/media/assets/hls_variant/165340/
D04.ts293 1�+��G�y$���U������l,��hbb"
460 …F�5�$�����$OG!�S��j��G�3��<?�<0O���s1��S��Dń�!����u�Ь��a�^/�����N#_�k�P�bb��{��D�Q�qW
D13.ts606 …������������������������������������������������������������������v�yK��>y�bb��z�2�?��n�)�?���oGA…
D23.ts127 ���z��t�dtv#r$h"3���9��� �RW���1�Ar���*��;,�7f��0(O���Q6�bb(�G����+2%�[��$ĤN����r3�1��ZG�…
/cts/tests/tests/media/assets/hls_variant/387360/
D13.ts425 �ŵot&�VD�/���RwV��22���c�C�e��x�+��������DD9�rK� $�;9V�X#�9����bb^�,�Ca�o�h����3�(Y� ��UK��…
753 �c �26�:bb"�ʛ��P�F9��+���2�G�8$������������������������������������)c���hPQ�����X�7��Q�V`2,…
D21.ts166 �#���O�l��e����Ѵ8�݅�bb�>*�1�,�%��Ӓ�O2,��G������覜��\g�6|o�X�z�<����_��܎��9�Q�+~N0*��t�H\`�…
1128 ��+�͔x�-��79�]�y%e��aA�BK�W��ݨj mf�3.�3�@Ge����bb/��t��i��n�}GQ��ޠqK���Ћ��em�U��,�y����O^G…
D06.ts31 kܞ��2C�g�֨n�p���>7�I���$��@�^���fN{փz��5��N�&ˉ��~�hs�v��:��bb��$ᦧL��P
/cts/tests/tests/media/assets/hls_variant/344388/
D21.ts150 …�{���5��!7z�]ѐ�h��[�H��{*���Z���G�h�����^�TQ�GD,2л,'�M@�C�*�rnb[�bb����e�R�ڈ�p��iJ9@…
1195 …�G���>�K�D�OV[&m��E���8x���p����O/c1����R���q����f�T�2��M�XNVE�=�tNٰt��j���bb�S�1_aS`U\�
D16.ts726 ������_^���5�`��f���ko�2ZnsQN��bbɹ�߭X�j3��m��KY�uG�96��������������������������������������…
/cts/tests/tests/media/assets/hls_variant/765178/
D12.ts367 …���������������T�A�7�9����rfO�9���5sG�M���j�T�~��_b<Ib�i�Y/�9T=*bb�x�x:��qX��TAyg�?M�…
2685 ��DE:�?g%�=�ot��@"��r�bB�[�xy� dDMVa��]lߺ��Ȋ\$��fbb�7V��}�ȵ=j�e�kb�6,��G��<�$����w�z�…
2933 �r�W��g<bb�,G��")8��A�k�g"��1��������0�i�L'� hح��4����iyd�X�z�e�
D04.ts252 …���?�#l6���G�6��đ4��o��j����1<�{��R��ZK�q�i�������i֡R�R,d�Yk`��P�#�i<bb�cO�lDM���~"���%K|��…
2541 [�1g=��g菹��� �%�*Q�Yl���Z�$?�O�!#@���B|VZ��ʉ��^Q�4R�m�=y����x˘bb[B��!�|�m|Kђ�o�
3038 ������fj}��9#@}0>�(�~F����ѹ�N�bb�:�.�\���׏�N n�pkMS��` [��.J�G~��q�aW�U��*����ᦤ/��,�%…

1234