/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityTest.java | 25 import com.android.emailcommon.utility.Utility.NewFileCreator; 38 GregorianCalendar cal = Utility.parseDateTimeToCalendar(date); in testParseDateTimesHelper() 64 long timeInMillis = Utility.parseEmailDateTimeToMillis(date); in testParseEmailDateTimeHelper() 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.createUniqueFileInternal(getTrueFileCreator(), directory, "file"); [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapStringTest.java | 22 import com.android.emailcommon.utility.Utility; 49 assertEquals("", Utility.fromAscii(IOUtils.toByteArray(ImapString.EMPTY.getAsStream()))); in testEmpty() 65 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics() 147 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in doLiteralTest()
|
D | ImapTestUtils.java | 26 import com.android.emailcommon.utility.Utility; 89 new ByteArrayInputStream(Utility.toAscii(line + "\r\n")), new DiscourseLogger(4)); in parseResponse() 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); in createFixedLengthInputStream()
|
D | ImapResponseParserTest.java | 28 import com.android.emailcommon.utility.Utility; 40 return new ImapResponseParser(new ByteArrayInputStream(Utility.toAscii(responses)), in generateParser()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | AttachmentInfo.java | 23 import com.android.emailcommon.utility.Utility; 121 if (!Utility.isExternalStorageMounted()) { in AttachmentInfo() 136 Utility.arrayContains(AttachmentUtilities.UNACCEPTABLE_ATTACHMENT_EXTENSIONS, in AttachmentInfo() 153 Utility.arrayContains(AttachmentUtilities.INSTALLABLE_ATTACHMENT_EXTENSIONS, in AttachmentInfo()
|
D | DebugUtils.java | 7 import com.android.emailcommon.utility.Utility; 45 Utility.enableStrictMode(enable); in enableStrictMode()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
D | ImapSimpleString.java | 19 import com.android.emailcommon.utility.Utility; 47 return new ByteArrayInputStream(Utility.toAscii(mString)); in getAsStream()
|
D | ImapMemoryLiteral.java | 21 import com.android.emailcommon.utility.Utility; 59 return Utility.fromAscii(mData); in getString()
|
D | ImapTempFileLiteral.java | 22 import com.android.emailcommon.utility.Utility; 95 return Utility.fromAscii(bytes); in getString()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
D | Device.java | 23 import com.android.emailcommon.utility.Utility; 112 return Utility.getSmallHash(deviceId); in getConsistentDeviceId()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | EventViewer.java | 30 import com.android.emailcommon.utility.Utility; 69 … time = Utility.parseEmailDateTimeToMillis(info.get(MeetingInfo.MEETING_DTSTART)); in onCreate()
|
D | ContactStatusLoader.java | 33 import com.android.emailcommon.utility.Utility; 130 final byte[] photoData = Utility.getFirstRowBlob(context, in getContactInfo()
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
D | ImapTempFileLiteral.java | 20 import com.android.phone.common.mail.utils.Utility; 95 return Utility.fromAscii(bytes); in getString()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapTempFileLiteral.java | 25 import com.android.emailcommon.utility.Utility; 98 return Utility.fromAscii(bytes); in getString()
|
D | EmailServiceStub.java | 62 import com.android.emailcommon.utility.Utility; 146 if (Utility.attachmentExists(mContext, attachment) in loadAttachment() 164 long sourceId = Utility.getFirstRowLong(mContext, Body.CONTENT_URI, in loadAttachment() 473 if (Utility.hasUnloadedAttachments(context, messageId)) { in sendMailImpl()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | EmailBroadcastProcessorServiceTests.java | 29 import com.android.emailcommon.utility.Utility; 74 Integer flags = Utility.getFirstRowInt(mMockContext, uri, in getAccountFlags()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Mailbox.java | 39 import com.android.emailcommon.utility.Utility; 667 return Utility.getFirstRowLong(context, Mailbox.CONTENT_URI, in findMailboxOfType() 703 return Utility.getFirstRowInt(context, url, MAILBOX_TYPE_PROJECTION, in getMailboxType() 712 return Utility.getFirstRowString(context, url, MAILBOX_DISPLAY_NAME_PROJECTION, in getDisplayName() 921 return Utility.getFirstRowLong(context, in getAccountIdForMailbox()
|
D | Account.java | 34 import com.android.emailcommon.utility.Utility; 570 return null != Utility.getFirstRowLong(context, CONTENT_URI, ID_PROJECTION, in isValidId() 579 return (Utility.getFirstRowLong(context, in isSecurityHold() 589 return Utility.getFirstRowLong(context, Mailbox.CONTENT_URI, ID_PROJECTION, in getInboxId()
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
D | ImapFolder.java | 51 import com.android.phone.common.mail.utils.Utility; 192 return uids.toArray(Utility.EMPTY_STRINGS); in getSearchUids() 207 return Utility.EMPTY_STRINGS; // Not found in searchForUids() 328 Utility.combine(fetchFields.toArray(new String[fetchFields.size()]), ' ') in fetchInternal() 373 message.parse(Utility.streamFromAsciiString(header)); in fetchInternal()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupOutgoingFragment.java | 49 import com.android.emailcommon.utility.Utility; 282 Utility.isServerNameValid(mServerView) && Utility.isPortFieldValid(mPortView); in validateFields()
|
D | MailboxSettings.java | 49 import com.android.emailcommon.utility.Utility; 340 final Long policyKey = Utility.getFirstRowLong(getContext(), in loadInBackground() 348 final int maxLookback = Utility.getFirstRowInt(getContext(), in loadInBackground()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 51 import com.android.emailcommon.utility.Utility; 396 return uids.toArray(Utility.EMPTY_STRINGS); in getSearchUids() 427 return Utility.EMPTY_STRINGS; // Not found in searchForUids() 499 return Utility.EMPTY_STRINGS; // not found; in complexSearchForUids() 681 Utility.combine(fetchFields.toArray(new String[fetchFields.size()]), ' ') in fetchInternal() 726 message.parse(Utility.streamFromAsciiString(header)); in fetchInternal()
|
D | ImapStore.java | 47 import com.android.emailcommon.utility.Utility; 603 return Utility.fromAscii(b); in encodeFolderName() 612 folder = MODIFIED_UTF_7_CHARSET.decode(ByteBuffer.wrap(Utility.toAscii(name))).toString(); in decodeFolderName()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | AttachmentUtilities.java | 410 } else if (Utility.isExternalStorageMounted()) { in saveAttachment() 421 File file = Utility.createUniqueFile(downloads, attachment.mFileName); in saveAttachment()
|
/packages/services/Telephony/src/com/android/phone/common/mail/utils/ |
D | Utility.java | 26 public class Utility { class
|