Home
last modified time | relevance | path

Searched refs:callingUid (Results 1 – 8 of 8) sorted by relevance

/system/security/identity/
DCredentialStore.cpp66 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in createCredential() local
68 CredentialData::credentialExists(dataPath_, callingUid, credentialName); in createCredential()
102 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in getCredentialByName() local
104 CredentialData::credentialExists(dataPath_, callingUid, credentialName); in getCredentialByName()
117 callingUid, hwInfo_, hal_, halApiVersion_); in getCredentialByName()
DWritableCredential.cpp59 const int32_t callingUid = IPCThreadState::self()->getCallingUid(); in ensureAttestationCertificateExists() local
60 auto asn1AttestationId = android::security::gather_attestation_application_id(callingUid); in ensureAttestationCertificateExists()
177 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in personalize() local
178 CredentialData data = CredentialData(dataPath_, callingUid, credentialName_); in personalize()
DCredential.h48 uid_t callingUid, HardwareInformation hwInfo,
DCredential.cpp71 const std::string& credentialName, uid_t callingUid, in Credential() argument
75 callingUid_(callingUid), hwInfo_(std::move(hwInfo)), halStoreBinder_(halStoreBinder), in Credential()
/system/bt/include/hardware/
Dbt_sock.h72 int* sock_fd, int flags, int callingUid);
83 int flags, int callingUid);
/system/netd/server/
DTrafficControllerTest.cpp133 uid_t callingUid) { in setUpSocketAndTag() argument
138 EXPECT_EQ(0, mTc.tagSocket(sock, tag, uid, callingUid)); in setUpSocketAndTag()
371 std::vector<uid_t> callingUid = {TEST_UID2}; in TEST_F() local
372 mTc.setPermissionForUids(INetd::PERMISSION_UPDATE_DEVICE_STATS, callingUid); in TEST_F()
383 mTc.setPermissionForUids(INetd::PERMISSION_NONE, callingUid); in TEST_F()
418 uid_t callingUid = TEST_UID2; in TEST_F() local
419 addPrivilegedUid(callingUid); in TEST_F()
420 ASSERT_EQ(0, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
425 ASSERT_EQ(0, mTc.setCounterSet(DEFAULT_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
438 uid_t callingUid = TEST_UID2; in TEST_F() local
[all …]
DTrafficController.h56 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);
DTrafficController.cpp308 int TrafficController::tagSocket(int sockFd, uint32_t tag, uid_t uid, uid_t callingUid) { in tagSocket() argument
310 if (uid != callingUid && !hasUpdateDeviceStatsPermission(callingUid)) { in tagSocket()
388 int TrafficController::setCounterSet(int counterSetNum, uid_t uid, uid_t callingUid) { in setCounterSet() argument
392 if (!hasUpdateDeviceStatsPermission(callingUid)) return -EPERM; in setCounterSet()
418 int TrafficController::deleteTagData(uint32_t tag, uid_t uid, uid_t callingUid) { in deleteTagData() argument
420 if (!hasUpdateDeviceStatsPermission(callingUid)) return -EPERM; in deleteTagData()