Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerificationParamsTest.java39 private final static Uri VERIFICATION_URI = Uri.parse(VERIFICATION_URI_STRING);
40 private final static Uri ORIGINATING_URI = Uri.parse(ORIGINATING_URI_STRING);
41 private final static Uri REFERRER = Uri.parse(REFERRER_STRING);
73 Uri.parse(VERIFICATION_URI_STRING), Uri.parse(ORIGINATING_URI_STRING), in testEquals_Success()
74 Uri.parse(REFERRER_STRING), ORIGINATING_UID, new ManifestDigest(DIGEST_BYTES)); in testEquals_Success()
84 Uri.parse("http://a.different.uri/"), Uri.parse(ORIGINATING_URI_STRING), in testEquals_VerificationUri_Failure()
85 Uri.parse(REFERRER_STRING), ORIGINATING_UID, new ManifestDigest(DIGEST_BYTES)); in testEquals_VerificationUri_Failure()
95 Uri.parse(VERIFICATION_URI_STRING), Uri.parse("http://a.different.uri/"), in testEquals_OriginatingUri_Failure()
96 Uri.parse(REFERRER_STRING), ORIGINATING_UID, new ManifestDigest(DIGEST_BYTES)); in testEquals_OriginatingUri_Failure()
106 Uri.parse(VERIFICATION_URI_STRING), Uri.parse(ORIGINATING_URI_STRING), in testEquals_Referrer_Failure()
[all …]
DVerifierDeviceIdentityTest.java175 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED); in testVerifierDeviceIdentity_Parse_Normal()
184 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_MAXVALUE_ENCODED); in testVerifierDeviceIdentity_Parse_MaxValue()
191 VerifierDeviceIdentity.parse("AAAA-AAAA-AAAA-"); in testVerifierDeviceIdentity_Parse_TooShort()
200 VerifierDeviceIdentity.parse("----------------"); in testVerifierDeviceIdentity_Parse_WayTooShort()
209 VerifierDeviceIdentity.parse("AAAA-AAAA-AAAA-AA"); in testVerifierDeviceIdentity_Parse_TooLong()
218 VerifierDeviceIdentity.parse(TEST_OVERFLOW_ENCODED); in testVerifierDeviceIdentity_Parse_Overflow()
228 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED_LOWERCASE); in testVerifierDeviceIdentity_Parse_SquashToUppercase()
237 VerifierDeviceIdentity id1 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_CORRECTED); in testVerifierDeviceIdentity_Parse_1I_And_0O_Substitution()
239 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_UNCORRECTED); in testVerifierDeviceIdentity_Parse_1I_And_0O_Substitution()
/frameworks/base/core/tests/coretests/src/android/content/
DObserverNodeTest.java41 Uri.parse("content://c/a/"), in testUri()
42 Uri.parse("content://c/"), in testUri()
43 Uri.parse("content://x/"), in testUri()
44 Uri.parse("content://c/b/"), in testUri()
45 Uri.parse("content://c/a/a1/1/"), in testUri()
46 Uri.parse("content://c/a/a1/2/"), in testUri()
47 Uri.parse("content://c/b/1/"), in testUri()
48 Uri.parse("content://c/b/2/"), in testUri()
75 Uri.parse("content://c/"), in testUriNotNotify()
76 Uri.parse("content://x/"), in testUriNotNotify()
[all …]
DMemoryFileProviderTest.java38 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/data/1/blob"); in testRead()
56 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/huge"); in testClose()
71 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/file"); in testFile()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java43 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); in testParcelling()
74 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri()
87 Uri.parse("foo:bob%20lee").getSchemeSpecificPart()); in testStringUri()
89 Uri.parse("foo:bob%20lee").getEncodedSchemeSpecificPart()); in testStringUri()
91 Uri.parse("foo:/bob%20lee").getEncodedPath()); in testStringUri()
92 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri()
94 Uri.parse("foo:?bob%20lee").getEncodedQuery()); in testStringUri()
95 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); in testStringUri()
97 Uri.parse("foo:#bob%20lee").getEncodedFragment()); in testStringUri()
102 assertTrue(Uri.parse("bob").isHierarchical()); in testStringUriIsHierarchical()
[all …]
/frameworks/opt/telephony/src/java/android/provider/
DTelephony.java199 Uri.parse("content://sms");
326 Uri.parse("content://sms/inbox");
360 Uri.parse("content://sms/sent");
392 Uri.parse("content://sms/draft");
440 Uri.parse("content://sms/outbox");
475 Uri.parse("content://sms/conversations");
1247 private static final Uri THREAD_ID_CONTENT_URI = Uri.parse(
1324 public static final Uri CONTENT_URI = Uri.parse("content://mms");
1430 CONTENT_URI = Uri.parse("content://mms/inbox");
1446 CONTENT_URI = Uri.parse("content://mms/sent");
[all …]
/frameworks/base/core/java/android/util/
DXml.java52 public static void parse(String xml, ContentHandler contentHandler) in parse() method in Xml
57 reader.parse(new InputSource(new StringReader(xml))); in parse()
67 public static void parse(Reader in, ContentHandler contentHandler) in parse() method in Xml
71 reader.parse(new InputSource(in)); in parse()
78 public static void parse(InputStream in, Encoding encoding, in parse() method in Xml
84 reader.parse(source); in parse()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParser.java43 public abstract void parse(InputStream is) throws IOException, VCardException; in parse() method in VCardParser
81 public void parse(InputStream is, VCardInterpreter interpreter) in parse() method in VCardParser
84 parse(is); in parse()
DVCardParser_V40.java74 public void parse(InputStream is) throws IOException, VCardException { in parse() method in VCardParser_V40
75 mVCardParserImpl.parse(is); in parse()
DVCardParser_V30.java86 public void parse(InputStream is) throws IOException, VCardException { in parse() method in VCardParser_V30
87 mVCardParserImpl.parse(is); in parse()
DVCardParser_V21.java107 public void parse(InputStream is) throws IOException, VCardException { in parse() method in VCardParser_V21
108 mVCardParserImpl.parse(is); in parse()
/frameworks/base/core/java/android/provider/
DMediaStore.java403 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + in getContentUri()
417 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName in getContentUri()
426 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + in getMtpObjectsUri()
436 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName in getMtpObjectsUri()
446 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName in getMtpReferencesUri()
666 Uri uri = Uri.parse( in getThumbnail()
933 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + in getContentUri()
1055 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + in getContentUri()
1335 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + in getContentUri()
1411 return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + in getContentUri()
[all …]
DContacts.java60 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
154 Uri.parse("content://contacts/settings");
355 Uri.parse("content://contacts/people");
364 Uri.parse("content://contacts/people/filter");
373 Uri.parse("content://contacts/deleted_people");
389 Uri.parse("content://contacts/people/with_email_or_im_filter");
806 Uri.parse("content://contacts/groups");
815 Uri.parse("content://contacts/deleted_groups");
996 Uri.parse("content://contacts/phones");
1004 Uri.parse("content://contacts/phones/filter");
[all …]
DCalendarContract.java166 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
489 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY +
685 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/calendars");
847 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/attendees");
1267 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY +
1627 Uri.parse("content://" + AUTHORITY + "/events");
1635 Uri.parse("content://" + AUTHORITY + "/exception");
1782 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY +
1790 Uri.parse("content://" + AUTHORITY + "/instances/whenbyday");
1796 public static final Uri CONTENT_SEARCH_URI = Uri.parse("content://" + AUTHORITY +
[all …]
DDownloads.java90 Uri.parse("content://downloads/my_downloads");
97 Uri.parse("content://downloads/all_downloads");
107 Uri.parse("content://downloads/" + PUBLICLY_ACCESSIBLE_DOWNLOADS_URI_SEGMENT);
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java66 private static final RouteInfo MOBILE_ROUTE_V4 = RouteInfo.makeHostRoute(parse("10.0.0.33"));
67 private static final RouteInfo MOBILE_ROUTE_V6 = RouteInfo.makeHostRoute(parse("fd00::33"));
70 parse("192.168.0.66"), parse("192.168.0.1"));
72 parse("fd00::66"), parse("fd00::"));
221 private static InetAddress parse(String addr) { in parse() method in ConnectivityServiceTest
/frameworks/compile/mclinker/include/mcld/Support/
DCommandLine.h30 bool parse(Option &O,
50 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::MCLDDirectory &Val);
67 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::ZOption &Val);
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java141 if (info.parse(name)) { in deleteAll()
156 if (info.parse(name)) { in dumpAll()
220 if (!info.parse(name)) continue; in rewriteAll()
289 if (!info.parse(name)) continue; in readMatching()
310 if (!info.parse(name)) continue; in getActiveName()
340 if (!info.parse(name)) continue; in maybeRotate()
412 public boolean parse(String name) { in parse() method in FileRotator.FileInfo
/frameworks/base/voip/java/android/net/sip/
DSimpleSessionDescription.java69 mFields.parse("v=0"); in SimpleSessionDescription()
70 mFields.parse(String.format(Locale.US, "o=- %d %d %s", sessionId, in SimpleSessionDescription()
72 mFields.parse("s=-"); in SimpleSessionDescription()
73 mFields.parse("t=0 0"); in SimpleSessionDescription()
74 mFields.parse("c=" + address); in SimpleSessionDescription()
102 fields.parse(line); in SimpleSessionDescription()
527 private void parse(String line) { in parse() method in SimpleSessionDescription.Fields
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java94 dtstart.parse(dtstartStr); in verifyRecurrence()
96 rangeStart.parse(rangeStartStr); in verifyRecurrence()
97 rangeEnd.parse(rangeEndStr); in verifyRecurrence()
157 expectedLast.parse(last); in verifyRecurrence()
2460 dtstart.parse("20010101T000000"); in performanceTextExpand()
2461 rangeStart.parse("20010101T000000"); in performanceTextExpand()
2462 rangeEnd.parse("20090101T000000"); in performanceTextExpand()
2502 date.parse("20090404T100000"); in performanceTestNormalize()
2521 date.parse("20090404T100000"); in performanceTestNormalize()
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java90 Xml.parse(in, Xml.Encoding.UTF_8, this); in insert()
96 Xml.parse(in, this); in insert()
104 uri = Uri.parse(uriStr); in parseRow()
176 Uri u = Uri.parse(atts.getValue(URI_STR)); in startElement()
/frameworks/opt/mailcommon/java/com/android/mailcommon/
DWebViewContextMenu.java210 Uri.parse(WebView.SCHEME_TEL + extra))); in onCreateContextMenu()
218 Uri.parse("smsto:" + extra))); in onCreateContextMenu()
240 .parse(WebView.SCHEME_MAILTO + extra))); in onCreateContextMenu()
259 Uri.parse(WebView.SCHEME_GEO + geoExtra))); in onCreateContextMenu()
289 openLinkMenuItem.setIntent(new Intent(Intent.ACTION_VIEW, Uri.parse(extra))); in onCreateContextMenu()
/frameworks/av/media/libstagefright/wifi-display/
DParameters.cpp26 status_t err = params->parse(data, size); in Parse()
39 status_t Parameters::parse(const char *data, size_t size) { in parse() function in android::Parameters
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pUpnpServiceResponse.java84 if (!parse()) { in WifiP2pUpnpServiceResponse()
94 private boolean parse() { in parse() method in WifiP2pUpnpServiceResponse
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java103 Xml.parse(xml, root.getContentHandler()); in testListener()
120 Xml.parse(xml, root.getContentHandler()); in testMissingRequiredChild()
138 Xml.parse(xml, root.getContentHandler()); in testMixedContent()
175 Xml.parse(inputStream, Xml.Encoding.UTF_8, new YouTubeContentHandler(videoAdapter)); in pureSaxTest()
183 Xml.parse(inputStream, Xml.Encoding.UTF_8, newContentHandler(videoAdapter)); in saxyModelTest()
191 Xml.parse(inputStream, Xml.Encoding.UTF_8, contentHandler); in saxyModelTest()

123456789