/system/security/keystore/ |
D | key_store_service.cpp | 113 KeyStoreServiceReturnCode updateParamsForAttestation(uid_t callingUid, AuthorizationSet* params) { in updateParamsForAttestation() argument 121 auto asn1_attestation_id_result = security::gather_attestation_application_id(callingUid); in updateParamsForAttestation() 284 const int32_t callingUid = IPCThreadState::self()->getCallingUid(); in listUidsOfAuthBoundKeys() local 285 const int32_t userId = get_user_id(callingUid); in listUidsOfAuthBoundKeys() 286 const int32_t appId = get_app_id(callingUid); in listUidsOfAuthBoundKeys() 481 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in grant() local 490 auto lockedEntry = mKeyStore->getLockedBlobEntryIfExists(name8.string(), callingUid); in grant() 501 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in ungrant() local 511 auto lockedEntry = mKeyStore->getLockedBlobEntryIfExists(name8.string(), callingUid); in ungrant() 678 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in getKeyCharacteristics() local [all …]
|
D | permissions.cpp | 201 bool is_granted_to(uid_t callingUid, uid_t targetUid) { in is_granted_to() argument 202 if (callingUid == targetUid) { in is_granted_to() 207 if (user.euid == callingUid && user.uid == targetUid) { in is_granted_to()
|
D | permissions.h | 65 bool is_granted_to(uid_t callingUid, uid_t targetUid);
|
D | confirmation_manager.cpp | 73 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in presentConfirmationPrompt() local 74 if (!mRateLimiting.tryPrompt(callingUid)) { in presentConfirmationPrompt()
|
/system/security/identity/ |
D | CredentialStore.cpp | 65 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in createCredential() local 67 CredentialData::credentialExists(dataPath_, callingUid, credentialName); in createCredential() 101 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in getCredentialByName() local 103 CredentialData::credentialExists(dataPath_, callingUid, credentialName); in getCredentialByName()
|
D | WritableCredential.cpp | 54 const int32_t callingUid = IPCThreadState::self()->getCallingUid(); in ensureAttestationCertificateExists() local 55 auto asn1AttestationId = android::security::gather_attestation_application_id(callingUid); in ensureAttestationCertificateExists() 157 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in personalize() local 158 CredentialData data = CredentialData(dataPath_, callingUid, credentialName_); in personalize()
|
D | Credential.cpp | 67 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in loadCredential() local 68 sp<CredentialData> data = new CredentialData(dataPath_, callingUid, credentialName_); in loadCredential()
|
/system/bt/include/hardware/ |
D | bt_sock.h | 66 int* sock_fd, int flags, int callingUid); 77 int flags, int callingUid);
|
/system/netd/server/ |
D | TrafficControllerTest.cpp | 133 uid_t callingUid) { in setUpSocketAndTag() argument 138 EXPECT_EQ(0, mTc.tagSocket(sock, tag, uid, callingUid)); in setUpSocketAndTag() 385 std::vector<uid_t> callingUid = {TEST_UID2}; in TEST_F() local 386 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, callingUid); in TEST_F() 397 mTc.setPermissionForUids(INetd::PERMISSION_NONE, callingUid); in TEST_F() 440 uid_t callingUid = TEST_UID2; in TEST_F() local 441 addPrivilegedUid(callingUid); in TEST_F() 442 ASSERT_EQ(0, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, callingUid)); in TEST_F() 447 ASSERT_EQ(0, mTc.setCounterSet(DEFAULT_COUNTERSET, TEST_UID, callingUid)); in TEST_F() 464 uid_t callingUid = TEST_UID2; in TEST_F() local [all …]
|
D | TrafficController.h | 56 int tagSocket(int sockFd, uint32_t tag, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 68 int setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 78 int deleteTagData(uint32_t tag, uid_t uid, uid_t callingUid) EXCLUDES(mMutex);
|
D | TrafficController.cpp | 311 int TrafficController::tagSocket(int sockFd, uint32_t tag, uid_t uid, uid_t callingUid) { in tagSocket() argument 313 if (uid != callingUid && !hasUpdateDeviceStatsPermission(callingUid)) { in tagSocket() 400 int TrafficController::setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) { in setCounterSet() argument 404 if (!hasUpdateDeviceStatsPermission(callingUid)) return -EPERM; in setCounterSet() 435 int TrafficController::deleteTagData(uint32_t tag, uid_t uid, uid_t callingUid) { in deleteTagData() argument 437 if (!hasUpdateDeviceStatsPermission(callingUid)) return -EPERM; in deleteTagData()
|