HomeSort by relevance Sort by last modified time
    Searched refs:oldPolicy (Results 1 - 11 of 11) sorted by null

  /external/libchrome/base/android/java/src/org/chromium/base/
StrictModeContext.java 45 StrictMode.VmPolicy oldPolicy = StrictMode.getVmPolicy();
47 return new StrictModeContext(oldPolicy);
54 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites();
55 return new StrictModeContext(oldPolicy);
62 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads();
63 return new StrictModeContext(oldPolicy);
70 StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
72 new StrictMode.ThreadPolicy.Builder(oldPolicy).permitCustomSlowCalls().build());
73 return new StrictModeContext(oldPolicy);
TimezoneUtils.java 31 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads();
33 StrictMode.setThreadPolicy(oldPolicy);
  /external/guava/guava-tests/test/com/google/common/base/
FinalizableReferenceQueueClassLoaderUnloadingTest.java 151 Policy oldPolicy = Policy.getPolicy();
159 Policy.setPolicy(oldPolicy);
180 Policy oldPolicy = Policy.getPolicy();
189 Policy.setPolicy(oldPolicy);
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewZoomTest.java 99 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
100 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy)
106 StrictMode.setThreadPolicy(oldPolicy);
WebViewSslTest.java     [all...]
WebViewTest.java 210 ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
211 ThreadPolicy tmpPolicy = new ThreadPolicy.Builder(oldPolicy)
217 StrictMode.setThreadPolicy(oldPolicy);
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/
HtmlPolicyBuilder.java 333 AttributePolicy oldPolicy = globalAttrPolicies.get(attributeName);
335 attributeName, AttributePolicy.Util.join(oldPolicy, policy));
351 AttributePolicy oldPolicy = policies.get(attributeName);
354 AttributePolicy.Util.join(oldPolicy, policy));
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerCtsTestsBase.java 289 final ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
299 StrictMode.setThreadPolicy(oldPolicy);
304 final ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
311 StrictMode.setThreadPolicy(oldPolicy);
  /cts/tests/tests/content/src/android/content/cts/
SharedPreferencesTest.java 335 final StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
353 StrictMode.setThreadPolicy(oldPolicy);
  /external/owasp/sanitizer/distrib/lib/
owasp-java-html-sanitizer.jar 
  /cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java     [all...]

Completed in 643 milliseconds