/cts/tests/tests/net/src/android/net/cts/ |
CredentialsTest.java | 54 Credentials cred = new Credentials(0, 0, 0); local 55 assertEquals(0, cred.getGid()); 56 assertEquals(0, cred.getPid()); 57 assertEquals(0, cred.getUid()); 60 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE); 61 assertEquals(Integer.MAX_VALUE, cred.getGid()); 62 assertEquals(Integer.MAX_VALUE, cred.getPid()); 63 assertEquals(Integer.MAX_VALUE, cred.getUid()); 66 cred = new Credentials(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE); 67 assertEquals(Integer.MIN_VALUE, cred.getGid()) [all...] |
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/ |
X500PrivateCredentialTest.java | 157 X500PrivateCredential cred= new X500PrivateCredential(cert, key); local 158 X509Certificate c= cred.getCertificate(); 163 X500PrivateCredential cred= new X500PrivateCredential(cert, key); local 164 PrivateKey k= cred.getPrivateKey(); 169 X500PrivateCredential cred= new X500PrivateCredential(cert, key); local 170 cred.destroy(); 171 assertTrue(cred.isDestroyed()); 175 X500PrivateCredential cred= new X500PrivateCredential(cert, key); local 176 cred.destroy(); 177 String al= cred.getAlias() 182 X500PrivateCredential cred= new X500PrivateCredential(cert, key, "ALIAS"); local [all...] |
/system/core/libcutils/ |
uevent.c | 62 struct ucred *cred = (struct ucred *)CMSG_DATA(cmsg); local 63 if (cred->uid != 0) {
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
tlsv1_cred.c | 26 struct tlsv1_credentials *cred; local 27 cred = os_zalloc(sizeof(*cred)); 28 return cred; 32 void tlsv1_cred_free(struct tlsv1_credentials *cred) 34 if (cred == NULL) 37 x509_certificate_chain_free(cred->trusted_certs); 38 x509_certificate_chain_free(cred->cert); 39 crypto_private_key_free(cred->key); 40 os_free(cred->dh_p) [all...] |
tlsv1_client_i.h | 66 struct tlsv1_credentials *cred; member in struct:tlsv1_client
|
tlsv1_server_i.h | 49 struct tlsv1_credentials *cred; member in struct:tlsv1_server
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_cred.c | 26 struct tlsv1_credentials *cred; local 27 cred = os_zalloc(sizeof(*cred)); 28 return cred; 32 void tlsv1_cred_free(struct tlsv1_credentials *cred) 34 if (cred == NULL) 37 x509_certificate_chain_free(cred->trusted_certs); 38 x509_certificate_chain_free(cred->cert); 39 crypto_private_key_free(cred->key); 40 os_free(cred->dh_p) [all...] |
tlsv1_client_i.h | 67 struct tlsv1_credentials *cred; member in struct:tlsv1_client
|
tlsv1_server_i.h | 49 struct tlsv1_credentials *cred; member in struct:tlsv1_server
|
/external/chromium/chrome/browser/ |
crash_handler_host_linux.cc | 208 const struct ucred *cred = local 210 crashing_pid = cred->pid;
|