Searched refs:read (Results 226 - 250 of 460) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java268 long timestampMillis, boolean seen, boolean read) throws RemoteException {
277 callingPkg, address, type, text, timestampMillis, seen, read);
282 String messageId, long timestampSecs, boolean seen, boolean read)
292 callingPkg, contentUri, messageId, timestampSecs, seen, read);
267 importTextMessage(String callingPkg, String address, int type, String text, long timestampMillis, boolean seen, boolean read) argument
281 importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, long timestampSecs, boolean seen, boolean read) argument
/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/native/opengl/libs/GLES_trace/src/
H A Dgltrace_transport.cpp129 int n = read(mSocket, (uint8_t*)data + totalRead, len - totalRead);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DDefaultPhotoManager.java115 while ((size = is.read(buffer)) != -1) {
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFObject.h62 static ELFObject *read(Archiver &AR);
H A DELFSectionHeader.h88 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0);
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionRelTable.hxx55 ELFSectionRelTable<Bitwidth>::read(Archiver &AR, function in class:ELFSectionRelTable
83 // Unable to read the table.
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java87 // Rename the current file so it may be used as a backup during the next read
118 * commit the new data. The next attempt to read the atomic file
154 * opening for read. You should call close() on the FileInputStream when
182 int amt = stream.read(data, pos, data.length-pos);
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp47 virtual status_t read(
250 status_t AMRSource::read( function in class:android::AMRSource
H A DCameraSourceTimeLapse.cpp117 // not skip the next frame as we want read() to get a get a frame
204 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse
206 ALOGV("read");
208 mLastReadStatus = CameraSource::read(buffer, options);
210 // mQuickStop may have turned to true while read was blocked.
264 ALOGV("dataCallbackTimestamp timelapse: forced read");
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp26 virtual size_t read(void* buffer, size_t size) { function in class:JavaInputStreamAdaptor
33 If we see that value, we need to call read(), which will
43 // if read returned 0, we're at EOF
64 // read the bytes
80 SkDebugf("---- read threw an exception\n");
86 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications.
96 SkDebugf("---- read:GetByteArrayRegion threw an exception\n");
151 while ((len = stream->read(data + streamLen,
269 gInputStream_readMethodID = getMethodIDCheck(env, inputStream_Clazz, "read", "([BII)I");
/frameworks/base/core/jni/
H A Dandroid_hardware_SerialPort.cpp153 /* 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 DObbFile.cpp44 #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));
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java115 // Open as read-only so we can at least read the existing
161 // check that we can read the following 9 bytes
163 if (mChannel.read(mBuffer, pos) == 9) {
172 // Other NIO related exception like disk full, read only channel..etc
174 ", disk full or mount read-only? " + ex.getClass());
215 // Other NIO related exception like disk full, read only channel..etc
217 + id + "; disk full or mount read-only? " + ex.getClass());
244 int size = mChannel.read(mBuffer, pos);
260 // Other NIO related exception like disk full, read onl
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java55 * there are no array copies or synchronization involved to read back written data.
135 public final int read() { method in class:SerializedFrame.DirectByteInputStream
140 public final int read(byte[] b, int off, int len) { method in class:SerializedFrame.DirectByteInputStream
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java149 * @return an ETC1Texture read from the input stream.
157 if (input.read(ioBuffer, 0, ETC1.ETC_PKM_HEADER_SIZE) != ETC1.ETC_PKM_HEADER_SIZE) {
158 throw new IOException("Unable to read PKM file header.");
173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) {
174 throw new IOException("Unable to read PKM file data.");
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java163 int byteBuffer = inputStream.read();
169 byteBuffer = inputStream.read();
/frameworks/base/services/core/java/com/android/server/am/
H A DNativeCrashListener.java184 int n = Os.read(fd, buffer, offset + totalRead, numBytes);
212 Slog.e(TAG, "Unable to read from debuggerd");
240 bytes = Os.read(fd, buf, 0, buf.length);
251 // no EOD, so collect it and read more
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java87 value = (value << 8) | reader.read();
107 stream.read(chunk, 0, length);
/frameworks/base/test-runner/src/junit/runner/
H A DTestCaseClassLoader.java146 while ((n= stream.read(b)) != -1)
177 int n= stream.read(data, pos, data.length - pos);
/frameworks/rs/cpu_ref/linkloader/android/
H A Dlibrsloader.cpp72 std::unique_ptr<ELFObject<64> > object(ELFObject<64>::read(AR));
74 std::unique_ptr<ELFObject<32> > object(ELFObject<32>::read(AR));
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp139 err = source->read(&mbuf);
229 err = rawSource->read(&buffer, &options);
316 status_t err = rawSource->read(&buffer, &options);
404 virtual status_t read(
470 status_t DetectSyncSource::read( function in class:DetectSyncSource
473 status_t err = mSource->read(buffer, options);
549 err = source->read(&buffer, &options);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java74 * <p>For more information about using Bluetooth, read the
352 // read out port number
429 /*package*/ int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
430 if (mSocketIS == null) throw new IOException("read is called on null InputStream");
431 if (VDBG) Log.d(TAG, "read in: " + mSocketIS + " len: " + length);
432 int ret = mSocketIS.read(b, offset, length);
434 throw new IOException("bt socket closed, read return: " + ret);
435 if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret);
490 if (VDBG) Log.d(TAG, "waitSocketSignal read 16 bytes signal ret: " + ret);
510 int ret = is.read(
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java32 * This class presents a lower-level API that allows you to open and read raw
292 * read its contents. This provides access to files that have been bundled
554 public final int read() throws IOException { method in class:AssetManager.AssetInputStream
579 public final int read(byte[] b) throws IOException { method in class:AssetManager.AssetInputStream
582 public final int read(byte[] b, int off, int len) throws IOException { method in class:AssetManager.AssetInputStream

Completed in 4731 milliseconds

1234567891011>>