/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 63 if (TestEnvironment.getTestEnvironment().getExpectedWork() != null) { in onDestroy() 64 TestEnvironment.getTestEnvironment().notifyExecution(mParams, 0, 0, mReceivedWork, in onDestroy() 90 TestWorkItem[] expectedWork = TestEnvironment.getTestEnvironment().getExpectedWork(); in onStartJob() 93 if (!TestEnvironment.getTestEnvironment().awaitDoWork()) { in onStartJob() 94 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead, in onStartJob() 99 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead, in onStartJob() 122 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob() 135 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob() 154 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob() 167 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob() [all …]
|
D | TriggerContentJobService.java | 77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob() 78 mRunningJobInfo = TestEnvironment.getTestEnvironment().getModeJobInfo(); in onStartJob() 79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null); in onStartJob() 80 TestEnvironment.getTestEnvironment().notifyExecution(params); in onStartJob() 119 public static TestEnvironment getTestEnvironment() { in getTestEnvironment() method in TriggerContentJobService.TestEnvironment
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 71 if (TestEnvironment.getTestEnvironment().getExpectedWork() != null) { in onDestroy() 72 TestEnvironment.getTestEnvironment().notifyExecution(this, mParams, 0, 0, mReceivedWork, in onDestroy() 87 TestEnvironment.getTestEnvironment().addEvent( in onStartJob() 92 TestEnvironment.getTestEnvironment().getJobStartNotification(); in onStartJob() 95 TestEnvironment.getTestEnvironment().getJobStartNotificationId(), in onStartJob() 97 TestEnvironment.getTestEnvironment().getJobStartNotificationEndPolicy()); in onStartJob() 109 TestWorkItem[] expectedWork = TestEnvironment.getTestEnvironment().getExpectedWork(); in onStartJob() 112 if (!TestEnvironment.getTestEnvironment().awaitDoWork()) { in onStartJob() 113 TestEnvironment.getTestEnvironment().notifyExecution(this, in onStartJob() 119 TestEnvironment.getTestEnvironment().notifyExecution(this, in onStartJob() [all …]
|
D | TriggerContentJobService.java | 77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob() 78 mRunningJobInfo = TestEnvironment.getTestEnvironment().getModeJobInfo(); in onStartJob() 79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null); in onStartJob() 80 TestEnvironment.getTestEnvironment().notifyExecution(params); in onStartJob() 119 public static TestEnvironment getTestEnvironment() { in getTestEnvironment() method in TriggerContentJobService.TestEnvironment
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 456 mWebView = getTestEnvironment().getWebView(); in setUp() 532 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testInsecureSiteClearsCertificate() 542 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testInsecureSiteClearsCertificate() 550 SharedWebViewTestEnvironment testEnvironment = getTestEnvironment(); in testSecureSiteSetsCertificate() 583 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testClearSslPreferences() 632 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testOnReceivedSslError() 655 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testOnReceivedSslErrorProceed() 674 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testOnReceivedSslErrorCancel() 687 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testSslErrorProceedResponseReusedForSameHost() 710 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.NO_CLIENT_AUTH); in testSslErrorProceedResponseNotReusedForDifferentHost() [all …]
|
D | WebViewClientTest.java | 92 WebView webview = getTestEnvironment().getWebView(); in setUp() 182 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testShouldOverrideUrlLoadingOnCreateWindow() 204 getTestEnvironment().addContentView(childWebView, new ViewGroup.LayoutParams( in testShouldOverrideUrlLoadingOnCreateWindow() 270 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testLoadPage() 313 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedLoginRequest() 352 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedErrorForSubresource() 367 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedHttpError() 380 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnFormResubmission() 406 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testDoUpdateVisitedHistory() 425 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testOnReceivedHttpAuthRequest() [all …]
|
D | WebSettingsTest.java | 104 WebView webview = getTestEnvironment().getWebView(); in setUp() 109 mContext = getTestEnvironment().getContext(); in setUp() 239 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessUserAgentString() 312 getTestEnvironment().waitForIdleSync(); in openIconDatabase() 321 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessCacheMode_cacheElseNetwork() 344 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessCacheMode_noCache() 367 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessCacheMode_cacheOnly() 494 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAccessJavaScriptCanOpenWindowsAutomatically() 710 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppCacheDisabled() 734 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppCacheEnabled() [all …]
|
D | WebViewTest.java | 160 mWebView = getTestEnvironment().getWebView(); in setUp() 162 mContext = getTestEnvironment().getContext(); in setUp() 322 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testLoadUrl() 356 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testPostUrlWithNetworkUrl() 360 final byte[] postData = getTestEnvironment().getEncodingBytes(postDataString, "BASE64"); in testPostUrlWithNetworkUrl() 388 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() 412 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAppCanInjectHeadersViaImmutableMap() 441 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testCanInjectHeaders() 460 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetVisibleTitleHeight() 472 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetOriginalUrl() [all …]
|
D | WebHistoryItemTest.java | 76 WebView webview = getTestEnvironment().getWebView(); in setUp() 80 mContext = getTestEnvironment().getContext(); in setUp() 81 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
|
D | WebChromeClientTest.java | 78 WebView webview = getTestEnvironment().getWebView(); in setUp() 82 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp() 167 String dbPath = getTestEnvironment().getContext().getFilesDir().toString() + "/icons"; in testOnReceivedIcon() 170 getTestEnvironment().waitForIdleSync(); in testOnReceivedIcon() 424 getTestEnvironment().sendTapSync(middleX, middleY); in tapWebView() 427 getTestEnvironment().waitForIdleSync(); in tapWebView() 578 mChildWebView = new WebView(getTestEnvironment().getContext()); in onCreateWindow() 583 getTestEnvironment().addContentView(mChildWebView, new ViewGroup.LayoutParams( in onCreateWindow()
|
D | CookieManagerTest.java | 68 WebView webView = getTestEnvironment().getWebView(); in setUp() 137 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testAcceptCookie() 352 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testThirdPartyCookie() 392 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testSameSiteLaxByDefault() 408 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testSameSiteNoneRequiresSecure() 422 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testSchemefulSameSite() 429 SharedSdkWebServer secureServer = getTestEnvironment() in testSchemefulSameSite()
|
D | WebBackForwardListTest.java | 53 WebView webview = getTestEnvironment().getWebView(); in setUp() 98 SharedSdkWebServer server = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in testGetCurrentItem()
|
D | WebViewTransportTest.java | 66 WebView webView = getTestEnvironment().getWebView(); in testAccessWebView()
|
D | HttpAuthHandlerTest.java | 62 WebView webview = getTestEnvironment().getWebView(); in setUp() 67 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.INSECURE); in setUp()
|
D | ServiceWorkerWebSettingsTest.java | 51 WebView webview = getTestEnvironment().getWebView(); in setUp()
|
D | DateSorterTest.java | 46 mContext = getTestEnvironment().getContext(); in setUp()
|
D | WebViewZoomTest.java | 74 mWebView = getTestEnvironment().getWebView(); in setUp() 137 mWebServer = getTestEnvironment().getSetupWebServer(SslMode.TRUST_ANY_CLIENT); in setUpPage()
|
D | WebViewRenderProcessTest.java | 60 WebView webview = getTestEnvironment().getWebView(); in setUp()
|
D | WebViewRenderProcessClientTest.java | 61 WebView webview = getTestEnvironment().getWebView(); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraContentJobService.java | 50 TestEnvironment.getTestEnvironment().notifyExecution(params); in onStartJob() 72 public static TestEnvironment getTestEnvironment() { in getTestEnvironment() method in CameraContentJobService.TestEnvironment
|
/cts/libs/webkit-shared/src/android/webkit/cts/ |
D | SharedWebViewTest.java | 37 public SharedWebViewTestEnvironment getTestEnvironment() { in getTestEnvironment() method in SharedWebViewTest
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | ConstraintTest.java | 51 MockJobService.TestEnvironment.getTestEnvironment(); 53 TriggerContentJobService.TestEnvironment.getTestEnvironment();
|
/cts/libs/webkit-shared/ |
D | README.md | 94 Search for `getTestEnvironment()`. This method returns a `SharedWebViewTestEnvironment`. 111 + getTestEnvironment().waitForIdleSync(); 123 mWebView = getTestEnvironment().getWebView();
|
/cts/tests/tests/sdksandbox/webkit/sdk/src/com/android/cts/sdk/ |
D | WebViewSandboxTestSdk.java | 89 WebView webView = mTestInstance.getTestEnvironment().getWebView(); in cleanUpOnTestFinish()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BaseJobSchedulerTest.java | 64 MockJobService.TestEnvironment.getTestEnvironment(); 66 TriggerContentJobService.TestEnvironment.getTestEnvironment();
|