/external/libchrome/sandbox/linux/services/ |
D | credentials_unittest.cc | 64 SANDBOX_TEST(Credentials, DropAllCaps) { in SANDBOX_TEST() argument 65 CHECK(Credentials::DropAllCapabilities()); in SANDBOX_TEST() 66 CHECK(!Credentials::HasAnyCapability()); in SANDBOX_TEST() 69 SANDBOX_TEST(Credentials, MoveToNewUserNS) { in SANDBOX_TEST() argument 70 CHECK(Credentials::DropAllCapabilities()); in SANDBOX_TEST() 71 bool moved_to_new_ns = Credentials::MoveToNewUserNS(); in SANDBOX_TEST() 82 CHECK(Credentials::HasAnyCapability()); in SANDBOX_TEST() 83 CHECK(Credentials::DropAllCapabilities()); in SANDBOX_TEST() 84 CHECK(!Credentials::HasAnyCapability()); in SANDBOX_TEST() 87 SANDBOX_TEST(Credentials, CanCreateProcessInNewUserNS) { in SANDBOX_TEST() argument [all …]
|
D | credentials.cc | 141 int CapabilityToKernelValue(Credentials::Capability cap) { in CapabilityToKernelValue() 143 case Credentials::Capability::SYS_CHROOT: in CapabilityToKernelValue() 145 case Credentials::Capability::SYS_ADMIN: in CapabilityToKernelValue() 156 bool Credentials::DropAllCapabilities(int proc_fd) { in DropAllCapabilities() 166 bool Credentials::DropAllCapabilities() { in DropAllCapabilities() 168 return Credentials::DropAllCapabilities(proc_fd.get()); in DropAllCapabilities() 172 bool Credentials::DropAllCapabilitiesOnCurrentThread() { in DropAllCapabilitiesOnCurrentThread() 177 bool Credentials::SetCapabilitiesOnCurrentThread( in SetCapabilitiesOnCurrentThread() 197 bool Credentials::SetCapabilities(int proc_fd, in SetCapabilities() 210 bool Credentials::HasAnyCapability() { in HasAnyCapability() [all …]
|
D | namespace_sandbox_unittest.cc | 50 if (!Credentials::CanCreateProcessInNewUserNS()) { in TestProcWithOptions() 114 CHECK(sandbox::Credentials::MoveToNewUserNS()); in MULTIPROCESS_TEST_MAIN() 115 CHECK(sandbox::Credentials::DropFileSystemAccess(ProcUtil::OpenProc().get())); in MULTIPROCESS_TEST_MAIN() 152 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST_ALLOW_NOISE() 156 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST_ALLOW_NOISE() 174 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST() 178 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST() 185 CHECK(!Credentials::HasAnyCapability()); in SANDBOX_TEST() 196 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST() 200 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST() [all …]
|
D | credentials.h | 27 class SANDBOX_EXPORT Credentials { 101 DISALLOW_IMPLICIT_CONSTRUCTORS(Credentials);
|
D | namespace_utils_unittest.cc | 24 const bool can_create_user_ns = Credentials::CanCreateProcessInNewUserNS(); in SANDBOX_TEST() 36 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | BasicCredentialsProvider.java | 36 import org.apache.http.auth.Credentials; 60 private final HashMap<AuthScope, Credentials> credMap; 67 this.credMap = new HashMap<AuthScope, Credentials>(); in BasicCredentialsProvider() 82 final Credentials credentials) { in setCredentials() 97 private static Credentials matchCredentials( in matchCredentials() 98 final HashMap<AuthScope, Credentials> map, in matchCredentials() 101 Credentials creds = map.get(authscope); in matchCredentials() 129 public synchronized Credentials getCredentials(final AuthScope authscope) { in getCredentials()
|
D | DefaultUserTokenHandler.java | 39 import org.apache.http.auth.Credentials; 86 Credentials creds = authState.getCredentials(); in getAuthPrincipal()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | Credentials.java | 38 public class Credentials extends SIPObject { class 64 public Credentials() { in Credentials() method in Credentials 130 Credentials retval = (Credentials) super.clone(); in clone()
|
/external/apache-http/src/org/apache/http/client/ |
D | CredentialsProvider.java | 34 import org.apache.http.auth.Credentials; 60 void setCredentials(AuthScope authscope, Credentials credentials); in setCredentials() 70 Credentials getCredentials(AuthScope authscope); in getCredentials()
|
/external/apache-http/src/org/apache/http/auth/ |
D | AuthState.java | 56 private Credentials credentials; 107 public Credentials getCredentials() { in getCredentials() 117 public void setCredentials(final Credentials credentials) { in setCredentials()
|
D | Credentials.java | 48 public interface Credentials { interface
|
D | AuthScheme.java | 142 Header authenticate(Credentials credentials, HttpRequest request) in authenticate()
|
D | UsernamePasswordCredentials.java | 53 public class UsernamePasswordCredentials implements Credentials {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | CertInstallerHelper.java | 20 import android.security.Credentials; 179 String key = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in installCertificate() 190 String certName = Credentials.USER_CERTIFICATE + profile.ipsecUserCert; in installCertificate() 191 byte[] certData = Credentials.convertToPem(mUserCert); in installCertificate() 201 String caListName = Credentials.CA_CERTIFICATE + profile.ipsecCaCert; in installCertificate() 203 byte[] caListData = Credentials.convertToPem(caCerts); in installCertificate()
|
D | VpnFacade.java | 38 import android.security.Credentials; 61 for (String key : keyStore.list(Credentials.VPN)) { in loadVpnProfiles() 62 final VpnProfile profile = VpnProfile.decode(key, keyStore.get(Credentials.VPN + key)); in loadVpnProfiles()
|
/external/apache-http/src/org/apache/http/impl/auth/ |
D | BasicScheme.java | 37 import org.apache.http.auth.Credentials; 136 final Credentials credentials, in authenticate() 160 final Credentials credentials, in authenticate()
|
D | DigestScheme.java | 41 import org.apache.http.auth.Credentials; 225 final Credentials credentials, in authenticate() 265 private String createDigest(final Credentials credentials) throws AuthenticationException { in createDigest() 387 final Credentials credentials, in createDigestHeader()
|
D | NTLMScheme.java | 37 import org.apache.http.auth.Credentials; 113 final Credentials credentials, in authenticate()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Credentials.java | 22 public final class Credentials { class 23 private Credentials() { in Credentials() method in Credentials
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | AuthenticatorAdapter.java | 20 import com.squareup.okhttp.Credentials; 50 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticate() 74 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticateProxy()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | Authenticate.java | 19 import com.squareup.okhttp.Credentials; 34 String credential = Credentials.basic("jesse", "password1"); in run()
|
/external/apache-http/src/org/apache/http/client/protocol/ |
D | RequestTargetAuthentication.java | 45 import org.apache.http.auth.Credentials; 93 Credentials creds = authState.getCredentials(); in process()
|
D | RequestProxyAuthentication.java | 45 import org.apache.http.auth.Credentials; 93 Credentials creds = authState.getCredentials(); in process()
|
/external/autotest/client/site_tests/firmware_TouchMTB/public/ |
D | .chromeos.gestures.untrusted.write.boto | 4 # "gs_access_key_id") or remove important markers (like the "[Credentials]" and 14 [Credentials]
|
/external/autotest/apache/conf/ |
D | afe-directives | 19 Header set Access-Control-Allow-Credentials %{AccessControlAllowCredentialsValue}e \
|