Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 665) sorted by relevance

12345678910>>...27

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DRcsProviderDeleteTest.java66 assertThat(mContentResolver.insert(Uri.parse("content://rcs/participant"), in setUp()
67 participantValues)).isEqualTo(Uri.parse("content://rcs/participant/1")); in setUp()
75 Uri groupThreadUri = Uri.parse("content://rcs/group_thread"); in setUp()
77 Uri.parse("content://rcs/group_thread/2")); in setUp()
79 Uri addParticipantToGroupThread = Uri.parse("content://rcs/group_thread/2/participant/1"); in setUp()
85 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp()
87 Uri.parse("content://rcs/p2p_thread/1/incoming_message/1")); in setUp()
88 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp()
90 Uri.parse("content://rcs/p2p_thread/1/outgoing_message/2")); in setUp()
92 mContentResolver.insert(Uri.parse("content://rcs/group_thread/2/incoming_message"), in setUp()
[all …]
DRcsProviderInsertTest.java65 assertThat(mContentResolver.insert(Uri.parse("content://rcs/thread"), null)).isNull(); in testInsertUnifiedThreadFails()
81 assertThat(mContentResolver.insert(Uri.parse("content://rcs/group_thread"), in testInsertGroupThread()
82 contentValues)).isEqualTo(Uri.parse("content://rcs/group_thread/1")); in testInsertGroupThread()
91 Uri uri = mContentResolver.insert(Uri.parse("content://rcs/participant"), contentValues); in testInsertParticipant()
92 assertThat(uri).isEqualTo(Uri.parse("content://rcs/participant/1")); in testInsertParticipant()
100 mContentResolver.insert(Uri.parse("content://rcs/participant"), contentValues); in testInsertParticipantIntoGroupThread()
105 mContentResolver.insert(Uri.parse("content://rcs/group_thread"), values); in testInsertParticipantIntoGroupThread()
108 Uri uri = Uri.parse("content://rcs/group_thread/1/participant/1"); in testInsertParticipantIntoGroupThread()
121 assertThat(mContentResolver.insert(Uri.parse("content://rcs/message"), in testInsertMessageFails()
123 assertThat(mContentResolver.insert(Uri.parse("content://rcs/message/6"), in testInsertMessageFails()
[all …]
DRcsProviderUpdateTest.java69 assertThat(mContentResolver.insert(Uri.parse("content://rcs/participant"), in setUp()
70 participantValues)).isEqualTo(Uri.parse("content://rcs/participant/1")); in setUp()
82 Uri groupThreadUri = Uri.parse("content://rcs/group_thread"); in setUp()
84 Uri.parse("content://rcs/group_thread/2")); in setUp()
86 Uri groupInsertionUri = Uri.parse("content://rcs/group_thread/2/participant/1"); in setUp()
91 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp()
93 Uri.parse("content://rcs/p2p_thread/1/incoming_message/1")); in setUp()
94 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp()
96 Uri.parse("content://rcs/p2p_thread/1/outgoing_message/2")); in setUp()
98 mContentResolver.insert(Uri.parse("content://rcs/group_thread/2/incoming_message"), in setUp()
[all …]
DRcsProviderQueryTest.java83 Uri participantUri = Uri.parse("content://rcs/participant"); in setUp()
101 assertThat(mContentResolver.insert(Uri.parse("content://rcs/group_thread"), in setUp()
102 groupContentValues)).isEqualTo(Uri.parse("content://rcs/group_thread/3")); in setUp()
105 mContentResolver.insert(Uri.parse("content://rcs/group_thread/3/participant/1"), null); in setUp()
106 mContentResolver.insert(Uri.parse("content://rcs/group_thread/3/participant/2"), null); in setUp()
114 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp()
116 Uri.parse("content://rcs/p2p_thread/1/incoming_message/1")); in setUp()
121 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp()
123 Uri.parse("content://rcs/p2p_thread/1/outgoing_message/2")); in setUp()
129 mContentResolver.insert(Uri.parse("content://rcs/group_thread/3/incoming_message"), in setUp()
[all …]
DSmsProviderTest.java175 assertEquals(Uri.parse("content://sms/1"), in testInsertUri()
176 mContentResolver.insert(Uri.parse("content://sms"), values)); in testInsertUri()
177 assertEquals(Uri.parse("content://sms/2"), in testInsertUri()
178 mContentResolver.insert(Uri.parse("content://sms"), values)); in testInsertUri()
186 assertEquals(Uri.parse("content://sms/attachments/1"), in testInsertUri()
187 mContentResolver.insert(Uri.parse("content://sms/attachments"), values)); in testInsertUri()
194 assertEquals(Uri.parse("content://sms/raw/1"), in testRawTableInsert()
214 assertEquals(Uri.parse("content://sms/raw/2"), in testRawTableInsert()
216 assertEquals(Uri.parse("content://sms/raw/3"), in testRawTableInsert()
225 assertEquals(Uri.parse("content://sms/raw/1"), in testRawTableDelete()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceInfoTest.java40 VendorServiceInfo.parse(""); in emptyString()
46 VendorServiceInfo.parse(SERVICE_NAME + "#user=system#bind=bind"); in multipleHashTags()
52 VendorServiceInfo.parse(SERVICE_NAME + "#user=system,unknownKey=blah"); in unknownArg()
58 VendorServiceInfo.parse("invalidComponentName"); in invalidComponentName()
63 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME); in testServiceNameWithDefaults()
75 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=start"); in startService()
84 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=bind"); in bindService()
91 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=startForeground"); in startServiceInForeground()
98 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=asap"); in triggerAsap()
104 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=userUnlocked"); in triggerUnlocked()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/
DConferenceParticipantConnectionTest.java38 assertUrisEqual(Uri.parse("tel:+16505551212"), in testParticipantParseSimpleTel()
39 getParticipantAddress(Uri.parse("tel:6505551212"), "US")); in testParticipantParseSimpleTel()
44 assertUrisEqual(Uri.parse("tel:+16505551212"), in testParticipantParseTelExtended()
45 getParticipantAddress(Uri.parse("tel:6505551212;phone-context=blah"), "US")); in testParticipantParseTelExtended()
50 assertUrisEqual(Uri.parse("tel:+16505551212"), in testParticipantParseSip()
51 getParticipantAddress(Uri.parse("sip:16505551212;phone-context=blah.com@host.com"), in testParticipantParseSip()
57 assertUrisEqual(Uri.parse("tel:+12125551212"), in testParticipantParseSip2()
58 getParticipantAddress(Uri.parse("sip:+1-212-555-1212@something.com;user=phone"), in testParticipantParseSip2()
64 assertUrisEqual(Uri.parse("tel:+819066570660"), in testParticipantParseTelJp()
65 getParticipantAddress(Uri.parse( in testParticipantParseTelJp()
[all …]
DImsConferenceTest.java86 Uri.parse("tel:6505551212"), in testSinglePartyEmulation()
88 Uri.parse("sip:6505551212@testims.com"), in testSinglePartyEmulation()
92 Uri.parse("tel:6505551213"), in testSinglePartyEmulation()
94 Uri.parse("sip:6505551213@testims.com"), in testSinglePartyEmulation()
148 Uri.parse("tel:6505551212"), in testSinglePartyEmulationWithPreDisconnectParticipantUpdate()
150 Uri.parse("sip:6505551212@testims.com"), in testSinglePartyEmulationWithPreDisconnectParticipantUpdate()
154 Uri.parse("tel:6505551213"), in testSinglePartyEmulationWithPreDisconnectParticipantUpdate()
156 Uri.parse("sip:6505551213@testims.com"), in testSinglePartyEmulationWithPreDisconnectParticipantUpdate()
196 Uri.parse("tel:6505551212"), in testNoSinglePartyEmulationWithSimCallManager()
198 Uri.parse("sip:6505551212@testims.com"), in testNoSinglePartyEmulationWithSimCallManager()
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
DAddressUnitTests.java192 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/
DMockUiProviderTests.java70 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/
DNewOutgoingCallIntentBroadcasterTest.java123 Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(voicemailNumber)); in testVoicemailCall()
129 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall()
136 badCallActionHelper(Uri.parse("voicemail:18005551234"), DisconnectCause.OUTGOING_CANCELED); in testVoicemailCallWithBadAction()
142 badCallActionHelper(Uri.parse("tel:6505551234"), DisconnectCause.INVALID_NUMBER); in testTelCallWithBadCallAction()
148 badCallActionHelper(Uri.parse("sip:testuser@testsite.com"), DisconnectCause.INVALID_NUMBER); in testSipCallWithBadCallAction()
164 Uri handle = Uri.parse("tel:6505551234"); in testAlreadyDisconnectedCall()
179 Uri handle = Uri.parse("tel:"); in testNoNumberSupplied()
192 Uri handle = Uri.parse("tel:6505551911"); in testEmergencyCallWithNonDefaultDialer()
223 Uri handle = Uri.parse("tel:6505551911"); in testActionCallEmergencyCall()
231 Uri handle = Uri.parse("tel:6505551911"); in testActionEmergencyWithEmergencyNumber()
[all …]
DBluetoothPhoneServiceTest.java264 when(activeCall.getHandle()).thenReturn(Uri.parse("tel:555-000")); in testListCurrentCallsOneCall()
283 when(silentRingingCall.getHandle()).thenReturn(Uri.parse("tel:555-000")); in testListCurrentCallsSilentRinging()
314 Uri.parse("tel:555-0000"))); in testConferenceInProgressCDMA()
316 Uri.parse("tel:555-0001"))); in testConferenceInProgressCDMA()
363 Uri.parse("tel:555-0000"))); in testListCurrentCallsCdmaHold()
365 Uri.parse("tel:555-0001"))); in testListCurrentCallsCdmaHold()
405 Uri.parse("tel:555-0000"))); in testListCurrentCallsCdmaConference()
407 Uri.parse("tel:555-0001"))); in testListCurrentCallsCdmaConference()
441 Uri.parse("tel:555-0000"))); in testWaitingCallClccResponse()
480 Uri.parse("tel:555-0000"))); in testRingingCallClccResponse()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java55 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/photo");
57 .parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/display_photo");
59 Uri.parse("content://com.android.contacts/contacts/filter/" + CONTACT_NAME);
61 .parse("content://com.android.contacts/data/phones/filter/" + CONTACT_NAME);
62 private static final Uri URI_CALLABLES_FILTER = Uri.parse(
65 .parse("content://com.android.contacts/data/emails/filter/" + CONTACT_NAME);
67 Uri.parse("content://com.android.contacts/data/emails/lookup/"
69 private static final Uri URI_PHONE_LOOKUP = Uri.parse(
72 Uri.parse("content://com.android.contacts/directories");
74 Uri.parse("content://com.android.contacts/directories/" + DIRECTORY_ID);
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java54 CarUxRestrictionsConfigurationXmlParser.parse(getContext(), R.xml.car_ux_restrictions_map); in testParsingDefaultConfiguration()
59 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingParameters()
70 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingNonMovingState()
83 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingMovingState_NoSpeedRange()
94 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingMovingState_SingleSpeedRange()
105 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingMovingState_MultiSpeedRange()
119 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingPassengerState()
138 CarUxRestrictionsConfiguration config = CarUxRestrictionsConfigurationXmlParser.parse( in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
161 CarUxRestrictionsConfigurationXmlParser.parse( in testParsingMultipleConfigurations()
179 CarUxRestrictionsConfigurationXmlParser.parse( in testMultipleConfigurationsShareParameters()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java43 private static final Uri[] IPP_URIS = {Uri.parse("ipp://host:631/ipp/print"),
44 Uri.parse("ipp://host:80/ipp/print"), Uri.parse("ipp://host:631/ipp/printer"),
45 Uri.parse("ipp://host:631/ipp"), Uri.parse("ipp://host:631/"),
46 Uri.parse("ipps://host:631/ipp/print"), Uri.parse("ipps://host:443/ipp/print"),
47 Uri.parse("ipps://host:10443/ipp/print")};
208 Uri uuid = TextUtils.isEmpty(capabilities.uuid) ? null : Uri.parse(capabilities.uuid); in handleCapabilities()
/packages/apps/Tag/src/com/android/apps/tag/message/
DNdefMessageParser.java43 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/apps/Messaging/tests/src/com/android/messaging/ui/
DMultiAttachmentLayoutTest.java81 "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/
DIntentUtilitiesTests.java72 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/DocumentsUI/tests/unit/com/android/documentsui/services/
DJobErrorHandlingTest.java37 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecoversFromInvalidUri()
39 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecoversFromInvalidUri()
52 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecordsInvalidUris()
54 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecordsInvalidUris()
66 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testReportsCorrectFailureCount()
68 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testReportsCorrectFailureCount()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java121 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/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java119 assertEquals(Uri.parse("content://authority/1/2/3"), in testComputeCommonPrefix_Single()
121 Uri.parse("content://authority/1/2/3")))); in testComputeCommonPrefix_Single()
126 assertEquals(Uri.parse("content://authority/1/2/3"), in testComputeCommonPrefix_Deeper()
128 Uri.parse("content://authority/1/2/3/4"), in testComputeCommonPrefix_Deeper()
129 Uri.parse("content://authority/1/2/3/4/5"), in testComputeCommonPrefix_Deeper()
130 Uri.parse("content://authority/1/2/3")))); in testComputeCommonPrefix_Deeper()
135 assertEquals(Uri.parse("content://authority/1/2"), in testComputeCommonPrefix_Siblings()
137 Uri.parse("content://authority/1/2/3"), in testComputeCommonPrefix_Siblings()
138 Uri.parse("content://authority/1/2/99")))); in testComputeCommonPrefix_Siblings()
143 assertEquals(Uri.parse("content://authority"), in testComputeCommonPrefix_Drastic()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java219 private static final Uri TEST_URI = Uri.parse("https://www.google.com/");
275 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_trustedSourceProvisioningIntent()
318 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_resumeProvisioningIntent()
344 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_managedProfileIntent()
383 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_managedProfileIntent_CompProvisioning()
422 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_managedProfileIntent_DeviceOwnerWithByodProvisioning()
452 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_managedUserIntent()
477 assertThat(mExtrasProvisioningDataParser.parse(buildIntentWithAllLongExtras())) in testParse_shortExtras_sameAsLongExtras()
478 .isEqualTo(mExtrasProvisioningDataParser.parse(buildIntentWithAllShortExtras())); in testParse_shortExtras_sameAsLongExtras()
498 ProvisioningParams params = mExtrasProvisioningDataParser.parse(intent); in testParse_managedDeviceIntent()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallServiceNotifier.java132 .setAddress(Uri.parse("tel:555-TEST")) in registerPhoneAccount()
133 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) in registerPhoneAccount()
153 .setAddress(Uri.parse("tel:555-TSIM")) in registerPhoneAccount()
154 .setSubscriptionAddress(Uri.parse("tel:555-TSIM")) in registerPhoneAccount()
173 .setAddress(Uri.parse("tel:555-TSI2")) in registerPhoneAccount()
174 .setSubscriptionAddress(Uri.parse("tel:555-TSI2")) in registerPhoneAccount()
192 .setAddress(Uri.parse("tel:555-CMGR")) in registerPhoneAccount()
193 .setSubscriptionAddress(Uri.parse("tel:555-CMGR")) in registerPhoneAccount()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java64 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/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLoaderTest.java40 private static final Uri TEST_URI = Uri.parse("content://test/test");
60 cards.add(getContextualCard(Uri.parse(sliceUri1))); in filterEligibleCards_twoInvalidCards_shouldReturnOneCard()
61 cards.add(getContextualCard(Uri.parse(sliceUri2))); in filterEligibleCards_twoInvalidCards_shouldReturnOneCard()
62 cards.add(getContextualCard(Uri.parse(sliceUri3))); in filterEligibleCards_twoInvalidCards_shouldReturnOneCard()
81 final Slice loadedSlice = mEligibleCardChecker.bindSlice(Uri.parse(sliceUri)); in bindSlice_noProvider_shouldReturnNull()

12345678910>>...27