Searched refs:byteOffset (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DSizedInputStream.java49 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
56 final int n = mWrapped.read(buffer, byteOffset, byteCount);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmSmsTest.java366 int byteOffset = bitOffset / 8;
369 septets[byteOffset] |= v << shift;
372 septets[byteOffset + 1] = (byte) (v >> (8 - shift));
431 int byteOffset = bitOffset / 8;
434 septets[byteOffset] |= GSM_ESCAPE_CHARACTER << shift;
437 septets[byteOffset + 1] = (byte) (GSM_ESCAPE_CHARACTER >> (8 - shift));
443 byteOffset = bitOffset / 8;
446 septets[byteOffset] |= v << shift;
449 septets[byteOffset + 1] = (byte) (v >> (8 - shift));
494 int byteOffset
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java347 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
352 int r = super.read(buffer, byteOffset, byteCount);
358 entry.write(buffer, byteOffset, size);
399 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
402 i = super.read(buffer, byteOffset, byteCount);
458 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
469 int count = IoBridge.read(fd, buffer, byteOffset, byteCount);
/frameworks/ml/nn/driver/cache/BlobCache/
H A DBlobCache.cpp248 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); local
257 if (byteOffset + totalSize > size) {
262 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]);
275 byteOffset += totalSize;
307 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); local
310 if (byteOffset + sizeof(EntryHeader) > size) {
317 &byteBuffer[byteOffset]);
323 if (byteOffset + totalSize > size) {
332 byteOffset += totalSize;
/frameworks/native/opengl/libs/EGL/
H A DBlobCache.cpp194 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); local
203 if (byteOffset + totalSize > size) {
208 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]);
221 byteOffset += totalSize;
253 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); local
256 if (byteOffset + sizeof(EntryHeader) > size) {
263 &byteBuffer[byteOffset]);
269 if (byteOffset + totalSize > size) {
278 byteOffset += totalSize;
/frameworks/base/core/java/android/os/
H A DFileBridge.java180 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { argument
181 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount);
185 IoBridge.write(mClient, buffer, byteOffset, byteCount);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java433 int byteOffset = bitOffset / 8;
436 packedChars[++byteOffset] |= value << shift;
439 packedChars[++byteOffset] = (byte)(value >> (8 - shift));
505 int byteOffset = bitOffset / 8;
509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift));
516 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift));
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java1081 int byteOffset = stride * index;
1088 byte d = byteBuffer.get(byteOffset);
1093 byte d = byteBuffer.get(byteOffset);
1099 short d = shortBuffer.get(byteOffset / 2);
1105 int d = intBuffer.get(byteOffset / 4);
1111 float d = intBuffer.get(byteOffset / 4);
1119 byteOffset += sizeofType;
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp702 jbyteArray javaBytes, jint byteOffset, jint sizeInBytes,
719 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes.get(), byteOffset,
701 android_media_AudioTrack_write_native_bytes(JNIEnv *env, jobject thiz, jbyteArray javaBytes, jint byteOffset, jint sizeInBytes, jint javaAudioFormat, jboolean isWriteBlocking) argument
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 81 milliseconds