Searched refs:read (Results 176 - 200 of 456) sorted by relevance

1234567891011>>

/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp58 bool MtpObjectInfo::read(MtpDataPacket& packet) { function in class:android::MtpObjectInfo
H A DMtpProperty.h86 bool read(MtpDataPacket& packet);
/frameworks/base/core/java/com/android/internal/util/
H A DFileRotator.java69 public void read(InputStream in) throws IOException; method in interface:FileRotator.Reader
197 public void read(InputStream in) throws IOException {
198 reader.read(in);
241 // read existing data
291 // read file when it overlaps
372 reader.read(bis);
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp43 while ((nBytes = read(stackFd, buf, sizeof(buf))) > 0) {
H A Dandroid_backup_BackupHelperDispatcher.cpp53 amt = read(fd, &flattenedHeader.headerSize, sizeof(flattenedHeader.headerSize));
69 amt = read(fd, &flattenedHeader.version,
108 amt = read(fd, buf, flattenedHeader.nameLength);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java71 while ((bytesRead = mInputStream.read(buffer)) > 0) {
78 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java56 int result = in.read(retval.block, total, BLOCK_SIZE - total);
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java74 int num = is.read(buf, 0, 4);
76 Log.e(TAG, "Wanted 4 bytes but read " + num);
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h91 bool read(void* pMemBuffer, size_t pStartOffset, size_t pLength);
/frameworks/native/libs/gui/
H A DIConsumerListener.cpp74 data.read(item);
H A DIGraphicBufferAlloc.cpp58 result = reply.read(*graphicBuffer);
60 // here we don't even have to read the BufferReference from
H A DISensorServer.cpp58 reply.read(s);
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp323 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
341 EGLSurface draw, EGLSurface read, EGLContext /*ctx*/,
349 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL);
358 c->onMakeCurrent(draw, read);
340 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
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp36 while ((n = q->read(buffer, 8)) > 0) {
/frameworks/rs/
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);
H A DrsAllocation.h122 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
123 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
125 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptC.java91 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java93 while ((count = in.read(buffer)) != -1) {
/frameworks/wilhelm/src/android/include/
H A DAacAdtsExtractor.h51 virtual status_t read(
/frameworks/av/media/libstagefright/
H A DDRMExtractor.cpp46 virtual status_t read(
126 status_t DRMSource::read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::DRMSource
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp49 virtual status_t read(
84 status_t MPEG2TSSource::read( function in class:android::MPEG2TSSource
106 return mImpl->read(out, options);
/frameworks/base/core/java/android/os/
H A DMemoryFile.java33 * After a file is purged, attempts to read or write the file will
97 * After this method has been called, read and write operations through this object
191 * @param buffer byte array to read bytes into.
192 * @param srcOffset offset into the memory file to read from.
193 * @param destOffset offset into the byte array buffer to read into.
194 * @param count number of bytes to read.
195 * @return number of bytes read.
201 throw new IOException("Can't read from deactivated memory file.");
291 public int read() throws IOException { method in class:MemoryFile.MemoryInputStream
295 int result = read(mSingleByt
303 public int read(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryInputStream
[all...]
H A DFileUtils.java190 while ((bytesRead = inputStream.read(buffer)) >= 0) {
220 * @param file to read (will not seek, so things like /proc files are OK)
229 // input stream, bytes read not equal to buffer size is not necessarily the correct
234 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes
237 int length = bis.read(data);
251 len = bis.read(data);
263 } else { // "cat" mode: size unknown, read it all in streaming fashion
268 len = bis.read(data);
309 while(cis.read(buf) >= 0) {
310 // Just read fo
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java69 // verify that history read correctly
82 // and read back into structure, verifying that totals are same
83 collection.read(new ByteArrayInputStream(bos.toByteArray()));
95 // verify that history read correctly
108 // and read back into structure, verifying that totals are same
109 collection.read(new ByteArrayInputStream(bos.toByteArray()));
121 // verify that history read correctly
134 // and read back into structure, verifying that totals are same
135 collection.read(new ByteArrayInputStream(bos.toByteArray()));
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java94 * <p>Other apps that are not selected as the default SMS app can only <em>read</em> the SMS
99 * read special incoming messages such as to perform phone number verification.</p>
101 * <p>For more information about building SMS apps, read the blog post, <a
173 * Has the message been read?
176 public static final String READ = "read";
265 * This column is read-only. It is set by the provider and can not be changed by apps.
333 * @param read true if the message has been read, false if not
340 Long date, boolean read, boolean deliveryReport) {
342 resolver, uri, address, body, subject, date, read, deliveryRepor
338 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
360 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
382 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
406 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
522 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
542 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
[all...]

Completed in 553 milliseconds

1234567891011>>