Searched defs:permitted (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/security/
H A DNetworkSecurityPolicy.java32 * permitted. See {@link #isCleartextTrafficPermitted()}.
52 * without TLS or STARTTLS) is permitted for all network communication from this process.
54 * <p>When cleartext network traffic is not permitted, the platform's components (e.g. HTTP and
74 * TLS or STARTTLS) is permitted for communicating with {@code hostname} for this process.
84 * Sets whether cleartext network traffic is permitted for this process.
91 public void setCleartextTrafficPermitted(boolean permitted) { argument
92 FrameworkNetworkSecurityPolicy policy = new FrameworkNetworkSecurityPolicy(permitted);
/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp241 static void SetCapabilities(JNIEnv* env, int64_t permitted, int64_t effective) { argument
251 capdata[0].permitted = permitted;
252 capdata[1].permitted = permitted >> 32;
255 ALOGE("capset(%" PRId64 ", %" PRId64 ") failed", permitted, effective);

Completed in 82 milliseconds