Home
last modified time | relevance | path

Searched refs:getAssetUrl (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java504 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()
513 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()
533 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate()
541 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate()
555 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences()
603 final String errorUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslError()
628 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed()
649 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorCancel()
664 final String firstUrl = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL1); in testSslErrorProceedResponseReusedForSameHost()
673 final String sameHostUrl = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL2); in testSslErrorProceedResponseReusedForSameHost()
[all …]
DWebChromeClientTest.java95 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged()
114 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle()
146 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon()
172 getAssetUrl(TestHtmlConstants.JS_WINDOW_URL)); in runWindowTest()
245 mWebServer.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL)); in testOnJsBeforeUnloadIsCalled()
255 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testOnJsBeforeUnloadIsCalled()
273 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); in testOnJsAlert()
298 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); in testOnJsConfirm()
325 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); in testOnJsPrompt()
DWebBackForwardListTest.java70 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGetCurrentItem()
71 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); in testGetCurrentItem()
72 String url3 = server.getAssetUrl(TestHtmlConstants.HTML_URL3); in testGetCurrentItem()
DWebViewTest.java331 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()
366 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()
406 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
429 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap()
456 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCanInjectHeaders()
479 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testGetVisibleTitleHeight()
491 final String finalUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testGetOriginalUrl()
557 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGoBackAndForward()
558 String url2 = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL2); in testGoBackAndForward()
559 String url3 = mWebServer.getAssetUrl(TestHtmlConstants.HTML_URL3); in testGoBackAndForward()
[all …]
DWebViewClientTest.java179 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow()
193 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow()
224 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage()
320 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource()
336 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError()
353 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission()
379 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testDoUpdateVisitedHistory()
380 String url2 = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testDoUpdateVisitedHistory()
446 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnScaleChanged()
642 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnSafeBrowsingHitBackToSafety()
[all …]
DWebHistoryItemTest.java96 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem()
115 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testWebHistoryItem()
DWebSettingsTest.java507 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.POPUP_URL)); in testAccessJavaScriptCanOpenWindowsAutomatically()
518 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.POPUP_URL)); in testAccessJavaScriptCanOpenWindowsAutomatically()
805 final String url = mWebServer.getAssetUrl(TestHtmlConstants.DATABASE_ACCESS_URL); in testDatabaseDisabled()
944 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testBlockNetworkLoads()
955 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testBlockNetworkLoads()
965 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testBlockNetworkLoads()
1272 String url = mWebServer.getAssetUrl(asset); in loadAssetUrl()
1282 mWebServer.getAssetUrl(TestHtmlConstants.SMALL_IMG_URL) + in getNetworkImageHtml()
DWebViewZoomTest.java116 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in setUpPage()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java289 stream_url = mServer.getAssetUrl(name); in localHttpAudioStreamTest()
347 stream_url = mServer.getAssetUrl(name); in localHttpsAudioStreamTest()
417 String stream_url = mServer.getAssetUrl("prog_index.m3u8"); in testPlayHlsStreamWithTimedId3()
614 stream_url = mServer.getAssetUrl(name); in localHlsTest()
DNativeDecoderTest.java140 testExtractor(foo.getAssetUrl("noiseandchirps.ogg")); in testExtractor()
141 testExtractor(foo.getAssetUrl("ringer.mp3")); in testExtractor()
146 testExtractor(foo.getAssetUrl("noiseandchirps.ogg"), keys, values); in testExtractor()
157 testExtractor(foo.getAssetUrl("noiseandchirps.ogg"), emptyArray, emptyArray); in testExtractor()
308 String url = foo.getAssetUrl("ringer.mp3"); in testExtractorCachedDurationNative()
806 final String url = slowServer.getAssetUrl("noiseandchirps.ogg"); in testAMediaDataSourceClose()
D.goutputstream-9KZYJZ348 stream_url = mServer.getAssetUrl(name);
415 stream_url = mServer.getAssetUrl(name);
466 String stream_url = mServer.getAssetUrl(name);
595 String stream_url = mServer.getAssetUrl("prog_index.m3u8");
803 stream_url = mServer.getAssetUrl(name);
DMediaPlayerFlakyNetworkTest.java252 String stream_url = mServer.getAssetUrl(name); in localHttpStreamTest()
DMediaExtractorTest.java452 String url = foo.getAssetUrl("ringer.mp3"); in testExtractorGetCachedDuration()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java287 Request requestNoExt = new Request(getAssetUrl(noExt)); in testDownloadManagerDestinationExtension()
291 Request requestWrongExt = new Request(getAssetUrl(wrongExt)); in testDownloadManagerDestinationExtension()
618 getAssetUrl(subPath)); in testDownload_mediaScanned()
DDownloadManagerTestBase.java336 protected Uri getAssetUrl(String asset) { in getAssetUrl() method in DownloadManagerTestBase
337 return Uri.parse(mWebServer.getAssetUrl(asset)); in getAssetUrl()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java226 url = new URL(webServer.getAssetUrl("hello.html")); in testNetworkAccess()
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java168 = new DownloadManager.Request(getAssetUrl(fileName)); in testDownloadManager_mediaStoreEntry()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java282 public String getAssetUrl(String path) { in getAssetUrl() method in CtsTestServer
366 sb.append(URLEncoder.encode(getAssetUrl(path), "UTF-8")); in getQueryRedirectingAssetUrl()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1465 String url = server.getAssetUrl("raw/" + rname); in doStagefrightTest()