Home
last modified time | relevance | path

Searched refs:getCallingUid (Results 1 – 18 of 18) sorted by relevance

/system/security/identity/
DCredentialStore.cpp88 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in createCredential()
134 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in getCredentialCommon()
186 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in setRemotelyProvisionedAttestationKey()
DWritableCredential.cpp59 const int32_t callingUid = IPCThreadState::self()->getCallingUid(); in ensureAttestationCertificateExists()
179 uid_t callingUid = android::IPCThreadState::self()->getCallingUid(); in personalize()
/system/tools/aidl/tests/golden_output/aidl-test-interface-permission-java-source/gen/android/aidl/tests/permission/
DIProtected.java252 ….enforcePermission(android.Manifest.permission.READ_PHONE_STATE, getCallingPid(), getCallingUid()); in PermissionProtected_enforcePermission()
258 …orcer.enforcePermissionAllOf(PERMISSIONS_MultiplePermissionsAll, getCallingPid(), getCallingUid()); in MultiplePermissionsAll_enforcePermission()
264 …orcer.enforcePermissionAnyOf(PERMISSIONS_MultiplePermissionsAny, getCallingPid(), getCallingUid()); in MultiplePermissionsAny_enforcePermission()
269 …sion(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, getCallingPid(), getCallingUid()); in NonManifestPermission_enforcePermission()
DIProtectedInterface.java165 …orcePermission(android.Manifest.permission.ACCESS_FINE_LOCATION, getCallingPid(), getCallingUid()); in Method1_enforcePermission()
170 …orcePermission(android.Manifest.permission.ACCESS_FINE_LOCATION, getCallingPid(), getCallingUid()); in Method2_enforcePermission()
/system/core/gatekeeperd/
Dgatekeeperd.cpp183 const int calling_uid = ipc->getCallingUid(); in enroll()
299 const int calling_uid = ipc->getCallingUid(); in verifyChallenge()
425 const int calling_uid = ipc->getCallingUid(); in clearSecureUserId()
444 const int calling_uid = ipc->getCallingUid(); in reportDeviceSetupComplete()
457 const int uid = ipc->getCallingUid(); in dump()
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc116 return IPCThreadState::self()->getCallingUid(); in GetCallingUid()
/system/libhwbinder/include/hwbinder/
DIPCThreadState.h56 uid_t getCallingUid() const;
/system/vold/
DVoldNativeServiceValidation.cpp54 uid_t uid = IPCThreadState::self()->getCallingUid(); in CheckUidOrRoot()
/system/netd/include/binder_utils/
DBinderUtil.h115 uid_t uid = android::IPCThreadState::self()->getCallingUid(); in checkAnyPermission()
/system/libhwbinder/
DBinder.cpp125 uid_t uid = IPCThreadState::self()->getCallingUid(); in transact()
DIPCThreadState.cpp363 uid_t IPCThreadState::getCallingUid() const in getCallingUid() function in android::hardware::IPCThreadState
/system/hwservicemanager/
DTokenManager.cpp61 self->getCallingUid(), self->getCallingPid(), size); in noteTmUsage()
/system/tools/aidl/tests/golden_output/aidl-test-interface-permission-java-source/gen/android/aidl/tests/permission/platform/
DIProtected.java143 …forcePermissionAllOf(PERMISSIONS_ProtectedWithSourceAttribution, getCallingPid(), getCallingUid()); in ProtectedWithSourceAttribution_enforcePermission()
/system/core/storaged/
Dstoraged_service.cpp98 const int uid = self->getCallingUid(); in dump()
/system/gsid/
Dgsi_service.cpp568 uid_t uid = IPCThreadState::self()->getCallingUid(); in UidSecurityError()
792 return uid_ == IPCThreadState::self()->getCallingUid(); in CheckUid()
827 uid_t uid = IPCThreadState::self()->getCallingUid(); in openImageService()
847 uid_t uid = IPCThreadState::self()->getCallingUid(); in CheckUid()
/system/apex/apexd/
Dapexservice.cpp57 uid_t uid = IPCThreadState::self()->getCallingUid(); in CheckCallerIsRoot()
67 uid_t uid = IPCThreadState::self()->getCallingUid(); in CheckCallerSystemOrRoot()
/system/connectivity/wificond/
Dserver.cpp284 LOG(ERROR) << "Caller (uid: " << ipc->getCallingUid() in dump()
/system/netd/server/
DNetdNativeService.cpp566 uid_t callerUid = IPCThreadState::self()->getCallingUid(); in ipSecSetEncapSocketOwner()