Searched defs:read (Results 1 - 25 of 129) sorted by last modified time

123456

/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp62 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
75 // the frame size read already contains the size of the ADTS header, so no need to add it here
258 status_t AacAdtsSource::read( function in class:android::AacAdtsSource
270 SL_LOGV("AacAdtsSource::read() offset=%lld", mOffset);
273 SL_LOGV("AacAdtsSource::read() returns EOS");
286 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize);
288 SL_LOGW("AacAdtsSource::read() readSize != frameSizeWithoutHeader");
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DDiskBasedCache.java326 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) {
330 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
385 * @param is The InputStream to read from.
456 public int read() throws IOException { method in class:DiskBasedCache.CountingInputStream
457 int result = super.read();
465 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:DiskBasedCache.CountingInputStream
466 int result = super.read(buffer, offset, count);
482 * Simple wrapper around {@link InputStream#read()} that throws EOFException
485 private static int read(InputStream is) throws IOException { method in class:DiskBasedCache
486 int b = is.read();
[all...]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DXmpDepthDecode.java56 XMPMeta meta = read(is, false);
133 static XMPMeta read(InputStream is, boolean skipExtendedContent) { method in class:XmpDepthDecode
204 if (is.read() != 0xff || is.read() != M_SOI) {
208 while ((c = is.read()) != -1) {
213 while ((c = is.read()) == 0xff) {
221 // that, so read all data at one time.
227 is.read(section.data, 0, section.data.length);
232 int lh = is.read();
233 int ll = is.read();
[all...]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java96 public void read(String fileName) { method in class:TriData
/frameworks/rs/java/tests/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/rs/
H A DrsAllocation.cpp222 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, function in class:Allocation
228 sprintf(buf, "Allocation::read called with mismatched size expected %zu, got %zu",
238 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, function in class:Allocation
256 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, function in class:Allocation
719 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
758 a->read(rsc, 0, 0, 0, 0, t->getDimX(), t->getDimY(), t->getDimZ(),
761 a->read(rsc, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
764 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes);
953 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
961 a->read(rs
[all...]
H A DrsFifoSocket.cpp76 size_t FifoSocket::read(void *data, size_t bytes) { function in class:FifoSocket
81 //ALOGE("read %p %i", data, bytes);
84 //ALOGE("read ret %i bytes %i", ret, bytes);
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java95 * <p>Other apps that are not selected as the default SMS app can only <em>read</em> the SMS
100 * read special incoming messages such as to perform phone number verification.</p>
102 * <p>For more information about building SMS apps, read the blog post, <a
174 * Has the message been read?
177 public static final String READ = "read";
266 * This column is read-only. It is set by the provider and can not be changed by apps.
334 * @param read true if the message has been read, false if not
341 Long date, boolean read, boolean deliveryReport) {
343 resolver, uri, address, body, subject, date, read, deliveryRepor
339 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
361 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
383 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
407 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
523 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
543 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java140 * Whether MMS read report is enabled (boolean type)
1080 /** Received and read (TS 51.011 10.5.3 / 3GPP2 C.S0023 3.4.27). */
1113 * @param contentUri the content Uri from which the message pdu will be read
1198 * @param read if the message is read
1203 boolean seen, boolean read) {
1208 address, type, text, timestampMillis, seen, read);
1227 * @param contentUri the content uri from which to read the PDU of the message to import
1231 * @param read if the message is read
1202 importTextMessage(String address, int type, String text, long timestampMillis, boolean seen, boolean read) argument
1236 importMultimediaMessage(Uri contentUri, String messageId, long timestampSecs, boolean seen, boolean read) argument
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp257 ALOGE("Could not read interface %s flags: %d\n", ifname, errno);
2491 int read = klogctl(/* SYSLOG_ACTION_READ_ALL */ 3, buf, size); local
2492 if (read < 0) {
2493 ALOGD("can't read logs - %d", read);
2497 ALOGV("read %d bytes", read);
2500 if (read != size) {
2501 ALOGV("read %d bytes, expecting %d", read, siz
[all...]
/frameworks/native/include/binder/
H A DParcel.h220 status_t read(void* outData, size_t len) const;
298 status_t read(Flattenable<T>& val) const;
301 status_t read(LightFlattenable<T>& val) const;
306 // response headers. Callers should use this to read & parse the
483 status_t read(FlattenableHelperInterface& val) const;
535 status_t Parcel::read(Flattenable<T>& val) const { function in class:android::Parcel
537 return read(helper);
541 status_t Parcel::read(LightFlattenable<T>& val) const { function in class:android::Parcel
/frameworks/native/libs/binder/
H A DParcel.cpp651 ALOGW("**** enforceInterface() expected '%s' but read '%s'",
1059 // as readString8 will only read if the length field is non-zero.
1366 status_t Parcel::read(void* outData, size_t len) const
1378 ALOGV("read Setting data pos of %p to %zu", this, mDataPos);
1975 err = read(h->data + numFds, sizeof(int)*numInts);
2029 ALOGV("readBlob: read in place");
2037 ALOGV("readBlob: read from ashmem");
2050 status_t Parcel::read(FlattenableHelperInterface& val) const function in class:android::Parcel
2071 ALOGE("read: failed to allocate requested %zu fds", fd_count);
2081 ALOGE("dup() failed in Parcel::read,
[all...]
/frameworks/native/libs/gui/
H A DLayerState.cpp49 status_t layer_state_t::read(const Parcel& input) function in class:android::layer_state_t
68 input.read(crop);
69 input.read(finalCrop);
73 input.read(transparentRegion);
82 status_t ComposerState::read(const Parcel& input) { function in class:android::ComposerState
84 return state.read(input);
111 status_t DisplayState::read(const Parcel& input) { function in class:android::DisplayState
117 input.read(viewport);
118 input.read(frame);
H A DSensorEventQueue.cpp68 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { function in class:android::SensorEventQueue
/frameworks/native/opengl/libagl/
H A Degl.cpp128 EGLSurface read; member in struct:android::egl_context_t
1698 c->read = 0;
1715 EGLSurface read, EGLContext ctx)
1727 if (read && read!=draw) {
1728 egl_surface_t* s = (egl_surface_t*)read;
1733 // TODO: check that read is compatible with the context
1738 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT))
1741 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT))
1750 egl_surface_t* r = (egl_surface_t*)read;
1714 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp712 EGLSurface read, EGLContext ctx)
719 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
722 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
730 SurfaceRef _r(dp.get(), read);
756 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) {
774 // retrieve the underlying implementation's read EGLSurface
775 if (read != EGL_NO_SURFACE) {
777 r = get_surface(read);
783 draw, read, ctx,
846 case EGL_READ: return c->read;
711 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
[all...]
H A Degl_display.cpp309 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
327 EGLSurface draw, EGLSurface read, EGLContext /*ctx*/,
335 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
344 c->onMakeCurrent(draw, read);
326 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext , EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
H A Degl_object.cpp107 config(config), read(0), draw(0), cnx(cnx), version(version) {
111 read = NULL;
115 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { argument
116 this->read = read;
H A Degl_object.h157 void onMakeCurrent(EGLSurface draw, EGLSurface read);
162 EGLSurface read; member in class:android::egl_context_t
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java985 * Sets read status of message on MSE
991 * @param read <code>true</code> for "read", <code>false</code> for "unread"
995 public boolean setMessageReadStatus(String handle, boolean read) { argument
1008 StatusIndicator.READ, read);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/ex/framesequence/jni/
H A DStream.cpp28 jmethodID read; member in struct:__anon1266
51 size_t read = doRead(mPeekBuffer + mPeekOffset, size - peek_remaining); local
53 mPeekSize = peek_remaining + read;
60 size_t Stream::read(void* buffer, size_t size) { function in class:Stream
129 gInputStreamClassInfo.read, mByteArray, 0, requested);
150 gInputStreamClassInfo.read = env->GetMethodID(inputStreamClazz, "read", "([BII)I");
152 if (!gInputStreamClassInfo.read || !gInputStreamClassInfo.reset) {
/frameworks/compile/libbcc/lib/Support/
H A DInputFile.cpp26 ssize_t InputFile::read(void *pBuf, size_t count) { function in class:InputFile
33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf);
38 ssize_t read_size = ::read(mFD, pBuf, count);
43 // If the errno is EAGAIN or EINTR, then we try to read again.
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) { function in class:mcld::EhFrameReader
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp159 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) { function in class:mcld::FileHandle

Completed in 703 milliseconds

123456