/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputContentInfoTest.java | 41 Uri.parse("content://com.example/path"), in testInputContentInfo() 43 Uri.parse("https://example.com")); in testInputContentInfo() 45 assertEquals(Uri.parse("content://com.example/path"), info.getContentUri()); in testInputContentInfo() 49 assertEquals(Uri.parse("https://example.com"), info.getLinkUri()); in testInputContentInfo() 71 Uri.parse("content://com.example/path"), in testOptionalConstructorParam() 74 assertEquals(Uri.parse("content://com.example/path"), info.getContentUri()); in testOptionalConstructorParam() 86 Uri.parse("https://example.com")); in testContentUriNullContentUri() 92 Uri.parse("https://example.com"), in testContentUriInvalidContentUri() 94 Uri.parse("https://example.com")); in testContentUriInvalidContentUri() 100 Uri.parse("content://com.example/path"), null, in testMimeTypeNulLDescription() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
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() 115 assertEquals(Uri.parse("content://auth"), in testRemoveId() 116 ContentUris.removeId(Uri.parse("content://auth/12"))); in testRemoveId() 117 assertEquals(Uri.parse("content://auth/path"), in testRemoveId() 118 ContentUris.removeId(Uri.parse("content://auth/path/12"))); in testRemoveId() 119 assertEquals(Uri.parse("content://auth/path/path"), in testRemoveId() 120 ContentUris.removeId(Uri.parse("content://auth/path/path/12"))); in testRemoveId() 125 ContentUris.removeId(Uri.parse("content://auth/")); in testRemoveId_MissingId() [all …]
|
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 | ClipboardManagerTest.java | 126 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_rawUri() 135 Uri contentUri = Uri.parse("content://cts/test/for/clipboardmanager"); in testSetPrimaryClip_contentUri() 146 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_complexItem() 162 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_multipleItems() 180 Uri uri = Uri.parse("http://www.google.com"); in testSetPrimaryClip_multipleMimeTypes() 181 Uri contentUri1 = Uri.parse("content://ctstest/testtable1"); in testSetPrimaryClip_multipleMimeTypes() 182 Uri contentUri2 = Uri.parse("content://ctstest/testtable2"); in testSetPrimaryClip_multipleMimeTypes() 183 Uri contentUri3 = Uri.parse("content://ctstest/testtable1/0"); in testSetPrimaryClip_multipleMimeTypes() 184 Uri contentUri4 = Uri.parse("content://ctstest/testtable1/1"); in testSetPrimaryClip_multipleMimeTypes() 185 Uri contentUri5 = Uri.parse("content://ctstest/testtable2/0"); in testSetPrimaryClip_multipleMimeTypes() [all …]
|
D | ContentProviderTest.java | 97 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + in testOpenAssetFile() 159 Uri uri = Uri.parse("content://browser/bookmarks"); in testBulkInsert() 223 Uri uri = Uri.parse("content://test"); in testOpenFile() 245 Uri uri = Uri.parse("content://test"); in testOpenFileHelper() 249 uri = Uri.parse("content://test"); in testOpenFileHelper() 259 uri = Uri.parse("content://test"); in testOpenFileHelper() 290 Uri uri = Uri.parse("content://test"); in testOpenPipeHelper() 293 uri = Uri.parse("content://test"); in testOpenPipeHelper() 300 uri = Uri.parse("content://test"); in testOpenPipeHelper() 348 final Uri uri = Uri.parse("content://test"); in testCheckUriPermission() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 52 static final Uri PERM_URI = Uri.parse("content://ctspermissionwithsignature"); 53 static final Uri PERM_URI_GRANTING = Uri.parse("content://ctspermissionwithsignaturegranting"); 54 static final Uri PERM_URI_PATH = Uri.parse("content://ctspermissionwithsignaturepath"); 55 static final Uri PERM_URI_PATH_RESTRICTING = Uri.parse( 57 static final Uri PRIV_URI = Uri.parse("content://ctsprivateprovider"); 58 static final Uri PRIV_URI_GRANTING = Uri.parse("content://ctsprivateprovidergranting"); 61 static final Uri AMBIGUOUS_URI_COMPAT = Uri.parse("content://ctsambiguousprovidercompat"); 63 static final Uri AMBIGUOUS_URI = Uri.parse("content://ctsambiguousprovider"); 211 Uri.parse("content://ctspermissionwithsignaturepathrestricting/")); in testRestrictingProviderMatchingShadyPaths() 213 Uri.parse("content://ctspermissionwithsignaturepathrestricting//")); in testRestrictingProviderMatchingShadyPaths() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | IntentFiltersTestHelper.java | 104 Uri.parse("content://browser/bookmarks")), 106 Uri.parse("http://www.example.com")).addCategory( 109 Uri.parse("mailto:user@example.com")), 111 Uri.parse("mailto:user@example.com")).addCategory( 114 Uri.parse("geo:0,0?q=BuckinghamPalace")), 116 Uri.parse("http://example.com/oceans.mp4")).setType("video/mp4"), 118 Uri.parse("http://www.example.com/horse.mp3")).setType("audio/*"), 121 Uri.parse("market://details?id=com.android.chrome")).addCategory( 127 Uri.parse("package:com.android.chrome")), 160 Uri.parse("tel:123")), in addIntentsThatDependOnDeviceFeatures() [all …]
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_DumpFileProviderTest.java | 52 Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_throwsErrorWithIllegalFileName() 59 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_worksWithValidFileName() 70 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_throwsErrorWithIllegalFileName() 77 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_worksWithValidFileName()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | PostMessageTest.java | 112 verifyPostMessageToOrigin(Uri.parse(BASE_URI)); in testSimpleMessageToMainFrame() 122 verifyPostMessageToOrigin(Uri.parse("*")); in testWildcardOriginMatchesAnything() 132 verifyPostMessageToOrigin(Uri.parse("")); in testEmptyStringOriginMatchesAnything() 159 Uri.parse(BASE_URI)); in testMultipleMessagesToMainFrame() 177 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testMessageChannel() 215 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testClose() 260 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testReceiveMessagePort() 285 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testWebMessageHandler() 321 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testWebMessageDefaultHandler()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TestUtils.java | 127 .setAddress(Uri.parse("tel:555-TEST")) 128 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 144 .setAddress(Uri.parse("tel:555-TEST")) 145 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 161 .setAddress(Uri.parse("tel:555-TEST")) 162 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 173 .setAddress(Uri.parse("tel:555-TEST2")) 174 .setSubscriptionAddress(Uri.parse("tel:555-TEST2")) 187 .setAddress(Uri.parse("foobuzz:testuri1")) 195 .setAddress(Uri.parse("foobuzz:testuri2")) [all …]
|
D | PhoneAccountOperationsTest.java | 73 .setAddress(Uri.parse("tel:555-TEST")) 74 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 83 .setAddress(Uri.parse("tel:555-TEST")) 84 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 96 .setAddress(Uri.parse("tel:555-TEST")) 97 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) 182 .setAddress(Uri.parse("tel:555-TEST")) in testRegisterPhoneAccount_DisallowEnable() 183 .setSubscriptionAddress(Uri.parse("tel:555-TEST")) in testRegisterPhoneAccount_DisallowEnable()
|
/cts/libs/vogar-expect/src/vogar/expect/ |
D | ExpectationStore.java | 118 … public static ExpectationStore parse(Set<File> expectationFiles, ModeId mode) throws IOException { in parse() method in ExpectationStore 122 result.parse(f, mode); in parse() 147 result.parse(url, mode); in parseResources() 153 private void parse(URL url, ModeId mode) throws IOException { in parse() method in ExpectationStore 158 parse(reader, url.toString(), mode); in parse() 162 public void parse(File expectationsFile, ModeId mode) throws IOException { in parse() method in ExpectationStore 167 parse(fileReader, source, mode); in parse() 171 private void parse(Reader reader, String source, ModeId mode) throws IOException { in parse() method in ExpectationStore
|
/cts/tools/cts-test-metrics/ |
D | README | 1 The parse_test_metrics.py script can be used to parse test metrics json files. Run the following 5 To parse multiple files, list all files as arguments. Try the following: 12 The MetricsParser class defines functions to parse a json file. The _Parse function takes a filename
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaPlayerDrmTest.java | 127 download(Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testCAR_CLEARKEY_AUDIO_DOWNLOADED_V0_SYNC() 134 download(Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testCAR_CLEARKEY_AUDIO_DOWNLOADED_V1_ASYNC() 141 download(Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testCAR_CLEARKEY_AUDIO_DOWNLOADED_V2_SYNC_CONFIG() 148 download(Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testCAR_CLEARKEY_AUDIO_DOWNLOADED_V3_ASYNC_DRMPREPARED() 155 download(Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testCAR_CLEARKEY_AUDIO_DOWNLOADED_V5_ASYNC_WITH_HANDLER()
|
D | NativeMediaDrmClearkeyTest.java | 153 Uri.parse(Utils.getMediaPath() + CENC_CLEARKEY_VIDEO_PATH).toString())); in testPssh() 310 Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testClearKeyPlaybackCenc() 311 Uri.parse(Utils.getMediaPath() + CENC_CLEARKEY_VIDEO_PATH), in testClearKeyPlaybackCenc() 321 Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH), in testClearKeyPlaybackCenc2() 322 Uri.parse(Utils.getMediaPath() + CENC_CLEARKEY_VIDEO_PATH), in testClearKeyPlaybackCenc2() 332 params.audioUrl = Uri.parse(Utils.getMediaPath() + CENC_AUDIO_PATH).toString(); in testClearKeyGetKeyRequest() 333 params.videoUrl = Uri.parse(Utils.getMediaPath() + CENC_CLEARKEY_VIDEO_PATH).toString(); in testClearKeyGetKeyRequest()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 76 new ImageSpan(mContext, Uri.parse("content://user/a/b")); in testConstructor() 77 new ImageSpan(mContext, Uri.parse("content://user/a/b"), in testConstructor() 79 new ImageSpan(mContext, Uri.parse("content://user/a/b"), in testConstructor() 108 imageSpan = new ImageSpan(mContext, Uri.parse(source)); in testGetSource() 124 imageSpan = new ImageSpan(mContext, Uri.parse("unknown uri.")); in testGetDrawable()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | XmlParser.java | 53 parse(); in getPermissions() 60 private void parse() { in parse() method in XmlParser 66 xmlReader.parse(new InputSource(fileReader)); in parse()
|
D | SoParser.java | 72 parse(); in getDependencies() 80 parse(); in getDynamicLoadingDependencies() 88 parse(); in getAbiBits() 96 parse(); in getAbiArchitecture() 122 parse(); in getExternalApiPackage() 129 parse(); in getInternalApiPackage() 134 private void parse() { in parse() method in SoParser
|
D | ArgumentParser.java | 35 parse(); in getArgumentMap() 76 private void parse() { in parse() method in ArgumentParser
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProviderTest.kt | 47 private val validBaseUri = Uri.parse(VALID_BASE_URI_STRING) 48 private val validActionUri = Uri.parse(VALID_ACTION_URI_STRING) 49 private val shadyActionUri = Uri.parse(SHADY_ACTION_URI_STRING)
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaCodecPlayerTest.java | 45 Uri.parse(Utils.getMediaPath() + CLEAR_AUDIO_PATH), in playOnSurfaces() 46 Uri.parse(Utils.getMediaPath() + CLEAR_VIDEO_PATH), in playOnSurfaces()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | RingtoneManagerTest.java | 137 Uri bogus = Uri.parse("content://a_bogus_uri"); in testAccessMethods() 181 Uri uri = Uri.parse("android.resource://" + PKG + "/" + R.raw.john_cage); in testStopPreviousRingtone() 215 assertTrue(RingtoneManager.hasHapticChannels(Uri.parse(uriPrefix + "a_4_haptic"))); in testHasHapticChannels() 216 assertFalse(RingtoneManager.hasHapticChannels(Uri.parse(uriPrefix + "a_4"))); in testHasHapticChannels() 219 mContext, Uri.parse(uriPrefix + "a_4_haptic"))); in testHasHapticChannels() 220 assertFalse(RingtoneManager.hasHapticChannels(mContext, Uri.parse(uriPrefix + "a_4"))); in testHasHapticChannels()
|
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/ |
D | PackageResolutionTest.java | 42 intent.setData(Uri.parse("https://www.google.com/cts/packageresolution")); in queryActivityOrdered() 62 intent.setData(Uri.parse("https://www.google.com/cts/packageresolution")); in queryServiceOrdered() 82 intent.setData(Uri.parse("https://www.google.com/cts/packageresolution")); in queryReceiverOrdered()
|
/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()
|