Home
last modified time | relevance | path

Searched refs:NetworkSecurityPolicy (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/libcore-stub/src/main/java/libcore/net/
DNetworkSecurityPolicy.java29 public abstract class NetworkSecurityPolicy { class
31 private static volatile NetworkSecurityPolicy instance = new DefaultNetworkSecurityPolicy();
33 public static NetworkSecurityPolicy getInstance() { in getInstance()
37 public static void setInstance(NetworkSecurityPolicy policy) { in setInstance()
82 public static final class DefaultNetworkSecurityPolicy extends NetworkSecurityPolicy {
/external/okhttp/android/src/main/java/com/squareup/okhttp/
DHttpHandler.java22 import libcore.net.NetworkSecurityPolicy;
122 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(host)) { in checkURLPermitted()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/
DHttpHandler.java23 import libcore.net.NetworkSecurityPolicy;
126 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(host)) { in checkURLPermitted()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java63 import libcore.net.NetworkSecurityPolicy;
489 return NetworkSecurityPolicy.getInstance().isCertificateTransparencyVerificationRequired( in isCTVerificationRequired()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java71 import libcore.net.NetworkSecurityPolicy;
490 return NetworkSecurityPolicy.getInstance().isCertificateTransparencyVerificationRequired( in isCTVerificationRequired()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java42 import android.security.NetworkSecurityPolicy;
2274 && !NetworkSecurityPolicy.getInstance() in isTrafficRestricted()