Searched refs:mSettings (Results 1 – 5 of 5) sorted by relevance
97 private WebSettings mSettings; field in WebSettingsTest108 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 …]
42 private ServiceWorkerWebSettings mSettings; field in ServiceWorkerWebSettingsTest55 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 …]
33 private WebSettings mSettings; field in WebViewDarkModeTestBase39 mSettings = mOnUiThread.getSettings(); in init()40 mSettings.setJavaScriptEnabled(true); in init()66 return mSettings; in getSettings()
697 private ImeSettings mSettings; field in MockIme776 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 …]
65 volatile MockA11yImeSettings mSettings; field in MockA11yIme104 mSettings = MockA11yImeContentProvider.getSettings(); in onCreate()105 if (mSettings == null) { in onCreate()