Searched refs:callingUid (Results 1 – 8 of 8) sorted by relevance
/system/security/keystore/ |
D | key_store_service.cpp | 115 KeyStoreServiceReturnCode updateParamsForAttestation(uid_t callingUid, AuthorizationSet* params) { in updateParamsForAttestation() argument 123 auto asn1_attestation_id_result = security::gather_attestation_application_id(callingUid); in updateParamsForAttestation() 292 const int32_t callingUid = IPCThreadState::self()->getCallingUid(); in listUidsOfAuthBoundKeys() local 293 const int32_t userId = get_user_id(callingUid); in listUidsOfAuthBoundKeys() 294 const int32_t appId = get_app_id(callingUid); in listUidsOfAuthBoundKeys() 361 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in reset() local 362 mKeyStore->resetUser(get_user_id(callingUid), false); in reset() 509 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in grant() local 518 auto lockedEntry = mKeyStore->getLockedBlobEntryIfExists(name8.string(), callingUid); in grant() 530 uid_t callingUid = IPCThreadState::self()->getCallingUid(); in ungrant() local [all …]
|
D | permissions.cpp | 203 bool is_granted_to(uid_t callingUid, uid_t targetUid) { in is_granted_to() argument 204 if (callingUid == targetUid) { in is_granted_to() 209 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/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 | 134 uid_t callingUid) { in setUpSocketAndTag() argument 139 EXPECT_EQ(0, mTc.tagSocket(sock, tag, uid, callingUid)); in setUpSocketAndTag() 386 std::vector<uid_t> callingUid = {TEST_UID2}; in TEST_F() local 387 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, callingUid); in TEST_F() 398 mTc.setPermissionForUids(INetd::PERMISSION_NONE, callingUid); in TEST_F() 441 uid_t callingUid = TEST_UID2; in TEST_F() local 442 addPrivilegedUid(callingUid); in TEST_F() 443 ASSERT_EQ(0, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, callingUid)); in TEST_F() 448 ASSERT_EQ(0, mTc.setCounterSet(DEFAULT_COUNTERSET, TEST_UID, callingUid)); in TEST_F() 465 uid_t callingUid = TEST_UID2; in TEST_F() local [all …]
|
D | TrafficController.h | 60 int tagSocket(int sockFd, uint32_t tag, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 72 int setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) EXCLUDES(mMutex); 82 int deleteTagData(uint32_t tag, uid_t uid, uid_t callingUid) EXCLUDES(mMutex);
|
D | TrafficController.cpp | 348 int TrafficController::tagSocket(int sockFd, uint32_t tag, uid_t uid, uid_t callingUid) { in tagSocket() argument 350 if (uid != callingUid && !hasUpdateDeviceStatsPermission(callingUid)) { in tagSocket() 434 int TrafficController::setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) { in setCounterSet() argument 438 if (!hasUpdateDeviceStatsPermission(callingUid)) return -EPERM; in setCounterSet() 469 int TrafficController::deleteTagData(uint32_t tag, uid_t uid, uid_t callingUid) { in deleteTagData() argument 471 if (!hasUpdateDeviceStatsPermission(callingUid)) return -EPERM; in deleteTagData()
|