Change-Id: I9eae094619dc06fd2dec0ef788bdc73b946860bb
Signed-off-by: pr.jung <pr.jung@samsung.com>
NULL, NULL);
//LCOV_EXCL_START System Error
+ if (ret == -EACCES || ret == -EPERM)
+ return DEVICE_ERROR_PERMISSION_DENIED;
if (!ret) {
*available = false;
return DEVICE_ERROR_OPERATION_FAILED;
"ai", arr);
//LCOV_EXCL_START System Error
+ if (ret == -EACCES || ret == -EPERM)
+ return DEVICE_ERROR_PERMISSION_DENIED;
if (ret < 0)
return DEVICE_ERROR_OPERATION_FAILED;
//LCOV_EXCL_STOP