Home
last modified time | relevance | path

Searched refs:mSettings (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java97 private WebSettings mSettings; field in WebSettingsTest
108 mSettings = mOnUiThread.getSettings(); in setUp()
157 checkUserAgentStringHelper(mSettings.getUserAgentString(), true); in testUserAgentString_default()
242 String defaultUserAgent = mSettings.getUserAgentString(); in testAccessUserAgentString()
248 mSettings.setUserAgentString(null); in testAccessUserAgentString()
249 assertEquals(defaultUserAgent, mSettings.getUserAgentString()); in testAccessUserAgentString()
254 mSettings.setUserAgentString(""); in testAccessUserAgentString()
255 assertEquals(defaultUserAgent, mSettings.getUserAgentString()); in testAccessUserAgentString()
260 mSettings.setUserAgentString(customUserAgent); in testAccessUserAgentString()
261 assertEquals(customUserAgent, mSettings.getUserAgentString()); in testAccessUserAgentString()
[all …]
DServiceWorkerWebSettingsTest.java42 private ServiceWorkerWebSettings mSettings; field in ServiceWorkerWebSettingsTest
55 mSettings = ServiceWorkerController.getInstance().getServiceWorkerWebSettings(); in setUp()
94 assertEquals(i, mSettings.getCacheMode()); in testCacheMode()
96 mSettings.setCacheMode(i); in testCacheMode()
97 assertEquals(i, mSettings.getCacheMode()); in testCacheMode()
108 assertEquals(mSettings.getAllowContentAccess(), true); in testAllowContentAccess()
110 mSettings.setAllowContentAccess(b); in testAllowContentAccess()
111 assertEquals(b, mSettings.getAllowContentAccess()); in testAllowContentAccess()
122 assertEquals(mSettings.getAllowFileAccess(), true); in testAllowFileAccess()
124 mSettings.setAllowFileAccess(b); in testAllowFileAccess()
[all …]
DWebViewDarkModeTestBase.java33 private WebSettings mSettings; field in WebViewDarkModeTestBase
39 mSettings = mOnUiThread.getSettings(); in init()
40 mSettings.setJavaScriptEnabled(true); in init()
66 return mSettings; in getSettings()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java697 private ImeSettings mSettings; field in MockIme
776 mSettings = SettingsProvider.getSettings(); in onCreate()
777 if (mSettings == null) { in onCreate()
781 mClientPackageName.set(mSettings.getClientPackageName()); in onCreate()
784 if (mSettings.isStrictModeEnabled()) { in onCreate()
794 if (mSettings.isOnBackCallbackEnabled()) { in onCreate()
806 mSettings.getChannel().registerListener(mCommandHandler); in onCreate()
808 if (mSettings.isWindowLayoutInfoCallbackEnabled()) { in onCreate()
812 if (mSettings.isVerifyContextApisInOnCreate()) { in onCreate()
816 final int windowFlags = mSettings.getWindowFlags(0); in onCreate()
[all …]
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java65 volatile MockA11yImeSettings mSettings; field in MockA11yIme
104 mSettings = MockA11yImeContentProvider.getSettings(); in onCreate()
105 if (mSettings == null) { in onCreate()