Searched refs:hasPermissionsForCamera (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/camera/libcameraservice/utils/ |
D | AttributionAndPermissionUtils.h | 79 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()
|
D | AttributionAndPermissionUtils.cpp | 189 bool AttributionAndPermissionUtils::hasPermissionsForCamera(const std::string& cameraId, in hasPermissionsForCamera() function in android::AttributionAndPermissionUtils 200 || hasPermissionsForCamera(cameraId, attributionSource)); in hasPermissionsForSystemCamera()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 1116 bool hasCameraPermission = hasPermissionsForCamera(cameraId, callingPid, callingUid, in filterSensitiveMetadataIfNeeded() 1783 hasPermissionsForCamera(cameraId, clientPid, clientUid, clientName, deviceId); in validateClientPermissionsLocked() 3341 hasPermissionsForCamera(callingPid, callingUid, in isConcurrentSessionConfigurationSupported()
|