/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 | 51 if (!Credentials::CanCreateProcessInNewUserNS()) { in TestProcWithOptions() 115 CHECK(sandbox::Credentials::MoveToNewUserNS()); in MULTIPROCESS_TEST_MAIN() 116 CHECK(sandbox::Credentials::DropFileSystemAccess(ProcUtil::OpenProc().get())); in MULTIPROCESS_TEST_MAIN() 153 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST_ALLOW_NOISE() 157 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST_ALLOW_NOISE() 175 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST() 179 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST() 186 CHECK(!Credentials::HasAnyCapability()); in SANDBOX_TEST() 197 if (!Credentials::CanCreateProcessInNewUserNS()) { in SANDBOX_TEST() 201 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST() [all …]
|
D | credentials.h | 28 class SANDBOX_EXPORT Credentials { 102 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sts/ |
D | test_credentials.py | 3 from boto.sts.credentials import Credentials 11 self.creds = Credentials() 26 creds = Credentials()
|
/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()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
D | test_django_orm.py | 39 from oauth2client.client import Credentials 56 self.credentials = Credentials() 63 self.assertTrue(isinstance(self.field.to_python(self.pickle), Credentials))
|
D | test_gce.py | 29 from oauth2client.client import Credentials 65 c2 = Credentials.new_from_json(json)
|
/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()
|
/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/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | keyring_storage.py | 26 from oauth2client.client import Credentials 88 credentials = Credentials.new_from_json(content)
|
D | file.py | 26 from oauth2client.client import Credentials 79 credentials = Credentials.new_from_json(content)
|
D | appengine.py | 46 from oauth2client.client import Credentials 277 data_type = Credentials 298 credentials = Credentials.new_from_json(value) 306 if value is not None and not isinstance(value, Credentials): 339 if value is not None and not isinstance(value, Credentials): 371 credentials = Credentials.new_from_json(value) 463 credentials = Credentials.new_from_json(json)
|
/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sts/ |
D | credentials.py | 30 class Credentials(object): class 162 self.credentials = Credentials() 192 self.credentials = Credentials()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/sts/ |
D | test_session_token.py | 31 from boto.sts.credentials import Credentials 49 token_copy = Credentials.load('token.json')
|
/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()
|