/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | ParsableBitArray.java | 21 private int byteOffset; field in ParsableBitArray 36 byteOffset = offset; in reset() 44 byteOffset++; in skipBit() 50 byteOffset += numBytes; in skipBits() 53 byteOffset++; in skipBits() 59 boolean returnValue = (data[byteOffset] & (0x80 >> bitOffset)) != 0; in readBit() 72 returnValue |= (data[byteOffset++] & 0xFF) << bitOffset; in readBits() 74 returnValue |= (data[byteOffset] & 0xFF) >> (8 - bitOffset); in readBits() 78 byteOffset++; in readBits() 84 int initialByteOffset = byteOffset; in canReadUEV() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmSmsTest.java | 392 int byteOffset = bitOffset / 8; in decodeSingle() local 395 septets[byteOffset] |= v << shift; in decodeSingle() 398 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); in decodeSingle() 457 int byteOffset = bitOffset / 8; in testDecodeExtended() local 460 septets[byteOffset] |= GSM_ESCAPE_CHARACTER << shift; in testDecodeExtended() 463 septets[byteOffset + 1] = (byte) (GSM_ESCAPE_CHARACTER >> (8 - shift)); in testDecodeExtended() 469 byteOffset = bitOffset / 8; in testDecodeExtended() 472 septets[byteOffset] |= v << shift; in testDecodeExtended() 475 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); in testDecodeExtended() 520 int byteOffset = bitOffset / 8; in testDecodeExtendedFallback() local [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 201 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten() local 210 if (byteOffset + totalSize > size) { in flatten() 215 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]); in flatten() 228 byteOffset += totalSize; in flatten() 261 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten() local 264 if (byteOffset + sizeof(EntryHeader) > size) { in unflatten() 270 const EntryHeader* eheader = reinterpret_cast<const EntryHeader*>(&byteBuffer[byteOffset]); in unflatten() 276 if (byteOffset + totalSize > size) { in unflatten() 285 byteOffset += totalSize; in unflatten()
|
/frameworks/base/libs/hwui/jni/ |
D | android_nio_utils.cpp | 33 jint byteOffset = jniGetNioBufferBaseArrayOffset(fEnv, nioBuffer); in AutoBufferPointer() local 36 fPointer = reinterpret_cast<void*>(reinterpret_cast<char*>(fElements) + byteOffset); in AutoBufferPointer()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 347 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument 352 int r = super.read(buffer, byteOffset, byteCount); in read() 358 entry.write(buffer, byteOffset, size); in read() 400 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument 403 i = super.read(buffer, byteOffset, byteCount); in read() 465 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument 476 int count = IoBridge.read(fd, buffer, byteOffset, byteCount); in read()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | SizedInputStream.java | 50 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument 57 final int n = mWrapped.read(buffer, byteOffset, byteCount); in read()
|
/frameworks/base/core/java/android/os/ |
D | FileBridge.java | 182 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { in write() argument 183 ArrayUtils.throwsIfOutOfBounds(buffer.length, byteOffset, byteCount); in write() 187 IoBridge.write(mClient, buffer, byteOffset, byteCount); in write()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | GsmAlphabet.java | 452 int byteOffset = bitOffset / 8; in packSmsChar() local 455 packedChars[++byteOffset] |= value << shift; in packSmsChar() 458 packedChars[++byteOffset] = (byte)(value >> (8 - shift)); in packSmsChar() 526 int byteOffset = bitOffset / 8; in gsm7BitPackedToString() local 530 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString() 537 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLLogWrapper.java | 1081 int byteOffset = stride * index; in doArrayElement() local 1088 byte d = byteBuffer.get(byteOffset); in doArrayElement() 1093 byte d = byteBuffer.get(byteOffset); in doArrayElement() 1099 short d = shortBuffer.get(byteOffset / 2); in doArrayElement() 1105 int d = intBuffer.get(byteOffset / 4); in doArrayElement() 1111 float d = intBuffer.get(byteOffset / 4); in doArrayElement() 1119 byteOffset += sizeofType; in doArrayElement()
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 722 jobject javaByteBuffer, jint byteOffset, jint sizeInBytes, in android_media_AudioTrack_write_native_bytes() argument 740 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes, byteOffset, in android_media_AudioTrack_write_native_bytes()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |