/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/ |
D | AddressUnitTests.java | 192 result = Address.parse(null); in testEmptyParse() 196 result = Address.parse(""); in testEmptyParse() 200 result = Address.parse(" "); in testEmptyParse() 204 result = Address.parse(" , "); in testEmptyParse() 212 Address[] address1 = Address.parse("address1@dom1.com"); in testSingleParse() 217 Address[] address2 = Address.parse("<address2@dom2.com>"); in testSingleParse() 222 Address[] address3 = Address.parse("first last <address3@dom3.org>"); in testSingleParse() 227 Address[] address4 = Address.parse("\"first,last\" <address4@dom4.org>"); in testSingleParse() 237 Address[] address1 = Address.parse("address1"); in testIllegalParse() 240 Address[] address2 = Address.parse("address2@"); in testIllegalParse() [all …]
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
D | MockUiProviderTests.java | 70 foldersUri = Uri.parse(cursor.getString(folderUriIndex)); in testGetFolders() 97 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders() 100 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders() 107 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders() 109 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders() 115 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders() 117 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders() 123 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders() 125 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders() 166 messageUri = Uri.parse(convFoldersCursor.getString(messageUriCol)); in testGetFolders() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | NewOutgoingCallIntentBroadcasterTest.java | 94 Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(voicemailNumber)); in testVoicemailCall() 100 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall() 106 badCallActionHelper(Uri.parse("voicemail:18005551234"), DisconnectCause.OUTGOING_CANCELED); in testVoicemailCallWithBadAction() 111 badCallActionHelper(Uri.parse("tel:6505551234"), DisconnectCause.INVALID_NUMBER); in testTelCallWithBadCallAction() 116 badCallActionHelper(Uri.parse("sip:testuser@testsite.com"), DisconnectCause.INVALID_NUMBER); in testSipCallWithBadCallAction() 131 Uri handle = Uri.parse("tel:6505551234"); in testAlreadyDisconnectedCall() 145 Uri handle = Uri.parse("tel:"); in testNoNumberSupplied() 157 Uri handle = Uri.parse("tel:6505551911"); in testEmergencyCallWithNonDefaultDialer() 186 Uri handle = Uri.parse("tel:6505551911"); in testActionCallEmergencyCall() 193 Uri handle = Uri.parse("tel:6505551911"); in testActionEmergencyWithEmergencyNumber() [all …]
|
D | BluetoothPhoneServiceTest.java | 243 when(activeCall.getHandle()).thenReturn(Uri.parse("tel:555-000")); in testListCurrentCallsOneCall() 272 Uri.parse("tel:555-0000"))); in testConferenceInProgressCDMA() 274 Uri.parse("tel:555-0001"))); in testConferenceInProgressCDMA() 319 Uri.parse("tel:555-0000"))); in testListCurrentCallsCdmaHold() 321 Uri.parse("tel:555-0001"))); in testListCurrentCallsCdmaHold() 360 Uri.parse("tel:555-0000"))); in testListCurrentCallsCdmaConference() 362 Uri.parse("tel:555-0001"))); in testListCurrentCallsCdmaConference() 395 Uri.parse("tel:555-0000"))); in testWaitingCallClccResponse() 432 Uri.parse("tel:555-0000"))); in testRingingCallClccResponse() 452 Uri.parse("tel:555-0000"))); in testCallClccCache() [all …]
|
/packages/apps/Tag/src/com/android/apps/tag/message/ |
D | NdefMessageParser.java | 43 public static ParsedNdefMessage parse(NdefMessage message) { in parse() method in NdefMessageParser 55 elements.add(SmartPoster.parse(record)); in getRecords() 57 elements.add(UriRecord.parse(record)); in getRecords() 59 elements.add(TextRecord.parse(record)); in getRecords() 61 elements.add(ImageRecord.parse(record)); in getRecords() 63 elements.add(VCardRecord.parse(record)); in getRecords() 65 elements.add(MimeRecord.parse(record)); in getRecords()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 54 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/photo"); 56 .parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/display_photo"); 58 Uri.parse("content://com.android.contacts/contacts/filter/" + CONTACT_NAME); 60 .parse("content://com.android.contacts/data/phones/filter/" + CONTACT_NAME); 61 private static final Uri URI_CALLABLES_FILTER = Uri.parse( 64 .parse("content://com.android.contacts/data/emails/filter/" + CONTACT_NAME); 66 Uri.parse("content://com.android.contacts/data/emails/lookup/" 68 private static final Uri URI_PHONE_LOOKUP = Uri.parse( 71 Uri.parse("content://com.android.contacts/directories"); 73 Uri.parse("content://com.android.contacts/directories/" + DIRECTORY_ID); [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | MultiAttachmentLayoutTest.java | 81 "image/jpeg", Uri.parse("content://uri1"), 100, 100); in testBindTwoAttachments() 83 "image/jpeg", Uri.parse("content://uri2"), 100, 100); in testBindTwoAttachments() 93 "image/jpeg", Uri.parse("content://uri1"), 100, 100); in testBindFiveAttachments() 95 "image/jpeg", Uri.parse("content://uri2"), 100, 100); in testBindFiveAttachments() 97 "image/jpeg", Uri.parse("content://uri3"), 100, 100); in testBindFiveAttachments() 99 "image/jpeg", Uri.parse("content://uri4"), 100, 100); in testBindFiveAttachments() 101 "image/jpeg", Uri.parse("content://uri5"), 100, 100); in testBindFiveAttachments()
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | IntentUtilitiesTests.java | 72 i = new Intent(Intent.ACTION_VIEW, Uri.parse( in brokentestGetIdFromIntent() 80 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "ACCOUNT_ID"))); in checkGetIdFromIntent() 83 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MAILBOX_ID"))); in checkGetIdFromIntent() 86 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MESSAGE_ID"))); in checkGetIdFromIntent() 98 i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://s/")); in brokentestGetAccountUuidFromIntent() 102 i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://s/?ACCOUNT_UUID=")); in brokentestGetAccountUuidFromIntent() 106 i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://s/?ACCOUNT_UUID=xyz")); in brokentestGetAccountUuidFromIntent()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeMessage.java | 121 parse(in); in MimeMessage() 142 protected void parse(InputStream in) throws IOException, MessagingException { in parse() method in MimeMessage 144 parser.parse(new EOLConvertingInputStream(in)); in parse() 148 public void parse(InputStream in, EOLConvertingInputStream.Callback callback) in parse() method in MimeMessage 151 parser.parse(new EOLConvertingInputStream(in, getSize(), callback)); in parse() 175 DateTimeField field = (DateTimeField)Field.parse("Date: " in getSentDate() 187 DateTimeField field = (DateTimeField)Field.parse("Date: " in getSentDate() 253 mTo = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients() 258 mCc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients() 263 mBcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients() [all …]
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
D | MimeMessage.java | 120 parse(in); in MimeMessage() 141 protected void parse(InputStream in) throws IOException, MessagingException { in parse() method in MimeMessage 143 parser.parse(new EOLConvertingInputStream(in)); in parse() 147 public void parse(InputStream in, EOLConvertingInputStream.Callback callback) in parse() method in MimeMessage 150 parser.parse(new EOLConvertingInputStream(in, getSize(), callback)); in parse() 174 DateTimeField field = (DateTimeField)Field.parse("Date: " in getSentDate() 186 DateTimeField field = (DateTimeField)Field.parse("Date: " in getSentDate() 252 mTo = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients() 257 mCc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients() 262 mBcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessagingContentProvider.java | 64 public static final Uri CONVERSATIONS_URI = Uri.parse(CONTENT_AUTHORITY + CONVERSATIONS_QUERY); 65 static final Uri PARTS_URI = Uri.parse(CONTENT_AUTHORITY + DatabaseHelper.PARTS_TABLE); 70 static final Uri MESSAGES_URI = Uri.parse(CONTENT_AUTHORITY + MESSAGES_QUERY); 72 public static final Uri CONVERSATION_MESSAGES_URI = Uri.parse(CONTENT_AUTHORITY + 82 static final Uri CONVERSATION_PARTICIPANTS_URI = Uri.parse(CONTENT_AUTHORITY + 85 public static final Uri PARTICIPANTS_URI = Uri.parse(CONTENT_AUTHORITY + PARTICIPANTS_QUERY); 90 public static final Uri CONVERSATION_IMAGES_URI = Uri.parse(CONTENT_AUTHORITY + 95 public static final Uri DRAFT_IMAGES_URI = Uri.parse(CONTENT_AUTHORITY + 106 final Uri uri = Uri.parse(CONTENT_AUTHORITY); in notifyEverythingChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherSettings.java | 116 public static final Uri CONTENT_URI = Uri.parse("content://" + 136 public static final Uri CONTENT_URI = Uri.parse("content://" + 147 return Uri.parse("content://" + ProviderConfig.AUTHORITY + in getContentUri() 319 public static final Uri CONTENT_URI = Uri.parse("content://" +
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
D | MockUiProvider.java | 62 private static final Uri MOCK_ACCOUNTS_URI = Uri.parse("content://" + AUTHORITY + "/accounts"); 312 accountMap.put(AccountColumns.URI, Uri.parse(accountUri)); in createAccountDetailsMap() 330 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress1@custom.com", in createAccountDetailsMap() 332 list.add(new ReplyFromAccount(null, Uri.parse(accountUri), "customAddress2@custom.com", in createAccountDetailsMap() 338 accountMap.put(AccountColumns.FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap() 339 accountMap.put(AccountColumns.FULL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap() 340 accountMap.put(AccountColumns.ALL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); in createAccountDetailsMap() 341 accountMap.put(AccountColumns.SEARCH_URI, Uri.parse(accountUri + "/search")); in createAccountDetailsMap() 343 Uri.parse(accountUri + "/expungeMessage")); in createAccountDetailsMap() 344 accountMap.put(AccountColumns.UNDO_URI, Uri.parse(accountUri + "/undo")); in createAccountDetailsMap() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | CallServiceNotifier.java | 118 .setAddress(Uri.parse("tel:555-TEST")) in registerPhoneAccount() 119 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) in registerPhoneAccount() 137 .setAddress(Uri.parse("tel:555-TSIM")) in registerPhoneAccount() 138 .setSubscriptionAddress(Uri.parse("tel:555-TSIM")) in registerPhoneAccount() 155 .setAddress(Uri.parse("tel:555-CMGR")) in registerPhoneAccount() 156 .setSubscriptionAddress(Uri.parse("tel:555-CMGR")) in registerPhoneAccount()
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | EditorUiUtilsTest.java | 155 assertEquals(RINGTONE, EditorUiUtils.getRingtoneStringFromUri(Uri.parse(RINGTONE), in testGetRingtongStrFromUri_lessThanOrEqualsToM() 164 assertEquals(RINGTONE, EditorUiUtils.getRingtoneStringFromUri(Uri.parse(RINGTONE), in testGetRingtongStrFromUri_nOrGreater() 172 assertEquals(Uri.parse(""), EditorUiUtils.getRingtoneUriFromString("", currentVersion)); in testGetRingtongUriFromStr_lessThanOrEqualsToM() 173 assertEquals(Uri.parse(RINGTONE), EditorUiUtils.getRingtoneUriFromString(RINGTONE, in testGetRingtongUriFromStr_lessThanOrEqualsToM() 182 assertEquals(Uri.parse(RINGTONE), EditorUiUtils.getRingtoneUriFromString(RINGTONE, in testGetRingtongUriFromStr_nOrGreater()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | VCardRecord.java | 134 parser.parse(new ByteArrayInputStream(mVCard), constructor); in getVCardEntries() 138 parser.parse(new ByteArrayInputStream(mVCard), constructor); in getVCardEntries() 152 public static VCardRecord parse(NdefRecord record) { in parse() method in VCardRecord 153 MimeRecord underlyingRecord = MimeRecord.parse(record); in parse() 178 parse(record); in isVCard()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactsUtils.java | 219 Uri.parse("xmpp:" + data + "?message")); in buildImIntent() 221 Uri.parse("xmpp:" + data + "?call")); in buildImIntent() 225 new Intent(Intent.ACTION_SENDTO, Uri.parse("xmpp:" + data + "?message")); in buildImIntent() 227 new Intent(Intent.ACTION_SENDTO, Uri.parse("xmpp:" + data + "?call")); in buildImIntent() 230 new Intent(Intent.ACTION_SENDTO, Uri.parse("xmpp:" + data + "?message")); in buildImIntent()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockContract.java | 96 Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/alarms"); 102 Uri ALARMS_WITH_INSTANCES_URI = Uri.parse("content://" + AUTHORITY 145 Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/instances");
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherSettings.java | 100 static final Uri CONTENT_URI = Uri.parse("content://" + 108 static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" + 121 return Uri.parse("content://" + LauncherProvider.AUTHORITY + in getContentUri()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | BluetoothMapContentTest.java | 103 Uri tmpEmailUri = Uri.parse("content://com.android.email.bluetoothprovider/"); in initTestSetup() 106 mEmailMessagesUri = Uri.parse(mEmailUri + BluetoothMapContract.TABLE_MESSAGE); in initTestSetup() 107 mEmailFolderUri = Uri.parse(mEmailUri + BluetoothMapContract.TABLE_FOLDER); in initTestSetup() 108 mEmailAccountUri = Uri.parse(tmpEmailUri + BluetoothMapContract.TABLE_ACCOUNT); in initTestSetup() 200 Uri uri = Uri.parse(mEmailMessagesUri + "/" + id in dumpMessageContent() 238 Uri uri = Uri.parse(mEmailMessagesUri + "/" + id + "/" in writeMessageContent() 665 mResolver.bulkInsert(Uri.parse("content://sms"), values); in testAddSmsEntries() 680 Uri mUri = mResolver.insert(Uri.parse("content://sms"), item); in testAddSms() 694 Uri mUri = mResolver.insert(Uri.parse("content://sms"), item); in testServiceSms() 709 Uri uriAddress = Uri.parse(uriStr); in printMmsAddr() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | WebViewContextMenu.java | 105 new Intent(Intent.ACTION_DIAL, Uri.parse(WebView.SCHEME_TEL)), in WebViewContextMenu() 108 new Intent(Intent.ACTION_SENDTO, Uri.parse("smsto:")), in WebViewContextMenu() 286 Uri.parse(WebView.SCHEME_TEL + extra)); in onCreateContextMenu() 297 new Intent(Intent.ACTION_SENDTO, Uri.parse("smsto:" + extra)); in onCreateContextMenu() 322 new Intent(Intent.ACTION_VIEW, Uri.parse(WebView.SCHEME_MAILTO + extra)); in onCreateContextMenu() 342 new Intent(Intent.ACTION_VIEW, Uri.parse(WebView.SCHEME_GEO + geoExtra)); in onCreateContextMenu() 384 new SendIntent(new Intent(Intent.ACTION_VIEW, Uri.parse(extra)), "open_link")); in setupAnchorMenu()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapVcardList.java | 57 parse(in, format); in BluetoothPbapVcardList() 60 private void parse(InputStream in, byte format) throws IOException { in parse() method in BluetoothPbapVcardList 80 parser.parse(in); in parse()
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParserTest.java | 163 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_trustedSourceProvisioningIntent() 208 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_resumeProvisioningIntent() 262 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_managedProfileIntent() 299 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_managedUserIntent() 337 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_managedDeviceIntent() 376 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_managedSharableDeviceIntent() 416 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent, mContext); in testParse_nfcProvisioningIntentThrowsException()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSender.java | 95 final Uri messageUri = Uri.parse(contentLocation); in sendNotifyResponseForMmsDownload() 124 final Uri messageUri = Uri.parse(contentLocation); in sendAcknowledgeForMmsDownload() 223 response, MmsConfig.get(subId).getSupportMmsContentDisposition()).parse(); in parseSendConf() 250 final Uri requestUri = Uri.parse(contentLocation); in downloadMms() 274 data, MmsConfig.get(subId).getSupportMmsContentDisposition()).parse(); in parseRetrieveConf()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 229 public Date parse(String date) throws ParseException { in parse() method in Utility.ThreadLocalDateFormat 230 return super.get().parse(date); in parse() 259 cal.setTime(mAbbrevDateTimeFormat.parse(date)); in parseDateTimeToCalendar() 261 cal.setTime(mFullDateTimeFormat.parse(date)); in parseDateTimeToCalendar() 284 cal.setTime(mAbbrevEmailDateTimeFormat.parse(date)); in parseEmailDateTimeToMillis() 286 cal.setTime(mEmailDateTimeFormat.parse(date)); in parseEmailDateTimeToMillis() 288 cal.setTime(mEmailDateTimeFormatWithMillis.parse(date)); in parseEmailDateTimeToMillis() 657 final Uri cachedFileUri = Uri.parse(cachedFile); 677 final Uri fileUri = Uri.parse(contentUri);
|