/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
H A D | UtilityTest.java | 25 import com.android.emailcommon.utility.Utility.NewFileCreator; 38 GregorianCalendar cal = Utility.parseDateTimeToCalendar(date); 64 long timeInMillis = Utility.parseEmailDateTimeToMillis(date); 109 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file"); 114 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file"); 119 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file.ext"); 124 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file.ext"); 135 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file%s"); 139 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file%s.ext"); 149 Utility [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
H A D | ImapSimpleString.java | 19 import com.android.emailcommon.utility.Utility; 47 return new ByteArrayInputStream(Utility.toAscii(mString));
|
H A D | ImapMemoryLiteral.java | 21 import com.android.emailcommon.utility.Utility; 59 return Utility.fromAscii(mData);
|
H A D | ImapTempFileLiteral.java | 22 import com.android.emailcommon.utility.Utility; 95 return Utility.fromAscii(bytes);
|
/packages/apps/Email/provider_src/com/android/email/ |
H A D | DebugUtils.java | 7 import com.android.emailcommon.utility.Utility; 45 Utility.enableStrictMode(enable);
|
H A D | AttachmentInfo.java | 23 import com.android.emailcommon.utility.Utility; 121 if (!Utility.isExternalStorageMounted()) { 136 Utility.arrayContains(AttachmentUtilities.UNACCEPTABLE_ATTACHMENT_EXTENSIONS, 153 Utility.arrayContains(AttachmentUtilities.INSTALLABLE_ATTACHMENT_EXTENSIONS,
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
H A D | ImapTestUtils.java | 26 import com.android.emailcommon.utility.Utility; 33 * Utility methods for IMAP tests. 89 new ByteArrayInputStream(Utility.toAscii(line + "\r\n")), new DiscourseLogger(4)); 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing"));
|
H A D | ImapStringTest.java | 22 import com.android.emailcommon.utility.Utility; 49 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); 65 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); 147 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream())));
|
H A D | ImapResponseParserTest.java | 28 import com.android.emailcommon.utility.Utility; 40 return new ImapResponseParser(new ByteArrayInputStream(Utility.toAscii(responses)),
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
H A D | ImapTempFileLiteral.java | 21 import com.android.voicemail.impl.mail.utils.Utility; 91 return Utility.fromAscii(bytes);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
H A D | Device.java | 23 import com.android.emailcommon.utility.Utility; 112 return Utility.getSmallHash(deviceId);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | EventViewer.java | 30 import com.android.emailcommon.utility.Utility; 69 time = Utility.parseEmailDateTimeToMillis(info.get(MeetingInfo.MEETING_DTSTART));
|
H A D | ContactStatusLoader.java | 33 import com.android.emailcommon.utility.Utility; 130 final byte[] photoData = Utility.getFirstRowBlob(context,
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | ImapTempFileLiteral.java | 25 import com.android.emailcommon.utility.Utility; 98 return Utility.fromAscii(bytes);
|
H A D | EmailServiceStub.java | 62 import com.android.emailcommon.utility.Utility; 146 if (Utility.attachmentExists(mContext, attachment) 164 long sourceId = Utility.getFirstRowLong(mContext, Body.CONTENT_URI, 473 if (Utility.hasUnloadedAttachments(context, messageId)) {
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
H A D | Utility.java | 22 public class Utility { class
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | LoggingInputStream.java | 92 mSb.append("\\x" + Utility.byteToHex(oneByte));
|
H A D | AttachmentUtilities.java | 410 } else if (Utility.isExternalStorageMounted()) { 421 File file = Utility.createUniqueFile(downloads, attachment.mFileName);
|
/packages/apps/Email/tests/src/com/android/email/service/ |
H A D | EmailBroadcastProcessorServiceTests.java | 29 import com.android.emailcommon.utility.Utility; 74 Integer flags = Utility.getFirstRowInt(mMockContext, uri,
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupOutgoingFragment.java | 49 import com.android.emailcommon.utility.Utility; 282 Utility.isServerNameValid(mServerView) && Utility.isPortFieldValid(mPortView);
|
H A D | MailboxSettings.java | 49 import com.android.emailcommon.utility.Utility; 340 final Long policyKey = Utility.getFirstRowLong(getContext(), 348 final int maxLookback = Utility.getFirstRowInt(getContext(),
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
H A D | ImapFolder.java | 45 import com.android.voicemail.impl.mail.utils.Utility; 167 return uids.toArray(Utility.EMPTY_STRINGS); 181 return Utility.EMPTY_STRINGS; // Not found 304 Utility.combine(fetchFields.toArray(new String[fetchFields.size()]), ' ')), 350 message.parse(Utility.streamFromAsciiString(header));
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
H A D | Mailbox.java | 39 import com.android.emailcommon.utility.Utility; 667 return Utility.getFirstRowLong(context, Mailbox.CONTENT_URI, 703 return Utility.getFirstRowInt(context, url, MAILBOX_TYPE_PROJECTION, 712 return Utility.getFirstRowString(context, url, MAILBOX_DISPLAY_NAME_PROJECTION, 921 return Utility.getFirstRowLong(context,
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
H A D | ImapStore.java | 47 import com.android.emailcommon.utility.Utility; 603 return Utility.fromAscii(b); 612 folder = MODIFIED_UTF_7_CHARSET.decode(ByteBuffer.wrap(Utility.toAscii(name))).toString();
|
H A D | ImapFolder.java | 51 import com.android.emailcommon.utility.Utility; 396 return uids.toArray(Utility.EMPTY_STRINGS); 427 return Utility.EMPTY_STRINGS; // Not found 499 return Utility.EMPTY_STRINGS; // not found; 681 Utility.combine(fetchFields.toArray(new String[fetchFields.size()]), ' ') 726 message.parse(Utility.streamFromAsciiString(header));
|