/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataHostTest.java | 236 ByteBuffer bb = ByteBuffer.wrap(bytes); in ProfileReaderV10() local 239 bb.order(ByteOrder.LITTLE_ENDIAN); in ProfileReaderV10() 240 assertEquals(0x006f7270 /* LE "pro\0" */, bb.getInt()); in ProfileReaderV10() 241 assertEquals(0x00303130 /* LE "010\0" */, bb.getInt()); in ProfileReaderV10() 242 bb.get(); // Skip dex file count. in ProfileReaderV10() 243 int uncompressed_size = bb.getInt(); in ProfileReaderV10() 244 int compressed_size = bb.getInt(); in ProfileReaderV10() 248 inflater.setInput(bb.array(), bb.arrayOffset() + bb.position(), bb.remaining()); in ProfileReaderV10() 261 ByteBuffer bb = ByteBuffer.wrap(bytes); in ProfileReaderV15() local 264 bb.order(ByteOrder.LITTLE_ENDIAN); in ProfileReaderV15() [all …]
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/ |
D | SharedMemoryHelperTest.java | 45 ByteBuffer bb = sm.map(OsConstants.PROT_READ | OsConstants.PROT_WRITE, 0, bufSize); in testCreateParcelFileDescriptor() local 46 populateBufferSequentially(bb, bufSize); in testCreateParcelFileDescriptor() 53 bb.rewind(); in testCreateParcelFileDescriptor() 55 assertEquals(bb.get(), (byte) in.read()); in testCreateParcelFileDescriptor() 60 SharedMemory.unmap(bb); in testCreateParcelFileDescriptor()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | OutputManager.java | 192 byte[] bb = new byte[width * height * bytesPerSample]; in checksum() 194 System.arraycopy(buf.array(), offset, bb, i * width * bytesPerSample, in checksum() local 198 mCrc32UsingBuffer.update(bb, 0, width * height * bytesPerSample); in checksum() 200 dumpY(bb, 0, width * height * bytesPerSample); in checksum() 208 byte[] bb = new byte[width * height * bytesPerSample]; in checksum() 219 dup.get(bb, i * width * bytesPerSample, width * bytesPerSample); in checksum() 221 mCrc32UsingBuffer.update(bb, 0, width * height * bytesPerSample); in checksum() 223 dumpY(bb, 0, width * height * bytesPerSample); in checksum() 229 byte[] bb = new byte[rdsize]; in checksum() 233 buf.get(bb, 0, chk); in checksum() [all …]
|
D | DecodeStreamToYuv.java | 205 byte[] bb = new byte[width * height * bytesPerSample]; in getImage() 212 buf.get(bb, y * width * bytesPerSample, width * bytesPerSample); in getImage() 225 bb[y * width * bytesPerSample + x * bytesPerSample + bytePos] = in getImage() 232 yuvImage.mData.add(bb); in getImage()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationByteBufferTest.java | 59 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/ |
D | ClassFileParser.java | 216 int bb = ba.getUnsignedByte(i); in processFileBytes() 217 if (bb > 31 && bb < 127) { in processFileBytes() 218 s += (char) bb; in processFileBytes()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalActivityManagerTestHelper.java | 166 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/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 277 ByteBuffer bb = readAudioReferenceFile(refFile); in verify() local 278 bb.position(0); in verify() 279 int bufferSize = bb.limit(); in verify() 287 bb.get((byte[]) refObject); in verify() 291 bb.asShortBuffer().get((short[]) refObject); in verify() 297 int byte1 = (bb.get() & 0xff); in verify() 298 int byte2 = (bb.get() & 0xff); in verify() 299 int byte3 = (bb.get() & 0xff); in verify() 305 bb.asIntBuffer().get((int[]) refObject); in verify() 309 bb.asFloatBuffer().get((float[]) refObject); in verify()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 339 byte[] bb = new byte[imageWidth * imageHeight]; in dumpYUV420PToFile() 365 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); in dumpYUV420PToFile() 372 bb[y * width + x] = b[lineOffset + x * pixelStride]; in dumpYUV420PToFile() 381 buf.get(bb, y * width, width); in dumpYUV420PToFile() 394 bb[y * width + x] = lb[x * pixelStride]; in dumpYUV420PToFile() 401 out.write(bb, 0, width * height); in dumpYUV420PToFile()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 44 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:
|
D | cve_2018_13925.ts | 4245 �)���|3��u����MCy�����G1���έ8d:X��<q�uè����sW��bb@c�m�Ѫe���@��h 4427 ��\�䵡f�y�!SǸu��A�JB�FG1�#�M5]�,�#]='�&(j�v�Yr�$�P`�ҥJ�E=�N%��!��ŝ�b̍�͗��V�ioQ�p!d��bb�A�� 6978 ���,U��2a��n����n�|���0������}i�^��A���Y3��|ӛ�0�U���avH{o�fٴsի:7w{1�ߘ>40�L)�0~I��bb�"�ݻK… 10514 �Q�������J�~�&��3��R�:@�<��m[�7��,C.�\�(�.3]Q1� t������N?�&�5P bd�-,>(1/��=�1:E'/�bb}:O�Z6�L…
|
D | cve_2019_2244.ts | 4247 �)���|3��u����MCy�����G1���έ8d:X��<q�uè����sW��bb@c�m�Ѫe���@��h 4429 ��\�䵡f�y�!SǸu��A�JB�FG1�#�M5]�,�#]='�&(j�v�Yr�$�P`�ҥJ�E=�N%��!��ŝ�b̍�͗��V�ioQ�p!d��bb�A�� 6981 ���,U��2a��n����n�|���0������}i�^��A���Y3��|ӛ�0�U���avH{o�fٴsի:7w{1�ߘ>40�L)�0~I��bb�"�ݻK… 10520 �Q�������J�~�&��3��R�:@�<��m[�7��,C.�\�(�.3]Q1� t������N?�&�5P bd�-,>(1/��=�1:E'/�bb}:O�Z6�L…
|
D | cve_2019_2245.ts | 4211 �)���|3��u����MCy�����G1���έ8d:X��<q�uè����sW��bb@c�m�Ѫe���@��h 10414 �Q�������J�~�&��3��R�:@�<��m[�7��,C.�\�(�.3]Q1� t������N?�&�5P bd�-,>(1/��=�1:E'/�bb}:O�Z6�L…
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | NativeDecoderTest.java | 324 byte[] bb = new byte[width * height]; in addSampleData() 328 buf.get(bb, i * width, width); in addSampleData() 331 long sum = adler32(bb); in addSampleData()
|
D | DecoderTest.java | 3073 byte bb[] = new byte[rdsize]; 3077 buf.get(bb, 0, chk); 3078 crc.update(bb, 0, chk); 3107 byte[] bb = new byte[width]; // local line buffer 3110 buf.get(bb, 0, width); 3111 crc.update(bb, 0, width); 3152 byte[] bb = new byte[width * height]; 3158 System.arraycopy(bb, y * width, b, y * rowStride + offs, width); 3165 bb[y * width + x] = b[lineOffset + x * pixelStride]; 3174 buf.get(bb, y * width, width); [all …]
|
D | AdaptivePlaybackTest.java | 843 byte[] bb = new byte[rdsize]; 847 buf.get(bb, 0, chk); 848 crc.update(bb, 0, chk);
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 268 uint8_t *bb = new uint8_t[width * height]; in checksum() local 270 memcpy(bb + i * width, in + i * stride, width); in checksum() 273 int sum = adler32(bb, width * height); in checksum() 274 delete[] bb; in checksum()
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 608 final ByteBuffer bb = e.getValue().asReadOnlyBuffer(); in readAt() local 610 final long bboffs = position - e.getKey() + bb.limit() - 1; in readAt() 611 if (bboffs >= bb.limit() || bboffs < 0) { in readAt() 614 bb.position((int)bboffs); // cast is safe as bb.limit is int. in readAt() 615 final int tocopy = Math.min(size, bb.remaining()); in readAt() 619 bb.get(buffer, offset, tocopy); in readAt()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1385 byte[] bb = new byte[width * height]; in getImageMD5Checksum() 1391 System.arraycopy(bb, y * width, b, (top + y) * rowStride + offs, width); in getImageMD5Checksum() 1398 bb[y * width + x] = b[lineOffset + x * pixelStride]; in getImageMD5Checksum() 1407 buf.get(bb, y * width, width); in getImageMD5Checksum() 1418 bb[y * width + x] = lb[x * pixelStride]; in getImageMD5Checksum() 1424 md.update(bb, 0, width * height); in getImageMD5Checksum()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackTest.java | 1946 ByteBuffer bb = useDirect in playOnceStreamByteBuffer() local 1949 bb.order(java.nio.ByteOrder.nativeOrder()); in playOnceStreamByteBuffer() 1957 bb.put(data); in playOnceStreamByteBuffer() 1958 bb.flip(); in playOnceStreamByteBuffer() 1965 ShortBuffer sb = bb.asShortBuffer(); in playOnceStreamByteBuffer() 1967 bb.limit(sb.limit() * 2); in playOnceStreamByteBuffer() 1974 FloatBuffer fb = bb.asFloatBuffer(); in playOnceStreamByteBuffer() 1976 bb.limit(fb.limit() * 4); in playOnceStreamByteBuffer() 1995 int ret = track.write(bb, in playOnceStreamByteBuffer()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconDrawableTest.java | 396 int bb = b.getPixel(i, j) & 0xff; in equalBitmaps() local
|