Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp56 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE); in getFrameSize() local
57 if (readSize == 0) { in getFrameSize()
62 if (readSize != ADTS_HEADER_SIZE_UP_TO_FRAMESIZE) { in getFrameSize()
64 (int) readSize); in getFrameSize()
109 ssize_t readSize = mDataSource->readAt(2, &header, 2); in AacAdtsExtractor() local
110 if (readSize != 2) { in AacAdtsExtractor()
259 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(), in read() local
262 if (readSize != (ssize_t)frameSizeWithoutHeader) { in read()
/frameworks/wilhelm/src/android/
DBufferQueueSource.cpp65 ssize_t readSize; in readAt() local
73 readSize = 0; in readAt()
125 readSize = size; in readAt()
127 readSize = 0; in readAt()
161 return readSize; in readAt()
/frameworks/av/media/libstagefright/rtsp/
DSDPLoader.cpp123 ssize_t readSize = mHTTPDataSource->readAt(0, buffer->data(), sdpSize); in onLoad() local
125 if (readSize < 0) { in onLoad()
126 ALOGE("Failed to read SDP, error code = %zu", readSize); in onLoad()
131 if (desc == NULL || !desc->setTo(buffer->data(), (size_t)readSize)) { in onLoad()
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp479 jint interpretReadSizeError(ssize_t readSize) { in interpretReadSizeError() argument
480 if (readSize == WOULD_BLOCK) { in interpretReadSizeError()
482 } else if (readSize == NO_INIT) { in interpretReadSizeError()
485 ALOGE("Error %zd during AudioRecord native read", readSize); in interpretReadSizeError()
486 return nativeToJavaStatus(readSize); in interpretReadSizeError()
521 ssize_t readSize = lpRecorder->read( in android_media_AudioRecord_readInArray() local
526 if (readSize < 0) { in android_media_AudioRecord_readInArray()
527 return interpretReadSizeError(readSize); in android_media_AudioRecord_readInArray()
529 return (jint)(readSize / sizeof(*recordBuff)); in android_media_AudioRecord_readInArray()
556 ssize_t readSize = lpRecorder->read(nativeFromJavaBuf, in android_media_AudioRecord_readInDirectBuffer() local
[all …]
/frameworks/base/tools/aapt/
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()
/frameworks/ex/framesequence/jni/
DFrameSequence_webp.cpp102 uint32_t readSize = GetLE32(riff_header + TAG_SIZE); in FrameSequence_webp() local
103 if (readSize > MAX_CHUNK_PAYLOAD) { in FrameSequence_webp()
107 mData.size = CHUNK_HEADER_SIZE + readSize; in FrameSequence_webp()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp1250 size_t readSize = audioBuffer.size; in processAudioBuffer() local
1253 if (ssize_t(readSize) < 0 || readSize > reqSize) { in processAudioBuffer()
1255 __func__, mPortId, reqSize, ssize_t(readSize)); in processAudioBuffer()
1259 if (readSize == 0) { in processAudioBuffer()
1267 size_t releasedFrames = readSize / mFrameSize; in processAudioBuffer()
1281 if (readSize < reqSize) { in processAudioBuffer()
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java179 final int readSize = entry.callback.onRead(
183 native_replyRead(mInstance, unique, readSize, data);
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp955 int32_t readSize = in getEvents() local
957 if (readSize == 0 || (readSize < 0 && errno == ENODEV)) { in getEvents()
961 device->fd, readSize, bufferSize, capacity, errno); in getEvents()
964 } else if (readSize < 0) { in getEvents()
968 } else if ((readSize % sizeof(struct input_event)) != 0) { in getEvents()
969 ALOGE("could not get event (wrong size: %d)", readSize); in getEvents()
973 size_t count = size_t(readSize) / sizeof(struct input_event); in getEvents()
/frameworks/av/media/mtp/
DMtpDevice.cpp933 const int readSize = mEventPacket.readResponse(mRequestIntr->dev); in reapEventRequest() local
939 return readSize != 0 ? result : 0; in reapEventRequest()
/frameworks/base/core/java/android/os/
DParcel.java2331 public final Size readSize() { in readSize() method in Parcel
2940 return readSize(); in readValue()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21987 method public final android.util.Size readSize();
/frameworks/base/non-updatable-api/
Dcurrent.txt35075 method @NonNull public android.util.Size readSize();
/frameworks/base/api/
Dcurrent.txt35219 method @NonNull public android.util.Size readSize();