/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | IntentFiltersTestHelper.java | 70 new Intent(Intent.ACTION_SENDTO).setData(Uri.parse("sms:07700900100")), 71 new Intent(Intent.ACTION_SENDTO).setData(Uri.parse("smsto:07700900100")), 72 new Intent(Intent.ACTION_SENDTO).setData(Uri.parse("mms:07700900100")), 73 new Intent(Intent.ACTION_SENDTO).setData(Uri.parse("mmsto:07700900100")), 75 Uri.parse("sms:07700900100?body=Hello%20world")).addCategory( 78 Uri.parse("smsto:07700900100?body=Hello%20world")).addCategory( 81 Uri.parse("mms:07700900100?body=Hello%20world")).addCategory( 84 Uri.parse("mmsto:07700900100?body=Hello%20world")).addCategory( 121 new Intent(Intent.ACTION_CALL).setData(Uri.parse("tel:123")), 122 new Intent("android.intent.action.CALL_EMERGENCY").setData(Uri.parse("tel:123")), [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 28 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); in testParcelling() 53 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon() 80 Uri.parse("foo:bob%20lee").getSchemeSpecificPart()); in testStringUri() 82 Uri.parse("foo:bob%20lee").getEncodedSchemeSpecificPart()); in testStringUri() 85 Uri.parse("foo:/bob%20lee").getEncodedPath()); in testStringUri() 86 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 89 Uri.parse("foo:?bob%20lee").getEncodedQuery()); in testStringUri() 90 assertNull(Uri.parse("foo:bob%20lee").getEncodedQuery()); in testStringUri() 91 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); in testStringUri() 94 Uri.parse("foo:#bob%20lee").getEncodedFragment()); in testStringUri() [all …]
|
D | MailToTest.java | 46 MailTo mailTo_1 = MailTo.parse(MAILTOURI_1); in testParseMailToURI() 56 MailTo mailTo_2 = MailTo.parse(MAILTOURI_2); in testParseMailToURI() 69 MailTo mailTo_3 = MailTo.parse(MAILTOURI_3); in testParseMailToURI() 82 MailTo mailTo_4 = MailTo.parse(MAILTOURI_4); in testParseMailToURI() 96 MailTo mailTo_5 = MailTo.parse(MAILTOURI_5); in testParseMailToURI() 111 MailTo mailTo_6 = MailTo.parse(MAILTOURI_6); in testParseMailToURI()
|
D | Uri_BuilderTest.java | 25 Uri uri = Uri.parse("http://google.com/p1?query#fragment"); in testBuilderOperations() 35 uri = Uri.parse("mailto:nobody"); in testBuilderOperations()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilter_AuthorityEntryTest.java | 55 Uri uri = Uri.parse("testUri"); in testMatch() 57 uri = Uri.parse("content://contacts/deleted_people"); in testMatch() 59 uri = Uri.parse("test"); in testMatch() 62 uri = Uri.parse("http://" + mHost); in testMatch() 66 uri = Uri.parse("http://" + mHost + ":90"); in testMatch() 70 uri = Uri.parse("http://" + mHost + ":80"); in testMatch() 74 uri = Uri.parse("http://" + mHost + ":80"); in testMatch()
|
D | UriMatcherTest.java | 37 private Uri uri1 = Uri.parse("content://" + sAuthority + "/" + sPath1); 38 private Uri uri2 = Uri.parse("content://" + sAuthority + "/" + sPath2); 39 private Uri uri3 = Uri.parse("content://" + sAuthority + "/" + sPath3); 40 private Uri uri4 = Uri.parse("content://" + sAuthority + "/" + sPath4); 64 Uri unknown = Uri.parse("abc"); in testMatch()
|
D | AvailableIntentsTest.java | 55 Uri uri = Uri.parse(NORMAL_URL); in testViewNormalUrl() 65 Uri uri = Uri.parse(SECURE_URL); in testViewSecureUrl() 75 Uri uri = Uri.parse(NORMAL_URL); in testWebSearchNormalUrl() 86 Uri uri = Uri.parse(SECURE_URL); in testWebSearchSecureUrl() 109 Uri uri = Uri.parse("tel:2125551212"); in testCallPhoneNumber() 121 Uri uri = Uri.parse("tel:(212)5551212"); in testDialPhoneNumber() 133 Uri uri = Uri.parse("voicemail:"); in testDialVoicemail()
|
D | ContentUrisTest.java | 32 private Uri uri1 = Uri.parse("content://" + AUTHORITY + "/" + PATH1); 33 private Uri uri2 = Uri.parse("content://" + AUTHORITY + "/" + PATH2); 47 assertEquals(-1, ContentUris.parseId(Uri.parse(""))); in testParseId()
|
D | ContentResolverTest.java | 54 private static final Uri TABLE1_URI = Uri.parse("content://" + AUTHORITY + "/testtable1/"); 56 Uri.parse("content://" + AUTHORITY + "/testtable1/cross"); 57 private static final Uri TABLE2_URI = Uri.parse("content://" + AUTHORITY + "/testtable2/"); 58 private static final Uri SELF_URI = Uri.parse("content://" + AUTHORITY + "/self/"); 59 private static final Uri CRASH_URI = Uri.parse("content://" + AUTHORITY + "/crash/"); 61 private static final Uri LEVEL1_URI = Uri.parse("content://" + AUTHORITY + "/level/"); 62 private static final Uri LEVEL2_URI = Uri.parse("content://" + AUTHORITY + "/level/child"); 63 private static final Uri LEVEL3_URI = Uri.parse("content://" + AUTHORITY 67 private static final Uri REMOTE_TABLE1_URI = Uri.parse("content://" 69 private static final Uri REMOTE_SELF_URI = Uri.parse("content://" [all …]
|
D | ContentProviderTest.java | 53 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + in testOpenAssetFile() 113 Uri uri = Uri.parse("content://browser/bookmarks"); in testBulkInsert() 172 Uri uri = Uri.parse("content://test"); in testOpenFile() 194 Uri uri = Uri.parse("content://test"); in testOpenFileHelper() 198 uri = Uri.parse("content://test"); in testOpenFileHelper() 208 uri = Uri.parse("content://test"); in testOpenFileHelper()
|
D | ClipboardManagerTest.java | 82 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_rawUri() 91 Uri contentUri = Uri.parse("content://cts/test/for/clipboardmanager"); in testSetPrimaryClip_contentUri() 102 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_complexItem() 118 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_multipleItems()
|
D | IntentTest.java | 262 mIntent.setData(Uri.parse("test")); in testResolveType1() 274 mIntent.setData(Uri.parse("test")); in testResolveType2() 346 assertEquals(Uri.parse("http://www.google.com/"), mIntent.getData()); in testParseIntent() 963 .setData(Uri.parse("http://www.example.com/blah"))); in testUris() 968 .setData(Uri.parse("http://www.example.com/blah")) in testUris() 974 .setData(Uri.parse("http://www.example.com/blah#fragment"))); in testUris() 979 .setData(Uri.parse("http://www.example.com/blah"))); in testUris() 984 .setDataAndType(Uri.parse("mailto:foo"), "image/foo")); in testUris() 989 .setData(Uri.parse("mailto:foo")) in testUris() 999 .setData(Uri.parse("mailto:foo")) in testUris() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | PhoneAccountOperationsTest.java | 44 .setAddress(Uri.parse("tel:555-TEST")) 45 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 54 .setAddress(Uri.parse("tel:555-TEST")) 55 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 66 .setAddress(Uri.parse("tel:555-TEST")) 67 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 134 .setAddress(Uri.parse("tel:555-TEST")) in testRegisterPhoneAccount_DisallowEnable() 135 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) in testRegisterPhoneAccount_DisallowEnable()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_DumpFileProviderTest.java | 53 Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_throwsErrorWithIllegalFileName() 60 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_worksWithValidFileName() 71 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_throwsErrorWithIllegalFileName() 78 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_worksWithValidFileName()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
D | TestPackageXmlParserTest.java | 98 parser.parse(getStringAsStream(INSTR_TEST_DATA)); in testParse_instrPackage() 112 parser.parse(getStringAsStream(HOST_TEST_DATA)); in testParse_hostTest() 136 parser.parse(getStringAsStream(HOST_TEST_DATA)); in testParse_hostTest_noKnownFailures() 159 parser.parse(getStringAsStream(BAD_HOST_TEST_DATA)); in testParse_badHostTest() 175 parser.parse(getStringAsStream(xml)); in assertTestType() 186 parser.parse(getStringAsStream(NO_TEST_DATA)); in testParse_noData() 195 parser.parse(getStringAsStream(INSTANCED_TEST_DATA)); in testParse_instancedMultiple() 219 parser.parse(getStringAsStream(INSTANCED_TEST_DATA)); in testParse_instancedSingle() 240 parser.parse(getStringAsStream(INSTANCED_TEST_DATA)); in testParse_instancedEmptys() 263 parser.parse(getStringAsStream(INSTANCED_TEST_DATA)); in testParse_instancedNoInstances()
|
D | TestPlanTest.java | 85 mPlan.parse(getStringAsStream(TEST_DATA)); in testParse() 114 mPlan.parse(getStringAsStream(TEST_EXCLUDED_DATA)); in testParse_exclude() 130 mPlan.parse(getStringAsStream(TEST_MULTI_EXCLUDED_DATA)); in testParse_multiExclude() 156 mPlan.parse(getStringAsStream(TEST_CLASS_EXCLUDED_DATA)); in testParse_classExclude() 190 parsedPlan.parse(getStringAsStream(outStream.toString())); in testSerialize_packages() 212 parsedPlan.parse(getStringAsStream(outStream.toString())); in testSerialize_multiExclude()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestResultsTest.java | 56 parser.parse(new StringReader("<Empty/>")); in testParse_empty() 65 parser.parse(new StringReader(TEST_PACKAGE_FULL)); in testParse_package() 80 parser.parse(new StringReader(RESULT_START + TEST_PACKAGE_START + RESULT_END)); in testParse_corrupt() 92 parser.parse(new StringReader(TEST_FULL)); in testParse_test()
|
D | TestSummaryXmlTest.java | 52 result.parse(getStringAsReader(TEST_DATA)); in testParse() 65 result.parse(getStringAsReader(MISSING_DATA)); in testParse_missing()
|
D | DeviceInfoResultTest.java | 46 void parse(XmlPullParser parser) throws XmlPullParserException, IOException { in setUp() 50 super.parse(parser); in setUp() 92 mDeserializingInfo.parse(new StringReader(serializedOutput)); in assertSerializeParse()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | AbstractXmlPullParser.java | 41 public void parse(Reader xmlReader) throws ParseException { in parse() method in AbstractXmlPullParser 46 parse(parser); in parse() 54 abstract void parse(XmlPullParser parser) throws XmlPullParserException, IOException; in parse() method in AbstractXmlPullParser
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 52 new ImageSpan(mContext, Uri.parse("content://user/a/b")); in testConstructor() 53 new ImageSpan(mContext, Uri.parse("content://user/a/b"), in testConstructor() 55 new ImageSpan(mContext, Uri.parse("content://user/a/b"), in testConstructor() 83 imageSpan = new ImageSpan(mContext, Uri.parse(source)); in testGetSource() 98 imageSpan = new ImageSpan(mContext, Uri.parse("unknown uri.")); in testGetDrawable()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | PostMessageTest.java | 108 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testSimpleMessageToMainFrame() 121 Uri.parse(BASE_URI)); in testMultipleMessagesToMainFrame() 134 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testMessageChannel() 165 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testClose() 208 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testReceiveMessagePort()
|
/cts/tests/tests/ndef/src/android/ndef/cts/ |
D | NdefTest.java | 314 NdefRecord.createUri(Uri.parse("http://www.nfc.com"))).toByteArray()); in testCreateUri() 485 assertEquals(Uri.parse("http://www.android.com"), in testToUri() 489 assertEquals(Uri.parse("http://www.android.com"), in testToUri() 492 assertEquals(Uri.parse("http://www.android.com"), in testToUri() 497 assertEquals(Uri.parse("http://www.android.com"), in testToUri() 502 assertEquals(Uri.parse("http://www.android.com"), in testToUri() 507 assertEquals(Uri.parse("vnd.android.nfc://ext/com.foo.bar:type"), in testToUri() 510 assertEquals(Uri.parse("http://www.android.com"), in testToUri()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | SingleJUnitTestResultParser.java | 59 parse(line); in processNewLines() 67 private void parse(String line) { in parse() method in SingleJUnitTestResultParser
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 87 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionSucceeds() 110 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionBlocked() 131 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestSucceeds() 148 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestBlocked() 162 Uri uri = Uri.parse(mHttpOnlyWebServer.getUserAgentUrl()); in assertMediaPlayerCleartextRequestSucceeds() 180 Uri uri = Uri.parse(mHttpOnlyWebServer.getUserAgentUrl()); in assertMediaPlayerCleartextRequestBlocked() 197 Uri uri = Uri.parse(mHttpOnlyWebServer.getTestDownloadUrl("netsecpolicy", 0)); in testDownloadManager()
|