Searched refs:read (Results 76 - 100 of 642) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsThreadIO.cpp74 //ALOGV("core read %p %i", data, (int)len);
75 mToCore.read(data, len);
134 r = mToCore.read(&buf[0], sizeof(CoreCmdHeader));
135 mToCore.read(&buf[sizeof(CoreCmdHeader)], cmd->bytes);
176 mToClient.read(&mLastClientHeader, sizeof(mLastClientHeader));
193 mToClient.read(data, receiveLen[0]);
/frameworks/av/include/media/
H A DIAudioFlinger.h61 if (parcel->read(&attr, sizeof(audio_attributes_t)) != NO_ERROR) {
66 if (parcel->read(&config, sizeof(audio_config_t)) != NO_ERROR) {
82 (void)parcel->read(&flags, sizeof(audio_output_flags_t));
85 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t));
86 (void)parcel->read(&sessionId, sizeof(audio_session_t));
137 (void)parcel->read(&flags, sizeof(audio_output_flags_t));
140 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t));
141 (void)parcel->read(&sessionId, sizeof(audio_session_t));
148 (void)parcel->read(&outputId, sizeof(audio_io_handle_t));
193 if (parcel->read(
[all...]
H A DMediaSource.h41 // Any blocking read call returns immediately with a result of NO_INIT.
52 // Options that modify read() behaviour. The default is to
64 virtual status_t read(
68 // until a subsequent read-with-seek. This is currently not supported
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h61 if (parcel->read(&attr, sizeof(audio_attributes_t)) != NO_ERROR) {
66 if (parcel->read(&config, sizeof(audio_config_t)) != NO_ERROR) {
82 (void)parcel->read(&flags, sizeof(audio_output_flags_t));
85 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t));
86 (void)parcel->read(&sessionId, sizeof(audio_session_t));
137 (void)parcel->read(&flags, sizeof(audio_output_flags_t));
140 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t));
141 (void)parcel->read(&sessionId, sizeof(audio_session_t));
148 (void)parcel->read(&outputId, sizeof(audio_io_handle_t));
193 if (parcel->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/tests/utiltests/src/com/android/internal/util/
H A DBitwiseStreamsTest.java44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
89 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
110 assertEquals(valueArr[i], inStream.read(sizeArr[i]));
130 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8);
154 assertEquals(valueArr[i], inStream.read(sizeArr[i]));
/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/native/libs/gui/
H A DLayerState.cpp56 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t
75 input.read(crop);
76 input.read(finalCrop);
88 input.read(transparentRegion);
97 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState
99 return state.read(input);
126 status_t DisplayState::read(const Parcel& input) { function in class:android::DisplayState
132 input.read(viewport);
133 input.read(frame);
H A DHdrMetadata.cpp52 FlattenableUtils::read(buffer, size, validTypes);
57 FlattenableUtils::read(buffer, size, smpte2086);
63 FlattenableUtils::read(buffer, size, cta8613);
/frameworks/av/media/mtp/
H A DMtpFfsHandle.h51 int doAsync(void* data, size_t len, bool read, bool zero_packet);
76 int iobufSubmit(struct io_buffer *buf, int fd, unsigned length, bool read);
86 int read(void *data, size_t len) override;
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp84 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor
106 amount = fAsset->read(buffer, size);
133 const off64_t len = asset->read(data->writable_data(), size);
135 SkDebugf("---- copyAsset: asset->read(%d) returned %d\n", size, len);
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java431 * Utility method to read a line of data from the input stream
432 * @param is Inputstream to read
433 * @return number of bytes read
437 int read = 0;
443 int data = is.read();
450 buf[read] = (byte)data;
455 if (buf[read++]==(byte)'\n') {
457 return read;
464 return read;
469 * @param is Stream from which to read dat
[all...]
/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/av/include/media/nbaio/
H A DAudioStreamInSource.h45 // This is an over-estimate, and could dupe the caller into making a blocking read()
49 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/include/media/stagefright/
H A DJPEGSource.h35 virtual status_t read(
H A DMediaAdapter.h42 virtual status_t read(
55 // pushBuffer() will wait for the read() finish, and read() will have a
61 // Make sure the read() wait for the incoming buffer.
H A DSkipCutBuffer.h52 size_t read(char *dst, size_t num);
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalCapture.h35 aaudio_result_t read(void *buffer,
52 * Low level data processing that will not block. It will just read or write as much as it can.
65 * Asynchronous read with data conversion.
/frameworks/av/media/libeffects/dynamicsproc/dsp/
H A DSHCircularBuffer.h50 inline T read() { function in class:SHCircularBuffer
59 ALOGW("Warning: SHCircularBuffer no data available to read. Default value returned");
/frameworks/av/media/libmediaextractor/include/media/
H A DMediaSource.h41 // Any blocking read call returns immediately with a result of NO_INIT.
52 // Options that modify read() behaviour. The default is to
64 virtual status_t read(
68 // until a subsequent read-with-seek. This is currently not supported
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.h40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioStreamInSource.h45 // This is an over-estimate, and could dupe the caller into making a blocking read()
49 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DJPEGSource.h35 virtual status_t read(
H A DMediaAdapter.h42 virtual status_t read(
55 // pushBuffer() will wait for the read() finish, and read() will have a
61 // Make sure the read() wait for the incoming buffer.
H A DSkipCutBuffer.h52 size_t read(char *dst, size_t num);

Completed in 408 milliseconds

1234567891011>>