Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/core/java/android/util/apk/
H A DReadFileDataSource.java65 final int readSize = Os.pread(mFd, buffer, 0, (int) curSize, pos); in feedIntoDataDigester() local
66 md.consume(ByteBuffer.wrap(buffer, 0, readSize)); in feedIntoDataDigester()
67 pos += readSize; in feedIntoDataDigester()
/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp396 jint interpretReadSizeError(ssize_t readSize) { in interpretReadSizeError() argument
397 if (readSize == WOULD_BLOCK) { in interpretReadSizeError()
399 } else if (readSize == NO_INIT) { in interpretReadSizeError()
403 return nativeToJavaStatus(readSize); in interpretReadSizeError()
438 ssize_t readSize = lpRecorder->read( in android_media_AudioRecord_readInArray() local
443 if (readSize < 0) { in android_media_AudioRecord_readInArray()
444 return interpretReadSizeError(readSize); in android_media_AudioRecord_readInArray()
446 return (jint)(readSize / sizeof(*recordBuff)); in android_media_AudioRecord_readInArray()
476 if (readSize < 0) { in android_media_AudioRecord_readInDirectBuffer()
477 return interpretReadSizeError(readSize); in android_media_AudioRecord_readInDirectBuffer()
[all …]
/aosp14/system/core/libcutils/
H A Dashmem_test.cpp179 ssize_t readSize = dataSize - dataOff; in TEST() local
180 uint8_t buf[readSize]; in TEST()
182 ASSERT_EQ(readSize, TEMP_FAILURE_RETRY(read(fd, buf, readSize))); in TEST()
183 EXPECT_EQ(0, memcmp(buf, data + dataOff, readSize)); in TEST()
/aosp14/frameworks/base/tools/aapt/
H A DZipFile.cpp708 long readSize; in copyPartialFpToFp() local
710 readSize = sizeof(tmpBuf); in copyPartialFpToFp()
711 if (readSize > length) in copyPartialFpToFp()
712 readSize = length; in copyPartialFpToFp()
714 count = fread(tmpBuf, 1, readSize, srcFp); in copyPartialFpToFp()
715 if ((long) count != readSize) { // error or unexpected EOF in copyPartialFpToFp()
716 ALOGD("fread %d bytes failed\n", (int) readSize); in copyPartialFpToFp()
728 length -= readSize; in copyPartialFpToFp()
/aosp14/frameworks/base/core/java/android/widget/inline/
H A DInlinePresentationSpec.java213 Size minSize = (Size) in.readSize(); in InlinePresentationSpec()
214 Size maxSize = (Size) in.readSize(); in InlinePresentationSpec()
/aosp14/frameworks/base/core/java/android/service/displayhash/
H A DDisplayHashParams.java186 Size bufferSize = (flg & 0x1) == 0 ? null : (Size) in.readSize(); in DisplayHashParams()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DFuseAppLoop.java181 final int readSize = entry.callback.onRead(
185 native_replyRead(mInstance, unique, readSize, data);
/aosp14/frameworks/base/core/java/android/os/
H A DParcel.java3401 public final Size readSize() { in readSize() method in Parcel
4721 object = readSize(); in readValue()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt12566 HSPLandroid/os/Parcel;->readSize()Landroid/util/Size;
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt12569 HSPLandroid/os/Parcel;->readSize()Landroid/util/Size;
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt33329 method @NonNull public android.util.Size readSize();