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

1234567891011>>

/frameworks/av/media/libaudioclient/
H A DIAudioFlingerClient.cpp72 data.read(&ioDesc->mPatch, sizeof(struct audio_patch));
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerSinc.h64 inline void read(int16_t*& impulse, uint32_t& phaseFraction,
/frameworks/av/media/libheif/include/
H A DHeifDecoderAPI.h90 * read or skipped.
94 virtual size_t read(void* buffer, size_t size) = 0;
153 * After this succeeded, getScanline can be called to read the scanlines
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp79 return -1; // as per failed read.
85 return read(mFd, buffer, size);
/frameworks/av/media/libstagefright/
H A DMediaAdapter.cpp59 // While read() is still waiting, we should signal it to finish.
84 status_t MediaAdapter::read( function in class:android::MediaAdapter
93 ALOGV("waiting @ read()");
98 ALOGV("read interrupted after stop");
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DSimpleDecodingSource.h68 virtual status_t read(MediaBufferBase **buffer, const ReadOptions *options);
/frameworks/av/media/libstagefright/rtsp/
H A DVideoSource.h57 virtual status_t read( function in class:android::VideoSource
64 // printf("VideoSource::read\n");
78 // printf("VideoSource::read - returning buffer\n");
79 // LOG(INFO)("VideoSource::read - returning buffer");
/frameworks/av/media/mtp/
H A DMtpDeviceInfo.cpp62 bool MtpDeviceInfo::read(MtpDataPacket& packet) { function in class:android::MtpDeviceInfo
65 // read the device info
H A DMtpObjectInfo.cpp58 bool MtpObjectInfo::read(MtpDataPacket& packet) { function in class:android::MtpObjectInfo
H A DMtpProperty.h89 bool read(MtpDataPacket& packet);
/frameworks/av/media/mtp/tests/
H A DPosixAsyncIO_test.cpp80 EXPECT_EQ(read(dummy_file.fd, buf, TEST_PACKET_SIZE), TEST_PACKET_SIZE);
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointCapture.cpp69 // Read audio data from stream using a blocking read.
70 result = getStreamInternal()->read(mDistributionBuffer, getFramesPerBurst(), timeoutNanos);
75 ALOGW("callbackLoop() read %d / %d",
118 // to decide when data will be available to read.
/frameworks/base/cmds/incidentd/tests/
H A DFdBuffer_test.cpp63 while ((nRead = read(rFd.get(), buf, BUFFER_SIZE)) > 0) {
89 ASSERT_EQ(NO_ERROR, buffer.read(tf.fd, READ_TIMEOUT));
102 ASSERT_EQ(NO_ERROR, buffer.read(tf.fd, READ_TIMEOUT));
130 status_t status = buffer.read(c2pPipe.readFd().get(), QUICK_TIMEOUT_MS);
139 std::string testdata = "simply test read in stream";
169 std::string testdata = "child process flushes only after all data are read.";
180 // wait for read finishes then write.
/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/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/java/com/android/server/backup/
H A DUsageStatsBackupHelper.java62 in.read(restoreData, 0, restoreData.length);
/frameworks/base/core/jni/
H A Dandroid_os_HwBlob.h46 status_t read(size_t offset, void *data, size_t size) const;
H A Dandroid_util_FileObserver.cpp59 int num_bytes = read(fd, event_buf, sizeof(event_buf));
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java71 while ((bytesRead = mInputStream.read(buffer)) > 0) {
78 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
/frameworks/base/rs/java/android/renderscript/
H A DScriptC.java103 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
/frameworks/base/services/core/java/com/android/server/pm/
H A DAbstractStatsBase.java31 * <li>Provide an AtomicFile to the actual read/write code
108 protected void read(T data) { method in class:AbstractStatsBase
120 // We use the current time as last-written. read() is called on system server startup
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDescriptorParser.cpp51 int numBytes = read(fd, buffer, sizeof(buffer));
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java74 int num = is.read(buf, 0, 4);
76 Log.e(TAG, "Wanted 4 bytes but read " + num);
/frameworks/base/tools/aapt2/tools/
H A Dfix_resources.py43 return fin.read()

Completed in 752 milliseconds

1234567891011>>