summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaerome.kim <saerome.kim@samsung.com>2019-08-26 21:00:57 +0900
committersaerome.kim <saerome.kim@samsung.com>2019-08-26 21:02:00 +0900
commit01d58be3634c62a39a05ba1f438496cc30e17175 (patch)
tree01113d152dfd00db0b59fe99cca89d4bdd608598
parentb5f5ee37fdafd1e0081efe2ccdbac15b3cd58b6e (diff)
downloaduser-awareness-01d58be3634c62a39a05ba1f438496cc30e17175.tar.gz
user-awareness-01d58be3634c62a39a05ba1f438496cc30e17175.tar.bz2
user-awareness-01d58be3634c62a39a05ba1f438496cc30e17175.zip
- ua-manager added UAM_ERROR_RESOURCE_BUSY. Change-Id: I0498cffec7eafe00851828d8864a1132390d0200 Signed-off-by: saerome.kim <saerome.kim@samsung.com>
-rw-r--r--src/user-awareness-util.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/user-awareness-util.c b/src/user-awareness-util.c
index 4856746..abd95b4 100644
--- a/src/user-awareness-util.c
+++ b/src/user-awareness-util.c
@@ -27,23 +27,23 @@ int _ua_get_error_code(int ua_error)
switch (ua_error) {
case UAM_ERROR_NONE:
return UA_ERROR_NONE;
+ case UAM_ERROR_INVALID_PARAMETER:
+ return UA_ERROR_INVALID_PARAMETER;
/* LCOV_EXCL_START */
+ case UAM_ERROR_RESOURCE_BUSY:
+ return UA_ERROR_RESOURCE_BUSY;
case UAM_ERROR_PERMISSION_DENIED:
return UA_ERROR_PERMISSION_DENIED;
case UAM_ERROR_TIMED_OUT:
return UA_ERROR_TIMED_OUT;
- case UAM_ERROR_NOT_INITIALIZED:
- return UA_ERROR_NOT_INITIALIZED;
+ case UAM_ERROR_NOW_IN_PROGRESS:
+ return UA_ERROR_NOW_IN_PROGRESS;
case UAM_ERROR_NOT_SUPPORTED:
return UA_ERROR_NOT_SUPPORTED;
+ case UAM_ERROR_NOT_INITIALIZED:
+ return UA_ERROR_NOT_INITIALIZED;
case UAM_ERROR_NOT_IN_OPERATION:
return UA_ERROR_NOT_IN_PROGRESS;
- /* LCOV_EXCL_STOP */
- case UAM_ERROR_INVALID_PARAMETER:
- return UA_ERROR_INVALID_PARAMETER;
- case UAM_ERROR_NOW_IN_PROGRESS:
- return UA_ERROR_NOW_IN_PROGRESS;
- /* LCOV_EXCL_START */
case UAM_ERROR_ALREADY_DONE:
return UA_ERROR_ALREADY_DONE;
case UAM_ERROR_INTERNAL: