Searched defs:read (Results 76 - 100 of 160) sorted by relevance

1234567

/frameworks/av/media/extractors/midi/
H A DMidiExtractor.cpp47 virtual status_t read(
117 status_t MidiSource::read( function in class:android::MidiSource
120 ALOGV("MidiSource::read");
133 ALOGV("MidiSource::read %p done", this);
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.h338 * Simple double buffer for a structure that can be written occasionally and read occasionally.
342 * It is also OK if we read an old value.
367 T read() const { function in class:SimpleDoubleBuffer
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp119 // not skip the next frame as we want read() to get a get a frame
206 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse
208 ALOGV("read");
210 mLastReadStatus = CameraSource::read(buffer, options);
212 // mQuickStop may have turned to true while read was blocked.
266 ALOGV("dataCallbackTimestamp timelapse: forced read");
H A DJPEGSource.cpp111 status_t JPEGSource::read( function in class:android::JPEGSource
H A DSimpleDecodingSource.cpp202 status_t SimpleDecodingSource::read( function in class:SimpleDecodingSource
274 res = mSource->read(&in_buf, options);
346 // abort read on stop
/frameworks/av/media/mtp/
H A DMtpFfsCompatHandle.cpp98 int n = TEMP_FAILURE_RETRY(::read(fd, buf, read_len));
100 PLOG(ERROR) << "read ERROR: fd = " << fd << ", n = " << n;
152 int MtpFfsCompatHandle::read(void* data, size_t len) { function in class:android::MtpFfsCompatHandle
176 bool read = false; local
193 read = true;
217 if (read) {
234 read = false;
239 if (TEMP_FAILURE_RETRY(::read(mBulkOut, data, packet_size)) != 0) {
268 bool read = false; local
290 if (read) {
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java32 * opened FileDescriptor that can be used to read the data, as well as the
98 * Returns the FileDescriptor that can be used to read the data in the
143 * should be read to the end of the file.
218 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
220 int result = read(buffer, 0, 1);
225 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
238 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream
239 return read(buffe
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java49 /** file descriptor array received during a previous read */
56 * need to read ancillary data.
82 public int read() throws IOException { method in class:LocalSocketImpl.SocketInputStream
95 public int read(byte[] b) throws IOException { method in class:LocalSocketImpl.SocketInputStream
96 return read(b, 0, b.length);
101 public int read(byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketInputStream
119 * need to read ancillary data.
565 * method can only return a non-null after a read operation.
/frameworks/base/core/java/android/os/
H A DMemoryFile.java36 * After a file is purged, attempts to read or write the file will
77 * After this method has been called, read and write operations through this object
176 * @param buffer byte array to read bytes into.
177 * @param srcOffset offset into the memory file to read from.
178 * @param destOffset offset into the byte array buffer to read into.
179 * @param count number of bytes to read.
180 * @return number of bytes read.
271 public int read() throws IOException { method in class:MemoryFile.MemoryInputStream
275 int result = read(mSingleByte, 0, 1);
283 public int read(byt method in class:MemoryFile.MemoryInputStream
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java322 public int read() throws IOException { method in class:StrictJarFile.JarFileInputStream
327 int r = super.read();
347 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.JarFileInputStream
352 int r = super.read(buffer, byteOffset, byteCount);
399 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.ZipInflaterInputStream
402 i = super.read(buffer, byteOffset, byteCount);
454 @Override public int read() throws IOException { method in class:StrictJarFile.FDStream
458 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:StrictJarFile.FDStream
469 int count = IoBridge.read(fd, buffer, byteOffset, byteCount);
/frameworks/base/core/java/com/android/internal/util/
H A DFileRotator.java69 public void read(InputStream in) throws IOException; method in interface:FileRotator.Reader
197 public void read(InputStream in) throws IOException {
198 reader.read(in);
241 // read existing data
291 // read file when it overlaps
372 reader.read(bis);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java98 // first combine should have empty read, but still write data.
103 // second combine should replace contents; should read existing data,
201 // assert that we read original data, and that it's still intact after
225 // and make sure that we can read something from a legit file
419 public void read(InputStream in) throws IOException { method in class:FileRotatorTest.RecordingReader
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp45 // fseeks every time we perform a read. There's an impedence mismatch
55 size_t read = fread(buf, 1, len, mFp); local
56 if (read != len) {
60 mCurrentOffset += read;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java55 * there are no array copies or synchronization involved to read back written data.
135 public final int read() { method in class:SerializedFrame.DirectByteInputStream
140 public final int read(byte[] b, int off, int len) { method in class:SerializedFrame.DirectByteInputStream
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXmlV1.java319 * @param parser The parser from which to read events.
322 public static void read(XmlPullParser parser, IntervalStats statsOut) method in class:UsageStatsXmlV1
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) { function in class:mcld::EhFrameReader
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp364 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
382 EGLSurface draw, EGLSurface read, EGLContext /*ctx*/,
390 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
399 c->onMakeCurrent(draw, read);
381 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext , EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
H A Degl_object.cpp284 config(config), read(0), draw(0), cnx(cnx), version(version) {
288 read = NULL;
292 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { argument
293 this->read = read;
H A Degl_object.h199 void onMakeCurrent(EGLSurface draw, EGLSurface read);
204 EGLSurface read; member in class:android::egl_context_t
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStoreLegacy.java51 * 2. Load all the store data using {@link #read()}
214 Log.w(TAG, "Failed to read/parse Passpoint config file: " + e.getMessage());
275 public WifiConfigStoreDataLegacy read() { method in class:WifiConfigStoreLegacy
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DXmpDepthDecode.java56 XMPMeta meta = read(is, false);
133 static XMPMeta read(InputStream is, boolean skipExtendedContent) { method in class:XmpDepthDecode
204 if (is.read() != 0xff || is.read() != M_SOI) {
208 while ((c = is.read()) != -1) {
213 while ((c = is.read()) == 0xff) {
221 // that, so read all data at one time.
227 is.read(section.data, 0, section.data.length);
232 int lh = is.read();
233 int ll = is.read();
[all...]
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
H A DTableInfo.java134 * @param database The database to read the information from.
139 public static TableInfo read(SupportSQLiteDatabase database, String tableName) { method in class:TableInfo
237 * @return null if we cannot read the indices due to older sqlite implementations.
247 // we cannot read them so better not validate any index.
261 // we cannot read it properly so better not read it
273 * @return null if we cannot read the index due to older sqlite implementations.
283 // we cannot read them so better not validate any index.
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp63 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
76 // the frame size read already contains the size of the ADTS header, so no need to add it here
233 status_t AacAdtsSource::read( function in class:android::AacAdtsSource
245 SL_LOGV("AacAdtsSource::read() offset=%lld", mOffset);
248 SL_LOGV("AacAdtsSource::read() returns EOS");
261 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize);
263 SL_LOGW("AacAdtsSource::read() readSize != frameSizeWithoutHeader");
/frameworks/av/media/extractors/aac/
H A DAACExtractor.cpp49 virtual status_t read(
91 // or 0 if the size can't be read due to an error in the header or a read failure.
274 status_t AACSource::read( function in class:android::AACSource
/frameworks/av/media/extractors/wav/
H A DWAVExtractor.cpp70 virtual status_t read(
417 status_t WAVSource::read( function in class:android::WAVSource
465 // so read multiples of 65, and use smaller buffers to account for ~10:1 expansion ratio
471 // read only integral amounts of audio unit frames.

Completed in 1416 milliseconds

1234567