Searched refs:read (Results 201 - 225 of 251) sorted by relevance

1234567891011

/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
H A DSampleChunkIoHelper.java86 * Called when there is no sample to read.
210 * Starts read from the specified position.
216 // Old mReadSampleBuffers may have a pending read.
223 * Closes read from the specified track.
374 SampleHolder sample = mReadIoStates[index].read();
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DEmlAttachmentProvider.java336 final int len = inputStream.read(data);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java127 if ((i = inputStream.read(buffer, maxNextCharInd,
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java127 if ((i = inputStream.read(buffer, maxNextCharInd,
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java127 if ((i = inputStream.read(buffer, maxNextCharInd,
/packages/services/Car/tools/hidl_parser/
H A Dparser.py451 return parser.parse(open(filename, 'r').read())
/packages/apps/TV/libs/
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DMailboxTests.java80 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, argument
83 "1", b.mAccountKey, b.mId, true, false, c, starred, read);
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DDatabaseMessages.java660 int len = is.read(buffer);
663 len = is.read(buffer);
H A DMmsUtils.java481 // MediaModel.initMediaSize. Sometimes it'll compute zero and it's costly to read the
849 * @param read true if the message has been read, false if not
855 final String subject, final Long date, final boolean read, final boolean seen,
863 values.put(Telephony.Sms.READ, read ? 1 : 0);
889 text, null /* subject */, timestamp, true /* read */,
941 // Update mms table to reflect sent messages are always seen and read
1387 * Update the read status of SMS/MMS messages by thread and timestamp
1395 values.put("read", 1);
1396 values.put("seen", 1); /* If you read i
853 addMessageToUri(final ContentResolver resolver, final Uri uri, final int subId, final String address, final String body, final String subject, final Long date, final boolean read, final boolean seen, final int status, final int type, final long threadId) argument
1431 updateReadStatusForMmsMessage(final Uri mmsUri, final boolean read) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java75 // Used to prevent trying to read the id of the downloaded file before it is written
544 // Can't read the file... disk damage?
545 Log.e(TAG, "Can't read a file", e);
582 * @param context the context to read settings.
587 * @throws IOException if the downloaded file can't be read from the disk
616 * @throws IOException if files can't be read or written.
703 * Copies in to out with read/write methods, not FileChannels.
707 * @throws IOException if a read or a write fails.
713 for (int readBytes = in.read(buffer); readBytes >= 0; readBytes = in.read(buffe
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DVoicemailProviderTest.java121 // Test to ensure that media content can be written and read back.
131 int numBytesRead = in.read(inBuffer);
135 assertEquals(-1, in.read(inBuffer));
315 // With the READ_ALL_VOICEMAIL permission, we should now be able to read all voicemails
362 // Now add the read voicemail permission temporarily to verify that the update actually
370 // Now add the read voicemail permission temporarily to verify that the voicemail is
402 * Checks that the READ_ALL_VOICEMAIL permission provides read access to a uri.
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
H A DUsbDeviceHandlerResolver.java172 public static DeviceFilter read(XmlPullParser parser, boolean aoapData) method in class:UsbDeviceHandlerResolver.DeviceFilter
672 DeviceFilter filter = DeviceFilter.read(parser, forAoap);
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java744 d = new ExifReader(this).read(inStream);
2024 int ret = is.read(buf, 0, 1024);
2027 ret = is.read(buf, 0, 1024);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java741 d = new ExifReader(this).read(inStream);
2045 int ret = is.read(buf, 0, 1024);
2048 ret = is.read(buf, 0, 1024);
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduPersister.java467 int len = is.read(buffer);
470 len = is.read(buffer);
941 for (int len = 0; (len = is.read(buffer)) != -1; ) {
977 Log.e(TAG, "Failed to read/write data.", e);
997 // Reset the permissions on the encrypted part file so everyone has only read
H A DPduComposer.java83 * Block size when read data from InputStream.
1060 while ((len = cr.read(buffer)) != -1) {
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java741 d = new ExifReader(this).read(inStream);
2086 int ret = is.read(buf, 0, 1024);
2089 ret = is.read(buf, 0, 1024);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java462 readLength = is.read(b);
H A DTestActivity.java512 while (is.available() > 0 && (len = is.read(b)) > 0) {
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java169 Context c, Mailbox b, boolean starred, boolean read, int flagLoaded) {
177 read);
218 // Confirm hostauth fields can be accessed & read back correctly
425 // Note that it will read back w/o the text & html so we must extract
683 * - check correct updated body is read back
687 * - check correct updated body is read back
1781 // Mark message 3 (from box A) read, leaving 0 in box A
1789 // Move message 3 to box C; should be no change (it's read)
1986 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read) { argument
1994 read);
168 createMessage( Context c, Mailbox b, boolean starred, boolean read, int flagLoaded) argument
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcStatsData.java348 mStats.read(is);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAbstractConversationViewFragment.java101 /** True if we want to avoid marking the conversation as viewed and read. */
162 // Do not automatically mark this conversation viewed and read.
168 * and should be marked read, or 'read' (force=true), as in when the action bar menu item to
169 * mark this conversation read is selected.
171 * @param force true to force marking it read, false to allow peek mode to prevent it
179 // mark viewed/read if not previously marked viewed by this conversation view,
182 // but we do want future re-renders to mark read (e.g. "New message from X" case)
189 // Mark the conversation read no matter what if force=true.
194 .markConversationsRead(Arrays.asList(mConversation), true /* read */,
[all...]
H A DNestedFolderTeaserView.java594 if (!conversation.read) {
/packages/experimental/PrintService/src/foo/bar/printservice/
H A DMyPrintService.java274 final int readByteCount = in.read(buffer);

Completed in 1084 milliseconds

1234567891011