Searched refs:read (Results 351 - 375 of 423) sorted by relevance

<<11121314151617

/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp467 static jboolean jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) { argument
468 if (display == NULL || draw == NULL || read == NULL || context == NULL) {
474 EGLSurface srd = getSurface(_env, read);
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditor3gpReader.cpp166 * @return the read bits
343 * @note The value is read from the current bitstream location.
959 * @param pAccessUnit (IO) Pointer to access unit to fill with read data
994 pC->mAudioSource->read(&mMediaBuffer, &options);
1003 pC->mAudioSource->read(&mMediaBuffer, &options);
1023 error = pC->mVideoSource->read(&mMediaBuffer, &options);
1049 pC->mVideoSource->read(&mMediaBuffer, &options);
1944 error = pC->mVideoSource->read(&mMediaBuffer, &options);
1952 ALOGV("VideoEditor3gpReader_getPrevRapTime read time %ld, %x", tempTime64,
H A DVideoEditorVideoEncoder.cpp71 virtual status_t read(MediaBuffer **buffer,
183 status_t VideoEditorVideoEncoderSource::read(MediaBuffer **buffer, function in class:android::VideoEditorVideoEncoderSource
190 ALOGV("VideoEditorVideoEncoderSource::read() begin");
193 ALOGV("VideoEditorVideoEncoderSource::read: invalid state %d", mState);
204 ALOGV("VideoEditorVideoEncoderSource::read : EOS");
219 ALOGV("VideoEditorVideoEncoderSource::read() END (0x%x)", err);
357 // Call read once to get the DSI
360 result = encoder->read(&outputBuffer, NULL);
H A DVideoEditorVideoDecoder.cpp59 virtual status_t read(
147 status_t VideoEditorVideoDecoderSource::read(MediaBuffer** buffer_out, function in class:VideoEditorVideoDecoderSource
156 ALOGE("Unexpected read options");
1345 // Do not call read(), it could lead to a freeze
1376 errStatus = pDecShellContext->mVideoDecoder->read(&pNextBuffer, &options);
1379 errStatus = pDecShellContext->mVideoDecoder->read(&pNextBuffer);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRIL.java440 * The final message (length header omitted) is read into
444 * @param is non-null; Stream to read from
457 // First, read in the length of the message
461 countRead = is.read(buffer, offset, remaining);
477 // Then, re-use the buffer and read in the message itself
481 countRead = is.read(buffer, offset, remaining);
580 Log.e(LOG_TAG, "Uncaught exception read length=" + length +
1217 rr.mp.writeInt(dis.read()); //address_digit_mode
1218 rr.mp.writeInt(dis.read()); //address_nbr_mode
1219 rr.mp.writeInt(dis.read()); //address_to
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp368 // the prefetcher to read its data.
559 // the prefetcher to read its data.
632 // Set the seek option for Image source files and read.
638 mVideoSource->read(&aLocalBuffer, &options);
826 status_t err = mVideoSource->read(&mVideoBuffer, &options);
1476 status_t err = mVideoSource->read(&mVideoBuffer, &options);
/frameworks/native/libs/binder/
H A DParcel.cpp507 ALOGW("**** enforceInterface() expected '%s' but read '%s'\n",
649 // as readString8 will only read if the length field is non-zero.
871 status_t Parcel::read(void* outData, size_t len) const
876 ALOGV("read Setting data pos of %p to %d\n", this, mDataPos);
1084 err = read(h->data + numFds, sizeof(int)*numInts);
1114 ALOGV("readBlob: read in place");
1122 ALOGV("readBlob: read from ashmem");
1133 status_t Parcel::read(Flattenable& val) const function in class:android::Parcel
1220 ALOGW("Attempt to read object from Parcel %p at offset %d that is not in the object list",
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp110 // give us data in a call to MediaSource::read(), unlike its
354 status_t err = info->mSource->read(&info->mSample, &options);
362 ALOGW("read on track %d failed with error %d",
H A DOggExtractor.cpp53 virtual status_t read(
170 status_t OggSource::read( function in class:android::OggSource
384 ALOGV("failed to read %d bytes at offset 0x%016llx, got %ld bytes",
508 ALOGV("failed to read %d bytes at 0x%016llx, got %ld bytes",
518 // We've just read the entire packet.
593 ALOGV("read packet of size %d\n", packet->range_length());
604 ALOGV("read packet of size %d\n", packet->range_length());
615 ALOGV("read packet of size %d\n", packet->range_length());
/frameworks/base/cmds/installd/
H A Dinstalld.c161 r = read(s, buf + n, count - n);
164 ALOGE("read error: %s\n", strerror(errno));
573 ALOGE("failed to read size\n");
581 ALOGE("failed to read command\n");
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFileRotatorTest.java96 // first combine should have empty read, but still write data.
101 // second combine should replace contents; should read existing data,
199 // assert that we read original data, and that it's still intact after
223 // and make sure that we can read something from a legit file
407 public void read(InputStream in) throws IOException { method in class:FileRotatorTest.RecordingReader
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java153 while ((length = in.read(buffer)) != -1) {
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnector.java131 int count = inputStream.read(buffer, start, BUFFER_SIZE - start);
169 // We should end at the amount we read. If not, compact then
170 // buffer and read again.
505 // responses queue may well have more responses yet to be read or may get more
H A DWiredAccessoryManager.java301 int len = file.read(buffer, 0, 1024);
/frameworks/base/services/jni/
H A Dcom_android_server_BatteryService.cpp146 ssize_t count = read(fd, buf, size);
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java318 // read from the system property.
322 // read from the system property.
409 int count = is.read(buffer);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLayoutTestsAutoTest.java189 // read out the test name it stoped last time.
482 while ((len = in.read(buf)) >= 0 ) {
/frameworks/native/libs/utils/
H A DLooper.cpp80 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d",
96 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d",
254 ALOGW("Ignoring unexpected epoll events 0x%x on wake read pipe.", epollEvents);
385 nRead = read(mWakeReadPipeFd, buffer, sizeof(buffer));
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp494 err = mAudioSource->read(&mDecodeBuffer, &readOptions);
542 SL_LOGD("MediaSource::read encountered INFO_FORMAT_CHANGED");
551 SL_LOGD("MediaSource::read encountered INFO_DISCONTINUITY");
555 SL_LOGE("MediaSource::read returned error %d", err);
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c540 n = read((int)handle, dst, (size_t)length);
543 Trace("DRM_file_read handle=%d read %d bytes", handle, n);
548 Trace("DRM_file_read read EOF: handle=%d", handle);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java323 while ((ch = in.read()) != -1) {
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp127 virtual status_t read(
490 status_t MatroskaSource::read( function in class:android::MatroskaSource
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp611 // followed by a linear read for the second iteration (i == 1).
625 ALOGI("requesting linear read");
645 if (seekSource->read(&buffer, &options) != OK) {
664 err = codec->read(&buffer, &options);
685 // Linear read.
707 "OMXCodec::read.");
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp199 CHECK_EQ(mSource->read(&buffer), (status_t)OK);
269 status_t err = mSource->read(&mediaBuf);
280 ALOGV("read buffer of size %d", mediaBuf->range_length());
H A DMyTransmitter.h127 CHECK_EQ(mEncoder->read(&buffer), (status_t)OK);
630 CHECK_EQ(mEncoder->read(&mediaBuf), (status_t)OK);

Completed in 529 milliseconds

<<11121314151617