Searched refs:read (Results 451 - 475 of 642) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp195 read(gRandom, &mSequence, sizeof(mSequence));
196 read(gRandom, &mTimestamp, sizeof(mTimestamp));
197 read(gRandom, &mSsrc, sizeof(mSsrc));
870 record->read(&one, sizeof(one));
913 ALOGE("cannot read from AudioRecord");
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStoreLegacy.java51 * 2. Load all the store data using {@link #read()}
214 Log.w(TAG, "Failed to read/parse Passpoint config file: " + e.getMessage());
275 public WifiConfigStoreDataLegacy read() { method in class:WifiConfigStoreLegacy
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsRttTextHandlerTest.java129 // Register a read notifier
144 // Register a read notifier
237 int len = inputStreamReader.read(buffer, 0, READ_BUFFER_SIZE);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java40 * Will only read raw 16 bit dicom slices (the most common type)
141 public TagSet read(File file, int[] tags) throws Exception { method in class:LoaderDicom
314 TagSet data = d.read(file, tags);
409 TagSet data = d.read(file, tags);
549 TagSet data = d.read(file, tags);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMusicPlayerFragment.java239 * Helper function to read the content from a given {@link InputStream} and return it as a
242 * @param inputStream The {@link InputStream} which should be read.
243 * @return Returns <code>null</code> if the the {@link InputStream} could not be read. Else
249 inputStream.read(bytes, 0, bytes.length);
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
H A DJournalDbPostMigrationTest.java163 while ((length = fis.read(buffer)) > 0) {
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DClearAllTablesTest.java241 assertThat(stream.read(content), is(content.length));
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMusicPlayerFragment.java239 * Helper function to read the content from a given {@link InputStream} and return it as a
242 * @param inputStream The {@link InputStream} which should be read.
243 * @return Returns <code>null</code> if the the {@link InputStream} could not be read. Else
249 inputStream.read(bytes, 0, bytes.length);
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp63 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
76 // the frame size read already contains the size of the ADTS header, so no need to add it here
233 status_t AacAdtsSource::read( function in class:android::AacAdtsSource
245 SL_LOGV("AacAdtsSource::read() offset=%lld", mOffset);
248 SL_LOGV("AacAdtsSource::read() returns EOS");
261 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize);
263 SL_LOGW("AacAdtsSource::read() readSize != frameSizeWithoutHeader");
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java140 assertEquals("TEST", new String(buf, 0, e.getInputStream().read(buf)));
199 assertEquals("FILE1", new String(buf1, 0, e1.getInputStream().read(buf1)));
203 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2)));
207 assertEquals("DATA3", new String(buf3, 0, e3.getInputStream().read(buf3)));
1013 while (is.read() != -1) length++;
/frameworks/av/media/extractors/flac/
H A DFLACExtractor.cpp51 virtual status_t read(
760 status_t FLACSource::read( function in class:android::FLACSource
779 // otherwise read sequentially
843 // no need to read rest of the header, as a premature EOF will be caught later
/frameworks/av/media/extractors/mp3/
H A DMP3Extractor.cpp63 // If we can't even read these 10 bytes, we might as well bail
120 * The next read position should start from the end of
224 virtual status_t read(
499 status_t MP3Source::read( function in class:android::MP3Source
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp107 printf("ERROR in read = %d = %s\n", framesRead,
423 int read = loopbackData.loopbackProcessor->load(FILENAME_ECHOS); local
424 printf("main() read %d mono samples from %s on Android device\n", read, FILENAME_ECHOS);
614 printf(" written - read = %8d\n", (int) (framesWritten - framesRead));
/frameworks/av/media/libeffects/dynamicsproc/dsp/
H A DDPFrequency.cpp421 *pOut++ = mChannelBuffers[ch].cBOutput.read();
447 //read new available data
449 pCb->input[mOverlapSize + k] = pCb->cBInput.read();
/frameworks/base/services/backup/java/com/android/server/backup/restore/
H A DFullRestoreEngine.java229 // We've read only the manifest content itself at this point,
241 // This is read during TarBackupReader.readMetadata().
471 int nRead = instream.read(buffer, 0, toRead);
534 long nRead = instream.read(buffer, 0, toRead);
548 Slog.w(TAG, "io exception on restore socket read: " + e.getMessage());
644 * <p>The list is read from {@link Settings.Secure.PACKAGES_TO_CLEAR_DATA_BEFORE_FULL_RESTORE}.
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkDiagnostics.java486 Os.read(mFileDescriptor, reply);
576 Os.read(mFileDescriptor, reply);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DPackageDexUsageTests.java485 packageDexUsage.read(new StringReader(content));
490 // After the read we must sync the data to fill the missing information on the code paths.
602 newPackageDexUsage.read(new StringReader(writer.toString()));
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
H A DHeifWriterTest.java251 while ((c = in.read(buffer)) != -1) {
497 inputStream.read(data);
/frameworks/wilhelm/tests/examples/
H A DslesTestFeedback.cpp182 ssize_t actual = fifoReader->read(buffer, bufSizeInFrames);
561 ssize_t actual = fifo2Reader->read(buffer, bufSizeInFrames);
/frameworks/av/cmds/stagefright/
H A Dstream.cpp119 ssize_t n = read(mFd, mem->pointer(), mem->size());
/frameworks/av/drm/libmediadrm/
H A DIDrm.cpp512 ALOGE("Failed to read getMetrics response code from parcel. %d",
519 ALOGE("Failed to read metrics from parcel. %d", status);
675 reply.read(vector.editArray(), size);
695 if (data.read(vector.editArray(), size) != NO_ERROR) {
720 data.read(uuid, sizeof(uuid));
730 data.read(uuid, sizeof(uuid));
/frameworks/av/include/media/
H A DAudioRecord.h50 EVENT_MORE_DATA = 0, // Request to read available data from buffer.
52 // does not want to read the available data, the handler must
74 // frames to be read
80 // bytes to be read, which is frameCount * frameSize
102 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
135 TRANSFER_SYNC, // synchronous read()
503 /* As a convenience we provide a read() interface to the audio buffer.
506 * performance use callbacks. Returns actual number of bytes read >= 0,
511 * AudioRecord was stopped during the read
514 * false for the method to return immediately without waiting to try multiple times to read
[all...]
/frameworks/av/include/media/stagefright/
H A DCameraSource.h99 virtual status_t read(
/frameworks/av/media/libaaudio/src/core/
H A DAudioStream.h317 // A Stream will only implement read() or write() depending on its direction.
324 virtual aaudio_result_t read(void *buffer __unused, function in class:aaudio::AudioStream
597 // These are set by the application thread and then read by the audio pthread.
/frameworks/av/media/libaudioclient/include/media/
H A DAudioRecord.h50 EVENT_MORE_DATA = 0, // Request to read available data from buffer.
52 // does not want to read the available data, the handler must
74 // frames to be read
80 // bytes to be read, which is frameCount * frameSize
102 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
135 TRANSFER_SYNC, // synchronous read()
503 /* As a convenience we provide a read() interface to the audio buffer.
506 * performance use callbacks. Returns actual number of bytes read >= 0,
511 * AudioRecord was stopped during the read
514 * false for the method to return immediately without waiting to try multiple times to read
[all...]

Completed in 595 milliseconds

<<11121314151617181920>>