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

1234567891011>>

/frameworks/base/cmds/installd/
H A Dinstalld.c144 r = read(s, buf + n, count - n);
147 LOGE("read error: %s\n", strerror(errno));
268 LOGE("failed to read size\n");
276 LOGE("failed to read command\n");
/frameworks/base/cmds/runtime/
H A DSignalHandler.cpp31 read(mOwner.mAvailMsg[0], buffer, sizeof(buffer));
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java303 /*package*/ int read(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java131 * Create a new Entry with the contents read from a file.
132 * The file will be read when the entry's contents are requested.
172 return new String(buf, 0, Math.max(0, is.read(buf)));
263 * @param file to read from
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java308 // read some data
309 int nbytes = audio.read(mPutAudioBuffer);
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java227 in.read(buf);
238 Log.e(TAG, "Unable to read backup records", e);
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp41 // read the bytes
52 SkDebugf("---- read threw an exception\n");
56 if (n < 0) { // n == 0 should not be possible, see InputStream read() specifications.
65 SkDebugf("---- read:GetByteArrayRegion threw an exception\n");
109 virtual size_t read(void* buffer, size_t size) { function in class:JavaInputStreamAdaptor
116 If we see that value, we need to call read(), which will
126 // if read returned 0, we're at EOF
162 "read", "([BII)I");
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp224 int rc = read(fd, cmdline, sizeof(cmdline)-1);
416 const int len = read(fd, buffer, sizeof(buffer)-1);
420 LOGW("Unable to read /proc/meminfo");
515 int len = read(fd, buffer, BUFFER_SIZE-1);
519 LOGW("Unable to read %s", file.string());
804 const int len = read(fd, buffer, sizeof(buffer)-1);
H A Dandroid_server_BluetoothEventLoop.cpp480 read(nat->controlFdR, &newFD, sizeof(int));
481 read(nat->controlFdR, &flags, sizeof(unsigned int));
482 read(nat->controlFdR, &watch, sizeof(DBusWatch *));
525 read(nat->controlFdR, &removeFD, sizeof(int));
526 read(nat->controlFdR, &flags, sizeof(unsigned int));
/frameworks/base/include/media/stagefright/
H A DOMXCodec.h58 virtual status_t read(
/frameworks/base/include/ui/
H A DRegion.h123 ssize_t read(const void* buffer);
/frameworks/base/libs/surfaceflinger_client/
H A DISurface.cpp86 reply.read(*buffer);
H A DISurfaceComposerClient.cpp198 states[i].read(data);
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
H A DAccessoryChat.java171 ret = mInputStream.read(buffer);
/frameworks/base/libs/utils/
H A DZipUtils.cpp94 /* read as much as we can */
101 int cc = read(fd, readBuf, getSize);
103 LOGD("inflate read failed (%d vs %ld)\n",
206 /* read as much as we can */
215 LOGD("inflate read failed (%d vs %ld)\n",
/frameworks/base/media/libstagefright/
H A DAMRWriter.cpp201 err = mSource->read(&buffer);
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp151 status_t err = decoder->read(&buffer, NULL);
157 printf("Duration in decoder->read(): %.1f (msecs). \n",
/frameworks/base/opengl/tests/angeles/include/GLES/
H A Degl.h214 GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
/frameworks/base/services/audioflinger/
H A DAudioDumpInterface.h93 virtual ssize_t read(void* buffer, ssize_t bytes);
H A DAudioHardwareStub.cpp174 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) function in class:android::AudioStreamInStub
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnector.java109 int count = inputStream.read(buffer, start, BUFFER_SIZE - start);
149 // We should end at the amount we read. If not, compact then
150 // buffer and read again.
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java215 while ((len = in.read(buf)) >= 0 ) {
H A DReliabilityTest.java79 //read from BufferedReader instead of populating a list in advance,
137 while ((len = in.read(buf)) >= 0 ) {
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp187 read(gRandom, &mSequence, sizeof(mSequence));
188 read(gRandom, &mTimestamp, sizeof(mTimestamp));
189 read(gRandom, &mSsrc, sizeof(mSsrc));
816 record.read(&one, sizeof(one));
859 LOGE("cannot read from AudioRecord");
/frameworks/base/media/libmedia/
H A DIAudioFlinger.cpp606 reply.read(pDescriptor, sizeof(effect_descriptor_t));
626 reply.read(pDescriptor, sizeof(effect_descriptor_t));
672 reply.read(pDesc, sizeof(effect_descriptor_t));
1009 data.read(&uuid, sizeof(effect_uuid_t));
1022 data.read(&desc, sizeof(effect_descriptor_t));

Completed in 415 milliseconds

1234567891011>>