Searched defs:read (Results 26 - 50 of 160) sorted by relevance

1234567

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DByteBufferInputStream.java31 public int read() { method in class:ByteBufferInputStream
39 public int read(byte[] bytes, int off, int len) { method in class:ByteBufferInputStream
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetConfigStore.java43 public void read() { method in class:EthernetConfigStore
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp50 int read = klogctl(/* SYSLOG_ACTION_READ_ALL */ 3, buf, size); local
51 if (read < 0) {
52 ALOGD("can't read logs - %d", read);
56 ALOGV("read %d bytes", read);
59 if (read != size) {
60 ALOGV("read %d bytes, expecting %d", read, size);
63 JNIObject<jbyteArray> result = helper.newByteArray(read);
[all...]
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp62 status_t SineSource::read( function in class:android::SineSource
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp95 ssize_t NuPlayer::NuPlayerStreamListener::read( function in class:android::NuPlayer::NuPlayerStreamListener
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
H A DAudioStreamInSource.cpp75 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource
81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead);
/frameworks/av/media/libstagefright/
H A DRemoteMediaSource.cpp52 status_t RemoteMediaSource::read( function in class:android::RemoteMediaSource
54 return mSource->read(buffer, reinterpret_cast<const MediaSource::ReadOptions*>(options));
H A DSkipCutBuffer.cpp87 size_t copied = read(dst, buffer->size());
120 size_t copied = read(dst, buffer->capacity());
171 size_t SkipCutBuffer::read(char *dst, size_t num) { function in class:android::SkipCutBuffer
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.cpp38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread
84 SoundPoolMsg msg = read();
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java54 * Creates an input stream for the <code>Operation</code> to read from
65 * Returns the number of bytes that can be read (or skipped over) from this
69 * @return the number of bytes that can be read from this input stream
85 * @return the byte read from the input stream or -1 if it reaches the end of
90 public synchronized int read() throws IOException { method in class:PrivateInputStream
101 public int read(byte[] b) throws IOException { method in class:PrivateInputStream
102 return read(b, 0, b.length);
106 public synchronized int read(byte[] b, int offset, int length) throws IOException { method in class:PrivateInputStream
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXml.java58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
63 read(in, statsOut);
90 static void read(InputStream in, IntervalStats statsOut) throws IOException { method in class:UsageStatsXml
99 UsageStatsXmlV1.read(parser, statsOut);
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/
H A DRemoteInputStream.java24 int read() throws IOException; method in interface:RemoteInputStream
26 byte[] read(int off, int len) throws IOException; method in interface:RemoteInputStream
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java96 public void read(String fileName) { method in class:TriData
/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/base/cmds/incidentd/src/
H A DFdBuffer.cpp41 status_t FdBuffer::read(int fd, int64_t timeout) { function in class:android::os::incidentd::FdBuffer
56 VLOG("timed out due to long read");
74 ssize_t amt = ::read(fd, mBuffer.writeBuffer(), mBuffer.currentToWrite());
79 VLOG("Fail to read %d: %s", fd, strerror(errno));
107 TEMP_FAILURE_RETRY(::read(fd, mBuffer.writeBuffer(), mBuffer.currentToWrite()));
109 VLOG("Fail to read %d: %s", fd, strerror(errno));
138 // A circular buffer holds data read from fd and writes to parsing process
153 VLOG("timed out due to long read");
181 // read from fd
185 amt = ::read(f
[all...]
/frameworks/base/core/java/android/hardware/
H A DSerialPort.java84 * @param buffer to read into
85 * @return number of bytes read
87 public int read(ByteBuffer buffer) throws IOException { method in class:SerialPort
/frameworks/base/core/java/android/hardware/usb/
H A DAccessoryFilter.java59 public static AccessoryFilter read(XmlPullParser parser) method in class:AccessoryFilter
/frameworks/base/core/java/android/service/persistentdata/
H A DPersistentDataBlockManager.java44 * Clients can read the currently written block by invoking
45 * {@link PersistentDataBlockManager#read()}.
106 public byte[] read() { method in class:PersistentDataBlockManager
108 return sService.read();
/frameworks/base/core/java/android/util/
H A DBase64InputStream.java24 * An InputStream that does Base64 decoding on the data read through
39 * An InputStream that performs Base64 decoding on the data read
42 * @param in the InputStream to read the source data from
51 * Performs Base64 encoding or decoding on the data read from the
54 * @param in the InputStream to read the source data from
108 public int read() throws IOException { method in class:Base64InputStream
119 public int read(byte[] b, int off, int len) throws IOException { method in class:Base64InputStream
139 int bytesRead = in.read(inputBuffer);
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp116 mInflateState.avail_in = 0; // set when a chunk is read in
131 * a. if there is no input data to decode, read some into the input buffer
136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater
154 // if we don't have any data to decode, read some in. If we're working
194 // not try to read any further, so just wind things up.
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
240 read(NULL, absoluteInputPosition);
242 read(NULL, absoluteInputPosition - mOutCurPosition);
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java50 // helper for bytewise read()
90 public int read() throws IOException { method in class:AmrInputStream
91 int rtn = read(mOneByte, 0, 1);
99 public int read(byte[] b) throws IOException { method in class:AmrInputStream
100 return read(b, 0, b.length);
107 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream
126 int n = mInputStream.read(mBuf, numRead, SAMPLES_PER_FRAME * 2 - numRead);
143 // now read encoded data from the encoder
H A DResampleInputStream.java49 // helper for bytewise read()
71 public int read() throws IOException { method in class:ResampleInputStream
72 int rtn = read(mOneByte, 0, 1);
77 public int read(byte[] b) throws IOException { method in class:ResampleInputStream
78 return read(b, 0, b.length);
82 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream
95 // read until we have enough data for at least one output sample
103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
/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/tests/servicestests/src/com/android/server/locksettings/
H A DMockWeaverService.java45 public void read(int slotId, ArrayList<Byte> key, readCallback cb) throws RemoteException { method in class:MockWeaverService

Completed in 136 milliseconds

1234567