Searched refs:read (Results 126 - 150 of 294) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java272 boolean enabled = (stream.read() == '1');
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DFilePart.java224 while ((len = instream.read(tmp)) >= 0) {
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java46 // Rename the current file so it may be used as a backup during the next read
137 int amt = stream.read(data, pos, data.length-pos);
/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp80 amount = read(fd, ptr, MAPS_FILE_SIZE);
90 LOGD("**** read %d bytes from '%s'", (int) header.mapSize, path);
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);
133 res = queue->read(&event, 1);
/frameworks/base/media/libstagefright/
H A DShoutcastSource.cpp89 status_t ShoutcastSource::read( function in class:android::ShoutcastSource
H A DAMRExtractor.cpp46 virtual status_t read(
210 status_t AMRSource::read( function in class:android::AMRSource
/frameworks/base/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp51 status_t AnotherPacketSource::read( function in class:android::AnotherPacketSource
/frameworks/base/native/android/
H A Dsensor.cpp126 return static_cast<SensorEventQueue*>(queue)->read(events, count);
/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/
H A DDemoDataSet.java119 count = in.read(buf, 0, size);
/frameworks/base/services/java/com/android/server/am/
H A DDeviceMonitor.java154 while ((count = in.read(buffer)) != -1) {
/frameworks/base/test-runner/src/junit/textui/
H A DTestRunner.java129 System.in.read();
/frameworks/base/tests/CoreTests/android/core/
H A DZipStreamTest.java51 if (inFile.read(zipData) != inputLength)
152 while ((len = in.read(buf)) > 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/base/include/binder/
H A DParcel.h121 status_t read(void* outData, size_t len) const;
140 status_t read(Flattenable& val) const;
145 // response headers. Callers should use this to read & parse the
/frameworks/base/libs/ui/
H A DKeyCharacterMap.cpp221 err = read(fd, &header, sizeof(header));
244 // read the key data
246 err = read(fd, keys, sizeof(Key)*header.keycount);
/frameworks/base/libs/utils/
H A DObbFile.cpp42 #define kMaxBufSize 32768 /* Maximum file read buffer */
109 LOGW("failed to read from %s (fd=%d)\n", filename, fd);
119 LOGW("attempt to read from invalid fd\n");
146 actual = TEMP_FAILURE_RETRY(read(fd, footer, kFooterTagSize));
148 LOGW("couldn't read footer signature: %s\n", strerror(errno));
188 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize));
191 LOGI("couldn't read ObbFile footer: %s\n", strerror(errno));
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java116 // Open as read-only so we can at least read the existing
162 // check that we can read the following 9 bytes
164 if (mChannel.read(mBuffer, pos) == 9) {
173 // Other NIO related exception like disk full, read only channel..etc
175 ", disk full or mount read-only? " + ex.getClass());
216 // Other NIO related exception like disk full, read only channel..etc
218 + id + "; disk full or mount read-only? " + ex.getClass());
245 int size = mChannel.read(mBuffer, pos);
260 // Other NIO related exception like disk full, read onl
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A DAACDecoder.cpp157 status_t AACDecoder::read( function in class:android::AACDecoder
183 err = mSource->read(&mInputBuffer, options);
/frameworks/base/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp198 status_t AACEncoder::read( function in class:android::AACEncoder
227 if (mSource->read(&mInputBuffer, options) != OK) {
/frameworks/base/media/libstagefright/codecs/amrnb/enc/
H A DAMRNBEncoder.cpp141 status_t AMRNBEncoder::read( function in class:android::AMRNBEncoder
155 err = mSource->read(&mInputBuffer, options);
/frameworks/base/media/libstagefright/codecs/amrwbenc/
H A DAMRWBEncoder.cpp192 status_t AMRWBEncoder::read( function in class:android::AMRWBEncoder
206 err = mSource->read(&mInputBuffer, options);

Completed in 376 milliseconds

1234567891011>>