/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE); in getFrameSize() local 56 if (readSize == 0) { in getFrameSize() 61 if (readSize != ADTS_HEADER_SIZE_UP_TO_FRAMESIZE) { in getFrameSize() 63 (int) readSize); in getFrameSize() 107 ssize_t readSize = mDataSource->readAt(2, &header, 2); in AacAdtsExtractor() local 108 if (readSize != 2) { in AacAdtsExtractor() 284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(), in read() local 287 if (readSize != (ssize_t)frameSizeWithoutHeader) { in read()
|
/frameworks/wilhelm/src/android/ |
D | BufferQueueSource.cpp | 65 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/ |
D | SDPLoader.cpp | 122 ssize_t readSize = mHTTPDataSource->readAt(0, buffer->data(), sdpSize); in onLoad() local 124 if (readSize < 0) { in onLoad() 125 ALOGE("Failed to read SDP, error code = %zu", readSize); in onLoad() 130 if (desc == NULL || !desc->setTo(buffer->data(), (size_t)readSize)) { in onLoad()
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 481 jint interpretReadSizeError(ssize_t readSize) { in interpretReadSizeError() argument 482 if (readSize == WOULD_BLOCK) { in interpretReadSizeError() 484 } else if (readSize == NO_INIT) { in interpretReadSizeError() 487 ALOGE("Error %zd during AudioRecord native read", readSize); in interpretReadSizeError() 488 return nativeToJavaStatus(readSize); in interpretReadSizeError() 523 ssize_t readSize = lpRecorder->read( in android_media_AudioRecord_readInArray() local 528 if (readSize < 0) { in android_media_AudioRecord_readInArray() 529 return interpretReadSizeError(readSize); in android_media_AudioRecord_readInArray() 531 return (jint)(readSize / sizeof(*recordBuff)); in android_media_AudioRecord_readInArray() 558 ssize_t readSize = lpRecorder->read(nativeFromJavaBuf, in android_media_AudioRecord_readInDirectBuffer() local [all …]
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 162 long read(unsigned char** nextBuffer, long readSize) const { in read() 164 return fread(mReadBuf, 1, readSize, mFp); in read() 182 long read(unsigned char** nextBuffer, long readSize) const { in read() 184 return TEMP_FAILURE_RETRY(::read(mFd, mReadBuf, readSize)); in read()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 708 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/av/media/libstagefright/codecs/aacenc/SampleCode/ |
D | AAC_E_SAMPLES.c | 124 int ReadFile2Buf(FILE* infile,unsigned char* dest,int readSize) in ReadFile2Buf() argument 127 readBytes = fread(dest, 1, readSize, infile); in ReadFile2Buf()
|
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 1094 size_t readSize = audioBuffer.size; in processAudioBuffer() local 1097 if (ssize_t(readSize) < 0 || readSize > reqSize) { in processAudioBuffer() 1099 reqSize, ssize_t(readSize)); in processAudioBuffer() 1103 if (readSize == 0) { in processAudioBuffer() 1111 size_t releasedFrames = readSize / mFrameSize; in processAudioBuffer() 1125 if (readSize < reqSize) { in processAudioBuffer()
|
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 831 int32_t readSize = read(device->fd, readBuffer, in getEvents() local 833 if (readSize == 0 || (readSize < 0 && errno == ENODEV)) { in getEvents() 837 device->fd, readSize, bufferSize, capacity, errno); in getEvents() 840 } else if (readSize < 0) { in getEvents() 844 } else if ((readSize % sizeof(struct input_event)) != 0) { in getEvents() 845 ALOGE("could not get event (wrong size: %d)", readSize); in getEvents() 849 size_t count = size_t(readSize) / sizeof(struct input_event); in getEvents()
|
/frameworks/av/media/mtp/ |
D | MtpDevice.cpp | 924 const int readSize = mEventPacket.readResponse(mRequestIntr->dev); in reapEventRequest() local 930 return readSize != 0 ? result : 0; in reapEventRequest()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 1917 public final Size readSize() { in readSize() method in Parcel 2433 return readSize(); in readValue()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Extractor.cpp | 595 static int32_t readSize(off64_t offset, in readSize() function 628 int32_t size = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF() 688 size = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF() 704 dataLen = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
|
/frameworks/base/docs/html/sdk/api_diff/21/ |
D | missingSinces.txt | 774 NO DOC BLOCK: android.os.Parcel Method readSize()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 21987 method public final android.util.Size readSize();
|
/frameworks/base/api/ |
D | current.txt | 28851 method public final android.util.Size readSize();
|
D | system-current.txt | 31292 method public final android.util.Size readSize();
|
D | test-current.txt | 28920 method public final android.util.Size readSize();
|