Searched refs:oldPolicy (Results 1 – 11 of 11) sorted by relevance
45 StrictMode.VmPolicy oldPolicy = StrictMode.getVmPolicy(); in allowAllVmPolicies() local47 return new StrictModeContext(oldPolicy); in allowAllVmPolicies()54 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskWrites(); in allowDiskWrites() local55 return new StrictModeContext(oldPolicy); in allowDiskWrites()62 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in allowDiskReads() local63 return new StrictModeContext(oldPolicy); in allowDiskReads()70 StrictMode.ThreadPolicy oldPolicy = StrictMode.getThreadPolicy(); in allowSlowCalls() local72 new StrictMode.ThreadPolicy.Builder(oldPolicy).permitCustomSlowCalls().build()); in allowSlowCalls()73 return new StrictModeContext(oldPolicy); in allowSlowCalls()
31 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getDefaultTimeZoneId() local33 StrictMode.setThreadPolicy(oldPolicy); in getDefaultTimeZoneId()
63 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in detectAmountOfPhysicalMemoryKB() local98 StrictMode.setThreadPolicy(oldPolicy); in detectAmountOfPhysicalMemoryKB()
120 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in maybeEnable() local132 StrictMode.setThreadPolicy(oldPolicy); in maybeEnable()
459 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in getDrawable() local467 StrictMode.setThreadPolicy(oldPolicy); in getDrawable()
167 Policy oldPolicy = Policy.getPolicy(); in testUnloadableWithSecurityManager() local175 Policy.setPolicy(oldPolicy); in testUnloadableWithSecurityManager()200 Policy oldPolicy = Policy.getPolicy(); in testUnloadableInStaticFieldIfClosed() local209 Policy.setPolicy(oldPolicy); in testUnloadableInStaticFieldIfClosed()
333 AttributePolicy oldPolicy = globalAttrPolicies.get(attributeName); in allowAttributesGlobally() local335 attributeName, AttributePolicy.Util.join(oldPolicy, policy)); in allowAttributesGlobally()351 AttributePolicy oldPolicy = policies.get(attributeName); in allowAttributesOnElements() local354 AttributePolicy.Util.join(oldPolicy, policy)); in allowAttributesOnElements()
313 StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); in isNotPrefetchingLibraries() local318 StrictMode.setThreadPolicy(oldPolicy); in isNotPrefetchingLibraries()
META-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/ ...
META-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...