Searched refs:read (Results 201 - 225 of 423) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_util_FileObserver.cpp63 int num_bytes = read(fd, event_buf, sizeof(event_buf));
H A Dandroid_hardware_SensorManager.cpp128 res = queue->read(&event, 1);
134 res = queue->read(&event, 1);
135 ALOGE_IF(res==0, "sensors_data_poll: nothing to read after waitForEvent()");
H A Dandroid_hardware_SerialPort.cpp153 /* no timeout but request at least one character per read */
178 int ret = read(fd, buf, length);
201 int ret = read(fd, buf, length);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java109 while (is.read() != -1) {
113 fail("read too many bytes");
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientTest.java92 while ((length = reader.read(buffer)) != -1) {
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java38 /* Should be used when we need to read from local file */
44 /* Should be used when we need to read from local file */
54 // read the entire data
55 bufferedStream.read(data);
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DExpatPerformanceTest.java49 while ((length = in.read(buffer)) != -1) {
/frameworks/base/services/java/com/android/server/am/
H A DDeviceMonitor.java158 while ((count = in.read(buffer)) != -1) {
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
H A DConnectionHandler.java58 if ((length = mInputStream.read(buffer)) < 0) {
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DToastTest.java66 while ((len = f.read(cbuf, 0, cbuf.length)) >= 0) {
/frameworks/base/tools/aapt/
H A Dprintapk.cpp46 fprintf(stderr, "apk: couldn't open file for read: %s\n", filename);
64 amt = read(fd, buf, size);
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DELFObjectLoaderImpl.cpp36 mObject = ELFObject<32>::read(reader);
/frameworks/compile/libbcc/tools/build/
H A Dgen-build-info.py64 buf = f.read(512)
/frameworks/compile/linkloader/include/
H A DELFObject.h63 static ELFObject *read(Archiver &AR);
/frameworks/compile/linkloader/include/impl/
H A DELFSectionRelTable.hxx55 ELFSectionRelTable<Bitwidth>::read(Archiver &AR, function in class:ELFSectionRelTable
83 // Unable to read the table.
/frameworks/native/libs/gui/
H A DISurfaceTexture.cpp65 reply.read(**buf);
101 reply.read(*fence.get());
248 data.read(*fence.get());
297 parcel.read(*this);
H A DSensorEventQueue.cpp62 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) function in class:android::SensorEventQueue
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_transport.cpp129 int n = read(mSocket, (uint8_t*)data + totalRead, len - totalRead);
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java87 // Rename the current file so it may be used as a backup during the next read
118 * commit the new data. The next attempt to read the atomic file
154 * opening for read. You should call close() on the FileInputStream when
182 int amt = stream.read(data, pos, data.length-pos);
/frameworks/base/native/android/
H A Dsensor.cpp126 return static_cast<SensorEventQueue*>(queue)->read(events, count);
/frameworks/av/media/libmedia/
H A DIHDCP.cpp105 reply.read(outData, size);
182 data.read(inData, size);
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp47 virtual status_t read(
250 status_t AMRSource::read( function in class:android::AMRSource
H A DCameraSourceTimeLapse.cpp104 // not skip the next frame as we want read() to get a get a frame
191 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse
193 ALOGV("read");
195 mLastReadStatus = CameraSource::read(buffer, options);
197 // mQuickStop may have turned to true while read was blocked.
251 ALOGV("dataCallbackTimestamp timelapse: forced read");
/frameworks/base/libs/androidfw/
H A DObbFile.cpp44 #define kMaxBufSize 32768 /* Maximum file read buffer */
100 ALOGW("failed to read from %s (fd=%d)\n", filename, fd);
110 ALOGW("attempt to read from invalid fd\n");
137 actual = TEMP_FAILURE_RETRY(read(fd, footer, kFooterTagSize));
139 ALOGW("couldn't read footer signature: %s\n", strerror(errno));
179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize));
182 ALOGI("couldn't read ObbFile footer: %s\n", strerror(errno));
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java146 while ((n= stream.read(b)) != -1)
177 int n= stream.read(data, pos, data.length - pos);

Completed in 6905 milliseconds

1234567891011>>