Lines Matching refs:AttributionAndPermissionUtils
35 const std::string AttributionAndPermissionUtils::sDumpPermission("android.permission.DUMP");
36 const std::string AttributionAndPermissionUtils::sManageCameraPermission(
38 const std::string AttributionAndPermissionUtils::sCameraPermission(
40 const std::string AttributionAndPermissionUtils::sSystemCameraPermission(
42 const std::string AttributionAndPermissionUtils::sCameraHeadlessSystemUserPermission(
44 const std::string AttributionAndPermissionUtils::sCameraPrivacyAllowlistPermission(
46 const std::string AttributionAndPermissionUtils::sCameraSendSystemEventsPermission(
48 const std::string AttributionAndPermissionUtils::sCameraOpenCloseListenerPermission(
50 const std::string AttributionAndPermissionUtils::sCameraInjectExternalCameraPermission(
53 int AttributionAndPermissionUtils::getCallingUid() { in getCallingUid()
60 int AttributionAndPermissionUtils::getCallingPid() { in getCallingPid()
67 int64_t AttributionAndPermissionUtils::clearCallingIdentity() { in clearCallingIdentity()
74 void AttributionAndPermissionUtils::restoreCallingIdentity(int64_t token) { in restoreCallingIdentity()
83 bool AttributionAndPermissionUtils::checkAutomotivePrivilegedClient(const std::string &cameraId, in checkAutomotivePrivilegedClient()
107 bool AttributionAndPermissionUtils::checkPermissionForPreflight(const std::string &cameraId, in checkPermissionForPreflight()
127 bool AttributionAndPermissionUtils::isTrustedCallingUid(uid_t uid) { in isTrustedCallingUid()
138 bool AttributionAndPermissionUtils::isAutomotiveDevice() { in isAutomotiveDevice()
146 bool AttributionAndPermissionUtils::isHeadlessSystemUserMode() { in isHeadlessSystemUserMode()
154 bool AttributionAndPermissionUtils::isAutomotivePrivilegedClient(int32_t uid) { in isAutomotivePrivilegedClient()
165 status_t AttributionAndPermissionUtils::getUidForPackage(const std::string &packageName, in getUidForPackage()
185 bool AttributionAndPermissionUtils::isCallerCameraServerNotDelegating() { in isCallerCameraServerNotDelegating()
189 bool AttributionAndPermissionUtils::hasPermissionsForCamera(const std::string& cameraId, in hasPermissionsForCamera()
195 bool AttributionAndPermissionUtils::hasPermissionsForSystemCamera(const std::string& cameraId, in hasPermissionsForSystemCamera()
203 bool AttributionAndPermissionUtils::hasPermissionsForCameraHeadlessSystemUser( in hasPermissionsForCameraHeadlessSystemUser()
209 bool AttributionAndPermissionUtils::hasPermissionsForCameraPrivacyAllowlist( in hasPermissionsForCameraPrivacyAllowlist()
215 bool AttributionAndPermissionUtils::hasPermissionsForOpenCloseListener( in hasPermissionsForOpenCloseListener()