Searched refs:cred (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/ |
D | CredentialTest.java | 58 Credential cred = new Credential(); in createCredential() local 59 cred.setCreationTimeInMillis(123455L); in createCredential() 60 cred.setExpirationTimeInMillis(2310093L); in createCredential() 61 cred.setRealm("realm"); in createCredential() 62 cred.setCheckAaaServerCertStatus(true); in createCredential() 63 cred.setUserCredential(userCred); in createCredential() 64 cred.setCertCredential(certCred); in createCredential() 65 cred.setSimCredential(simCred); in createCredential() 66 cred.setCaCertificate(caCert); in createCredential() 67 cred.setClientCertificateChain(clientCertificateChain); in createCredential() [all …]
|
/frameworks/base/cmds/statsd/src/socket/ |
D | StatsSocketListener.cpp | 81 struct ucred* cred = NULL; in onDataAvailable() local 86 cred = (struct ucred*)CMSG_DATA(cmsg); in onDataAvailable() 93 if (cred == NULL) { in onDataAvailable() 94 cred = &fake_cred; in onDataAvailable() 95 cred->pid = 0; in onDataAvailable() 96 cred->uid = DEFAULT_OVERFLOWUID; in onDataAvailable() 107 msg.entry.pid = cred->pid; in onDataAvailable() 108 msg.entry.uid = cred->uid; in onDataAvailable()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointConfigurationTest.java | 67 Credential cred = new Credential(); in createCredential() local 68 cred.setRealm("realm"); in createCredential() 69 cred.setUserCredential(null); in createCredential() 70 cred.setCertCredential(null); in createCredential() 71 cred.setSimCredential(new Credential.SimCredential()); in createCredential() 72 cred.getSimCredential().setImsi("1234*"); in createCredential() 73 cred.getSimCredential().setEapType(EAPConstants.EAP_SIM); in createCredential() 74 cred.setCaCertificate(null); in createCredential() 75 cred.setClientCertificateChain(null); in createCredential() 76 cred.setClientPrivateKey(null); in createCredential() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | ipc_helper.cpp | 181 const ucred* cred, const iovec* data_vec, in Send() argument 207 if (cred || !file_handles_.empty()) { in Send() 209 msg.msg_controllen = (cred ? CMSG_SPACE(sizeof(ucred)) : 0) + in Send() 214 if (cred) { in Send() 218 memcpy(CMSG_DATA(control), cred, sizeof(ucred)); in Send() 284 ucred* cred) { in Receive() argument 314 cred && cmsg->cmsg_len == CMSG_LEN(sizeof(ucred))) { in Receive() 316 memcpy(cred, CMSG_DATA(cmsg), sizeof(ucred)); in Receive() 332 if (cred && !cred_available) { in Receive() 404 request->cred.pid = getpid(); in InitRequest() [all …]
|
D | service_endpoint.cpp | 513 info.pid = request.cred.pid; in ReceiveMessageForChannel() 518 info.euid = request.cred.uid; in ReceiveMessageForChannel() 519 info.egid = request.cred.gid; in ReceiveMessageForChannel()
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
D | ipc_helper.h | 62 Status<void> Send(const BorrowedHandle& socket_fd, const ucred* cred, 90 Status<void> Receive(const BorrowedHandle& socket_fd, ucred* cred); 134 ucred cred; variable 177 return payload.Send(socket_fd, &request.cred, data_vec, vec_count); 198 Status<void> status = payload.Receive(socket_fd, &request->cred); in ReceiveData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 488 CredentialHash cred = mStorage.readCredentialHash(userId); in assertPasswordBytes() local 489 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, cred.type); in assertPasswordBytes() 490 assertArrayEquals(password, cred.hash); in assertPasswordBytes() 494 CredentialHash cred = mStorage.readCredentialHash(userId); in assertPatternBytes() local 495 assertEquals(LockPatternUtils.CREDENTIAL_TYPE_PATTERN, cred.type); in assertPatternBytes() 496 assertArrayEquals(pattern, cred.hash); in assertPatternBytes()
|