Searched refs:read (Results 251 - 275 of 456) sorted by relevance

<<111213141516171819

/frameworks/base/media/java/android/media/
H A DAudioRecord.java37 * the following three methods: {@link #read(byte[],int, int)}, {@link #read(short[], int, int)}
38 * or {@link #read(ByteBuffer, int)}. The choice of which method to use will be based
43 * been read yet. Data should be read from the audio hardware in chunks of sizes inferior to
217 * to during the recording. New audio data can be read from this buffer in smaller chunks
250 * to during the recording. New audio data can be read from this buffer in smaller chunks
685 * @return the number of bytes that were read or or {@link #ERROR_INVALID_OPERATION}
690 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { method in class:AudioRecord
710 * @return the number of shorts that were read o
715 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { method in class:AudioRecord
742 public int read(ByteBuffer audioBuffer, int sizeInBytes) { method in class:AudioRecord
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java264 EGLSurface read, EGLContext context) {
268 arg("read", read);
271 boolean result = mEgl10.eglMakeCurrent(display, draw, read, context);
263 eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context) argument
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java136 UsageStatsXml.read(files.valueAt(i), stats);
288 UsageStatsXml.read(f, stats);
291 Slog.e(TAG, "Failed to read usage stats file", e);
391 UsageStatsXml.read(f, stats);
398 Slog.e(TAG, "Failed to read usage stats file", e);
/frameworks/native/opengl/libagl/
H A Degl.cpp128 EGLSurface read; member in struct:android::egl_context_t
1670 c->read = 0;
1687 EGLSurface read, EGLContext ctx)
1699 if (read && read!=draw) {
1700 egl_surface_t* s = (egl_surface_t*)read;
1705 // TODO: check that read is compatible with the context
1710 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT))
1713 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT))
1722 egl_surface_t* r = (egl_surface_t*)read;
1686 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp172 // read the number of CPUs
178 ssize_t actual = read(fd, kernelMax, sizeof(kernelMax));
192 ALOGW("Can't read number of CPUs");
247 ALOGW("Can't read CPU %d frequency", cpuNum);
/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, function in class:android::AudioBufferProviderSource
H A DNBAIO.cpp120 ssize_t ret = read(buffer, count, readPTS);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp96 return 0; // read beyond EOF.
114 return ::read(mFd, data, size);
H A DJPEGSource.cpp110 status_t JPEGSource::read( function in class:android::JPEGSource
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp196 status_t err = decoder->read(&buffer);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp142 status_t err = mSource->read(&mbuf);
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java121 + "usage: adb shell content read --uri <URI> [--user <USER_ID>]\n"
124 + " adb shell 'content read --uri content://settings/system/ringtone >"
134 private static final String ARGUMENT_READ = "read";
510 int read;
512 while ((read = is.read(buffer)) > -1) {
513 os.write(buffer, 0, read);
/frameworks/base/cmds/idmap/
H A Dcreate.cpp92 ssize_t r = TEMP_FAILURE_RETRY(read(idmap_fd, buf + N - bytesLeft, bytesLeft));
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java105 while ((current = bis.read()) != -1) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaTestUtil.java96 while ((ch = in.read()) != -1) {
/frameworks/base/native/android/
H A Dasset_manager.cpp173 return asset->mAsset->read(buf, (size_t)count);
H A Dsensor.cpp139 ssize_t actual = static_cast<SensorEventQueue*>(queue)->read(events, count);
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java113 boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context); argument
/frameworks/base/services/core/java/com/android/server/lights/
H A DLightsService.java137 int result = fis.read();
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java130 Log.d(TAG, "calling read");
132 ret = mSerialPort.read(mInputBuffer);
133 Log.d(TAG, "read returned " + ret);
136 Log.e(TAG, "read failed", e);
/frameworks/base/tools/aapt/
H A DZipEntry.cpp47 /* read the CDE */
48 result = mCDE.read(fp);
50 ALOGD("mCDE.read failed\n");
64 result = mLFH.read(fp);
66 ALOGD("mLFH.read failed\n");
76 * We *might* need to read the Data Descriptor at this point and
402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader
536 status_t ZipEntry::CentralDirEntry::read(FILE* fp) function in class:ZipEntry::CentralDirEntry
590 /* read "extra field" */
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp164 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) function in class:FileHandle
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp287 reply.read(*outStats);
322 if (s.read(data) == BAD_VALUE) {
335 if (d.read(data) == BAD_VALUE) {
355 data.read(sourceCrop);
H A DISurfaceComposerClient.cpp92 reply.read(*outStats);

Completed in 549 milliseconds

<<111213141516171819