/frameworks/base/media/java/android/media/midi/ |
H A D | MidiOutputPort.java | 59 // read next event 60 int count = mInputStream.read(buffer); 87 Log.e(TAG, "read failed", e);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | PipeManagerTest.java | 88 assertEquals(expectedBytes.length, stream.read(results));
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | ExpatPerformanceTest.java | 49 while ((length = in.read(buffer)) != -1) {
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
H A D | FullBackupUtils.java | 46 * @param inPipe - pipe to read the data from. 61 int nRead = in.read(buffer, 0, toRead);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 366 * with anything read from disk, and write combined set to disk. Clears the 382 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter 383 mCollection.read(in); 417 public void read(InputStream in) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter 418 mTemp.read(in);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ProcessLoggingHandler.java | 106 while ((size = input.read(buffer)) > 0) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | MockWeaverService.java | 45 public void read(int slotId, ArrayList<Byte> key, readCallback cb) throws RemoteException { method in class:MockWeaverService
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | ToastTest.java | 66 while ((len = f.read(cbuf, 0, cbuf.length)) >= 0) {
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
H A D | Main.java | 84 zos.write(bis.read());
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | AsmGeneratorTest.java | 306 int read; 307 while ((read = stream.read(buffer, 0, buffer.length)) > -1) { 308 bos.write(buffer, 0, read);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DefaultPhotoManager.java | 115 while ((size = is.read(buffer)) != -1) {
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | ScriptC.java | 104 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
|
/frameworks/support/compat/src/main/java/androidx/core/util/ |
H A D | AtomicFile.java | 92 // Rename the current file so it may be used as a backup during the next read 123 * commit the new data. The next attempt to read the atomic file 159 * opening for read. You should call close() on the FileInputStream when 189 int amt = stream.read(data, pos, data.length-pos);
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
H A D | MigrationTest.java | 173 final TableInfo info = TableInfo.read(db, MigrationDb.Entity3.TABLE_NAME); 182 final TableInfo info = TableInfo.read(db, MigrationDb.Entity3.TABLE_NAME); 196 final TableInfo info = TableInfo.read(db, MigrationDb.Entity3.TABLE_NAME); 227 final TableInfo info = TableInfo.read(db, MigrationDb.Entity4.TABLE_NAME);
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
H A D | RenderTest.java | 97 while ((len = in.read(buf)) > 0) {
|
/frameworks/av/media/extractors/midi/ |
H A D | MidiExtractor.cpp | 47 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/fifo/ |
H A D | FifoBuffer.cpp | 124 fifo_frames_t FifoBuffer::read(void *buffer, fifo_frames_t numFrames) { function in class:FifoBuffer 189 fifo_frames_t framesRead = read(buffer, numFrames);
|
/frameworks/av/media/libaudioclient/ |
H A D | IEffect.cpp | 102 reply.read(pReplyData, size); 171 data.read(cmd, cmdSize);
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | StreamHalHidl.h | 91 // Get current read/write position in the mmap buffer 95 // (must match the priority of the audioflinger's thread that calls 'read' / 'write') 207 virtual status_t read(void *buffer, size_t bytes, size_t *read);
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalHidl.h | 92 // Get current read/write position in the mmap buffer 96 // (must match the priority of the audioflinger's thread that calls 'read' / 'write') 208 virtual status_t read(void *buffer, size_t bytes, size_t *read);
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 119 // 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");
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | TransferPipe.java | 116 int numRead = is.read(buffer); 187 if (DEBUG) Slog.i(TAG, "read=" + getReadFd() + " write=" + getWriteFd() 262 if (DEBUG) Slog.i(TAG, "Ready to read pipe..."); 271 while ((size=fis.read(buffer)) > 0) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 56 size_t read(void* buffer, size_t size) override { 67 If we see that value, we need to call read(), which will 77 // if read returned 0, we're at EOF 95 // read the bytes 109 SkDebugf("---- read threw an exception\n"); 113 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications. 121 SkDebugf("---- read:GetByteArrayRegion threw an exception\n"); 186 while ((len = stream->read(data + streamLen, 304 gInputStream_readMethodID = getMethodIDCheck(env, inputStream_Clazz, "read", "([BII)I");
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SerialPort.cpp | 153 /* 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/libs/androidfw/ |
H A D | ObbFile.cpp | 44 #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));
|