Add new custom error of MMI (Multi modal interaction) 62/317562/1
authorSunggyu Choi <sunggyu.choi@samsung.com>
Wed, 11 Sep 2024 23:24:47 +0000 (08:24 +0900)
committerSunggyu Choi <sunggyu.choi@samsung.com>
Wed, 11 Sep 2024 23:24:47 +0000 (08:24 +0900)
Change-Id: I1592a63d077ad0df4a6fe000b29b9786e73f1f66
Signed-off-by: Sunggyu Choi <sunggyu.choi@samsung.com>
error_messages/capi-uix-mmi.xml [new file with mode: 0644]
include/private/tizen_error_private.h
include/tizen_error.h
packaging/capi-base-common.spec

diff --git a/error_messages/capi-uix-mmi.xml b/error_messages/capi-uix-mmi.xml
new file mode 100644 (file)
index 0000000..26b2c3d
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/uifw/mmi-framework">
+       <error name="MMI_ERROR_OPERATION_FAILED">
+               <value>MMI_ERROR_OPERATION_FAILED | 0x01</value>
+               <msg>Operation failed</msg>
+       </error>
+       <error name="MMI_ERROR_RESOURCE_BUSY">
+               <value>MMI_ERROR_RESOURCE_BUSY | 0x02</value>
+               <msg>Resource busy</msg>
+       </error>
+</package>
+
index 9c3bab7..b1375a4 100644 (file)
@@ -37,6 +37,8 @@ static err_info err_list[] = {
        ERR_ENTRY("CALENDAR_ERROR_DB_RECORD_NOT_FOUND", TIZEN_ERROR_CALENDAR | 0x05, "Database not found"),
        ERR_ENTRY("CALENDAR_ERROR_IPC", TIZEN_ERROR_CALENDAR | 0xBF, "Unknown IPC error"),
        ERR_ENTRY("CALENDAR_ERROR_SYSTEM", TIZEN_ERROR_CALENDAR | 0xEF, "Error from another modules"),
+       ERR_ENTRY("MMI_ERROR_OPERATION_FAILED", MMI_ERROR_OPERATION_FAILED | 0x01, "Operation failed"),
+       ERR_ENTRY("MMI_ERROR_RESOURCE_BUSY", MMI_ERROR_RESOURCE_BUSY | 0x02, "Resource busy"),
        ERR_ENTRY("BATTERY_MONITOR_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_BATTERY_MONITOR | 0x01, "Related record does not exist"),
        ERR_ENTRY("BATTERY_MONITOR_ERROR_DB_FAILED", TIZEN_ERROR_BATTERY_MONITOR | 0x02, "DB operation failed"),
        ERR_ENTRY("BATTERY_MONITOR_ERROR_DB_NOT_OPENED", TIZEN_ERROR_BATTERY_MONITOR | 0x03, "DB is not connected"),
@@ -256,6 +258,12 @@ static err_info err_list[] = {
        ERR_ENTRY("EMAILS_ERROR_DB_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x204, "Email database failed"),
        ERR_ENTRY("DCM_ERROR_SOCKET", TIZEN_ERROR_DEVICE_CERTIFICATE_MANAGER | 0x01, "Socket error between client and Device Certificate Manager"),
        ERR_ENTRY("DCM_ERROR_MSG_FORMAT", TIZEN_ERROR_DEVICE_CERTIFICATE_MANAGER | 0x02, "Message is not in Tizen platform format"),
+       ERR_ENTRY("WIFI_AWARE_ERROR_NOT_INITIALIZED", TIZEN_ERROR_WIFI_AWARE | 0x01, "Not initialized"),
+       ERR_ENTRY("WIFI_AWARE_ERROR_ALREADY_INITIALIZED", TIZEN_ERROR_WIFI_AWARE | 0x02, "Already initialized"),
+       ERR_ENTRY("WIFI_AWARE_ERROR_ALREADY_ENABLED", TIZEN_ERROR_WIFI_AWARE | 0x03, "Already enabled"),
+       ERR_ENTRY("WIFI_AWARE_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI_AWARE | 0x04, "Operation failed"),
+       ERR_ENTRY("WIFI_AWARE_ERROR_REJECTED_BY_PEER", TIZEN_ERROR_WIFI_AWARE | 0x05, "Rejected by peer"),
+       ERR_ENTRY("WIFI_AWARE_ERROR_INTERFACE_DOWN", TIZEN_ERROR_WIFI_AWARE | 0x06, "Wi-Fi Interface is down"),
        ERR_ENTRY("RECORDER_ERROR_INVALID_STATE", TIZEN_ERROR_RECORDER | 0x12, "Invalid state"),
        ERR_ENTRY("RECORDER_ERROR_DEVICE", TIZEN_ERROR_RECORDER | 0x14, "Device error"),
        ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY", TIZEN_ERROR_RECORDER | 0x16, "Blocked by Audio Session Manager"),
index 642431d..590f6dc 100644 (file)
@@ -325,6 +325,8 @@ extern "C" {
 #define TIZEN_ERROR_WAUTHN              -0x03100000
 /* Wifi Aware */
 #define TIZEN_ERROR_WIFI_AWARE          -0x03110000
+/* Multi Modal Interaction */
+#define TIZEN_ERROR_MMI                 -0x03120000
 
 /**
  * @brief Enumeration for tizen errors.
index d8878e7..cf1035c 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-base-common
 Summary:    Common header files of Tizen Native API
-Version:    0.4.81
+Version:    0.4.82
 Release:    1
 Group:      Base
 License:    Apache-2.0