Home
last modified time | relevance | path

Searched refs:hasPermissionsForCamera (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DAttributionAndPermissionUtils.h79 virtual bool hasPermissionsForCamera(const std::string& cameraId,
169 bool hasPermissionsForCamera(int callingPid, int callingUid, int32_t deviceId) const { in hasPermissionsForCamera() function
170 return hasPermissionsForCamera(std::string(), callingPid, callingUid, deviceId); in hasPermissionsForCamera()
173 bool hasPermissionsForCamera(int callingPid, int callingUid, in hasPermissionsForCamera() function
175 return hasPermissionsForCamera(std::string(), callingPid, callingUid, packageName, in hasPermissionsForCamera()
179 bool hasPermissionsForCamera(const std::string& cameraId, int callingPid, in hasPermissionsForCamera() function
183 return mAttributionAndPermissionUtils->hasPermissionsForCamera(cameraId, attributionSource); in hasPermissionsForCamera()
186 bool hasPermissionsForCamera(const std::string& cameraId, int callingPid, int callingUid, in hasPermissionsForCamera() function
190 return mAttributionAndPermissionUtils->hasPermissionsForCamera(cameraId, attributionSource); in hasPermissionsForCamera()
DAttributionAndPermissionUtils.cpp189 bool AttributionAndPermissionUtils::hasPermissionsForCamera(const std::string& cameraId, in hasPermissionsForCamera() function in android::AttributionAndPermissionUtils
200 || hasPermissionsForCamera(cameraId, attributionSource)); in hasPermissionsForSystemCamera()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1116 bool hasCameraPermission = hasPermissionsForCamera(cameraId, callingPid, callingUid, in filterSensitiveMetadataIfNeeded()
1783 hasPermissionsForCamera(cameraId, clientPid, clientUid, clientName, deviceId); in validateClientPermissionsLocked()
3341 hasPermissionsForCamera(callingPid, callingUid, in isConcurrentSessionConfigurationSupported()