Home
last modified time | relevance | path

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

1234

/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java112 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader() local
115 bb.put((byte) (0x45)); in buildHeader()
118 bb.put((byte) 0); in buildHeader()
121 bb.putShort((short) (IP4_HDRLEN + payload.length())); in buildHeader()
124 bb.putShort((short) 0); in buildHeader()
125 bb.put((byte) 0x40); in buildHeader()
126 bb.put((byte) 0x00); in buildHeader()
129 bb.put((byte) 64); in buildHeader()
132 bb.put(proto); in buildHeader()
135 final int ipChecksumOffset = bb.position(); in buildHeader()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java106 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader() local
109 bb.put((byte) (0x45)); in buildHeader()
112 bb.put((byte) 0); in buildHeader()
115 bb.putShort((short) (IP4_HDRLEN + payload.length())); in buildHeader()
118 bb.putShort((short) 0); in buildHeader()
119 bb.put((byte) 0x40); in buildHeader()
120 bb.put((byte) 0x00); in buildHeader()
123 bb.put((byte) 64); in buildHeader()
126 bb.put(proto); in buildHeader()
129 final int ipChecksumOffset = bb.position(); in buildHeader()
[all …]
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java208 ByteBuffer bb = ByteBuffer.wrap(bytes); in ProfileReader() local
211 bb.order(ByteOrder.LITTLE_ENDIAN); in ProfileReader()
212 assertEquals(0x006f7270 /* LE "pro\0" */, bb.getInt()); in ProfileReader()
213 assertEquals(0x00303130 /* LE "010\0" */, bb.getInt()); in ProfileReader()
214 bb.get(); // Skip dex file count. in ProfileReader()
215 int uncompressed_size = bb.getInt(); in ProfileReader()
216 int compressed_size = bb.getInt(); in ProfileReader()
220 inflater.setInput(bb.array(), bb.arrayOffset() + bb.position(), bb.remaining()); in ProfileReader()
/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/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/tests/media/src/android/media/cts/
DMediaExtractorTest.java536 final ByteBuffer bb = e.getValue().asReadOnlyBuffer(); in readAt() local
538 final long bboffs = position - e.getKey() + bb.limit() - 1; in readAt()
539 if (bboffs >= bb.limit() || bboffs < 0) { in readAt()
542 bb.position((int)bboffs); // cast is safe as bb.limit is int. in readAt()
543 final int tocopy = Math.min(size, bb.remaining()); in readAt()
547 bb.get(buffer, offset, tocopy); in readAt()
DAudioTrackTest.java1894 ByteBuffer bb = (useDirect == 1) in testPlayStreamByteBuffer() local
1897 bb.order(java.nio.ByteOrder.nativeOrder()); in testPlayStreamByteBuffer()
1905 bb.put(data); in testPlayStreamByteBuffer()
1906 bb.flip(); in testPlayStreamByteBuffer()
1912 ShortBuffer sb = bb.asShortBuffer(); in testPlayStreamByteBuffer()
1914 bb.limit(sb.limit() * 2); in testPlayStreamByteBuffer()
1920 FloatBuffer fb = bb.asFloatBuffer(); in testPlayStreamByteBuffer()
1922 bb.limit(fb.limit() * 4); in testPlayStreamByteBuffer()
1929 int ret = track.write(bb, in testPlayStreamByteBuffer()
2007 ByteBuffer bb = (useDirect == 1) in testPlayChannelIndexStreamBuffer() local
[all …]
DDecoderTest.java2980 byte bb[] = new byte[rdsize];
2984 buf.get(bb, 0, chk);
2985 crc.update(bb, 0, chk);
3014 byte[] bb = new byte[width]; // local line buffer
3017 buf.get(bb, 0, width);
3018 crc.update(bb, 0, width);
3059 byte[] bb = new byte[width * height];
3065 System.arraycopy(bb, y * width, b, y * rowStride + offs, width);
3072 bb[y * width + x] = b[lineOffset + x * pixelStride];
3081 buf.get(bb, y * width, width);
[all …]
DNativeDecoderTest.java532 byte[] bb = new byte[width * height]; in addSampleData()
536 buf.get(bb, i * width, width); in addSampleData()
539 long sum = adler32(bb); in addSampleData()
DAdaptivePlaybackTest.java813 byte bb[] = new byte[rdsize];
817 buf.get(bb, 0, chk);
818 crc.update(bb, 0, chk);
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java289 byte[] bb = new byte[rdsize]; in checksum()
293 buf.get(bb, 0, chk); in checksum()
294 crc.update(bb, 0, chk); in checksum()
324 byte[] bb = new byte[width * height]; in checksum()
330 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); in checksum()
337 bb[y * width + x] = b[lineOffset + x * pixelStride]; in checksum()
346 buf.get(bb, y * width, width); in checksum()
357 bb[y * width + x] = lb[x * pixelStride]; in checksum()
363 crc.update(bb, 0, width * height); in checksum()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java1186 byte[] bb = new byte[width * height]; in getImageMD5Checksum()
1192 System.arraycopy(bb, y * width, b, (top + y) * rowStride + offs, width); in getImageMD5Checksum()
1199 bb[y * width + x] = b[lineOffset + x * pixelStride]; in getImageMD5Checksum()
1208 buf.get(bb, y * width, width); in getImageMD5Checksum()
1219 bb[y * width + x] = lb[x * pixelStride]; in getImageMD5Checksum()
1225 md.update(bb, 0, width * height); in getImageMD5Checksum()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1293 byte[] bb = new byte[width * height]; in getImageMD5Checksum()
1299 System.arraycopy(bb, y * width, b, (top + y) * rowStride + offs, width); in getImageMD5Checksum()
1306 bb[y * width + x] = b[lineOffset + x * pixelStride]; in getImageMD5Checksum()
1315 buf.get(bb, y * width, width); in getImageMD5Checksum()
1326 bb[y * width + x] = lb[x * pixelStride]; in getImageMD5Checksum()
1332 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/media/res/raw/
Dfootball_qvga.yuv7 …���tprnmostqmlooqme]XSNHCCGJLMNOLKOQPT^kx������������������������������zm``bb`\^b_]ZXWWZY\chkhjkjj…
11bb`_^]\[ZZYZ\\\YYWY[\_a^ZYZZY[][XVQRSV[Z^_^`bbb_`bcbdeffcbfkmjje\RUl���ybD01212-*3GV\][hz��������…
22 …mnlnlggcbdaaccbbbbeghlllprrsrpmhdbbcadhlopommoonoqqpomkhec``beghkkljhga^]\^bb`^^abdfggijjklnnnnlj�…
25bb`ba_]\\bglqqsupidcedgkmmkjo{�����wkilolgZRSX`dkqqsv{��mljijmopqtv|to��}]Vht{ysh\[k�������������…
26 …cccccbabcbbba`vqprsrpqssvwvxyy|~~x{����������}|||yxx|~xh]ajkilu|~�|aPVek_]bb`abdfkt|��~��������x…
29 …����¿�������������ͺ���������������������������������{vqcWYecK<CKNPRUWZ]_`bb`[[Z[]]]]dpxz}���ujfh…
30 …WVTTVRLNTWWYao{}~�����rbcq��������}ri^^cbcegigdb^YY[^^_`abaaa`ab___`egefc`bb`[[cikjijkkjhffeeggih…
35bb^ZXXYZafggea]YSQT\gorstsmd]_aZNB;BPWXWVWWRLID;8=@@@??BDFIHHJJNU[befiorsqk^SRWbdciu����������O\��…
41bb`_UUnwwvroloty���������rkq{�~viiy��������}xtpmmg]]drywxyywutttqpolhedca__^acdddcccbccdeggfbbbca]…
42 …0-,D^a_]^^`a`_[WNB957:<=@CFFHJHb�������������yn������{���������������mdb_`bb^X[v���������°���wlun…
[all …]
/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…
/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��������������������������������������…

1234