Searched refs:read (Results 126 - 150 of 233) sorted by relevance

12345678910

/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DPop3Store.java432 * Caller can read back message-number from this field
436 * Caller can read back unique-id from this field
575 LogUtils.w(Logging.LOG_TAG, "Can't read message " + messageId);
814 public int read() throws IOException { method in class:Pop3Store.Pop3ResponseInputStream
818 int d = mIn.read();
820 d = mIn.read();
823 mIn.read();
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
H A DImageCaptureIntentTest.java95 stream.read(jpegData);
/packages/apps/Messaging/src/android/support/v7/mms/
H A DSendRequest.java94 * @param contentUri content provider uri from which to read
95 * @param maxSize maximum number of bytes to read
112 final int bytesRead = inStream.read(readBuf, 0, maxSize+1);
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushProtocol.java75 Log.w(TAG, "Unable to read version");
76 throw new FormatException("Unable to read version");
88 Log.w(TAG, "Unable to read numMessages");
104 Log.w(TAG, "Unable to read action for message " + i);
112 Log.w(TAG, "Unable to read length for message " + i);
119 lengthRead = input.read(bytes);
121 Log.w(TAG, "Unable to read bytes for message " + i);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DJavaNetHttpHelper.java163 while ((bytes = reader.read(chars)) != -1) {
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
H A DAnalyticsUtils.java75 } else if (id == R.id.read) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSendersView.java165 conv.read ? sMessageInfoReadStyleSpan : sMessageInfoUnreadStyleSpan),
166 false, conv.read);
180 conv.read);
202 appendMessageInfo(messageInfo, statusText, span, appendSplitToken, conv.read);
416 // if all messages in the thread were read, we must search for an appropriate avatar
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DMessage.java163 public boolean read; field in class:Message
255 this.read == o.read &&
400 read = cursor.getInt(UIProvider.MESSAGE_READ_COLUMN) != 0;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DTwoPaneController.java71 * conversation marked-as-read as far as read/unread state goes.<br>
423 Utils.setMenuItemPresent(menu, R.id.read, !mCurrentConversation.read);
425 mCurrentConversation.read);
427 // in normal conv mode, always hide the extra 'mark-read' item
428 Utils.setMenuItemPresent(menu, R.id.read, false);
666 // conversation should be marked read when visible
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
H A DDataExporter.java53 * URI to the file, which can be read via {@link DumpFileProvider}.
180 int len = is.read(buf);
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksProvider.java153 // Failure to read/insert bookmarks should be treated as "no bookmarks"
192 // Failure to read/insert bookmarks should be treated as "no bookmarks"
287 Log.i(TAG, "Failed to read favicon for " + bookmarkTitle, e);
296 Log.i(TAG, "Failed to read touchicon for " + bookmarkTitle, e);
331 int read;
332 while ((read = is.read(buf)) > 0) {
333 bos.write(buf, 0, read);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessage.java240 * have just been read.
340 * If we read such a folded line, the folded part will be skipped in the parser
346 while ((readByte = mInStream.read()) != -1) {
348 if ((readByte = mInStream.read()) != -1 && readByte == '\n') {
403 * matches the line read.
438 * @param length the number of bytes to read
440 * reached before length bytes have been read.
447 while ((bytesRead = mInStream.read(data, offset, length-offset))
507 while ((len = bMsgStream.read(buffer)) > 0) {
540 /* Open the file and overwrite bMsgStream to read fro
801 setStatus(boolean read) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DMessageData.java280 final boolean seen, final boolean read) {
293 message.mRead = read;
314 final boolean seen, final boolean read, final long sent,
323 message.mRead = read;
337 final int smsPriority, final String subject, final boolean seen, final boolean read,
349 message.mRead = read;
277 createReceivedSmsMessage(final Uri uri, final String conversationId, final String participantId, final String selfId, final String messageText, final String subject, final long sent, final long recieved, final boolean seen, final boolean read) argument
312 createSmsMessage(final String messageUri, final String participantId, final String selfId, final String conversationId, final int bugleStatus, final boolean seen, final boolean read, final long sent, final long recieved, final String messageText) argument
334 createMmsMessage(final String messageUri, final String participantId, final String selfId, final String conversationId, final boolean isNotification, final int bugleStatus, final String contentLocation, final String transactionId, final int smsPriority, final String subject, final boolean seen, final boolean read, final long size, final int rawStatus, final long expiry, final long sent, final long received) argument
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java154 // Default starred, read, (backword compatibility)
162 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) {
168 message.mFlagRead = read;
169 message.mFlagSeen = read;
161 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionaryFileDumper.java415 * @throw IOException if the provider-returned data could not be read.
470 final int readMagicNumberSize = input.read(magicNumberBuffer, 0, length);
472 throw new IOException("Less bytes to read than the magic number length");
485 for (int readBytes = input.read(buffer); readBytes >= 0; readBytes = input.read(buffer)) {
538 Log.w(TAG, "Failed to read metadata.json from resources", e);
/packages/apps/Camera/tests/src/com/android/camera/activity/
H A DCameraTestCase.java158 while((size = ins.read(buffer, 0, 1024)) >= 0){
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
H A DCameraTestCase.java158 while((size = ins.read(buffer, 0, 1024)) >= 0){
/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactPhotoUtils.java57 * cropper/etc.), and read by us once they are finished writing it.
165 while ((length = inputStream.read(buffer)) > 0) {
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
H A DVoicemailPlaybackTest.java202 while ((bytesRead = in.read(buffer)) > 0) {
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
H A DImapResponseParser.java129 int next = mIn.read();
194 // However, we don't want to read too much, because then it may get into an email message.
222 * The {@code end} will be read (rather than peeked) and won't be included in the result.
/packages/apps/Email/provider_src/com/android/email/mail/transport/
H A DMailTransport.java234 * @return the read timeout value in milliseconds
243 * @param timeoutMilliseconds the read timeout value if greater than {@code 0}, or
314 while ((d = in.read()) != -1) {
324 LogUtils.d(Logging.LOG_TAG, "End of stream reached while trying to read line.");
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DMockTransport.java250 * Logs the read text if DEBUG_LOG_STREAMS is true.
257 // if there's nothing to read, see if we can find a null-pattern
341 public int read() throws IOException { method in class:MockTransport.MockInputStream
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DSerializer.java194 * sizes or if is unable to read sufficient bytes from input stream.
203 final int bytesRead = is.read(buffer, 0, Math.min(BUFFER_SIZE, length));
205 throw new IOException("Invalid opaque data block; read "
/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpeg_hook.cpp91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0);
101 LOGW("read 0 bytes from InputStream.");
H A Djpeg_reader.cpp117 int32_t JpegReader::read(int8_t* bytes, int32_t offset, int32_t count) { function in class:JpegReader
134 // read partial scanline and return
144 // read full scanline
154 // Scanline buffer exhausted, read next scanline
156 // Always read full scanline, no IO suspension

Completed in 538 milliseconds

12345678910