From: ByungWoo Lee Date: Mon, 1 Feb 2016 06:26:06 +0000 (+0900) Subject: Get error messages from xml files X-Git-Tag: submit/tizen/20160202.061646~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7ede2067ddc69b594d5db2f9f7092b588fa3f67;p=platform%2Fcore%2Fapi%2Fcommon.git Get error messages from xml files Change-Id: I2ad38b691e091507c0ed9ab8b16eb3cc61c5c68e --- diff --git a/README b/README new file mode 100644 index 0000000..db51028 --- /dev/null +++ b/README @@ -0,0 +1,23 @@ +-------------------------------------------------------------- +How to update error messages +-------------------------------------------------------------- +1. Copy common/tool/error_msg_template.xml to common/error_messages/{your_package_name}.xml. +2. Modify "package uri" in the xml file, which means git path of your package. +3. Add you error enumerators into the xml file. + If your enumerator has same value as enumerator in tizen_error_e, then you don't have to add that error enumerator. (Ex. APP_ERROR_NONE, APP_ERROR_INVALID_PARAMETER) + - error name : The name of error enumerator + - value : The value of error enumerator. This value MUST be represented by error macro in tizen.h + ex) TIZEN_ERROR_APPLICATION | 0x01 (O) + CAMERA_ERROR_CLASS | 0x02 (X) => CAMERA_ERROR_CLASS is defined in camera.h. This MUST be "TIZEN_ERROR_CAMERA | 0x02". + - msg : The message of error enumerator +4. If you pushed changes into gerrit, then please add the following people as reviewer. + - Sunggyu Choi (sunggyu.choi@samsung.com) + - ByungWoo Lee (bw1212.lee@samsung.com) + + +-------------------------------------------------------------- +How to submit this package with updated error messages +-------------------------------------------------------------- +1. Run python common/tool/make_msg_header.py +2. common/include/private/tizen_error_private.h will be modified, so check "err_list" in that file. +3. Submit this package by "gbs submit". \ No newline at end of file diff --git a/error_messages/attach-panel-core.xml b/error_messages/attach-panel-core.xml new file mode 100644 index 0000000..3625167 --- /dev/null +++ b/error_messages/attach-panel-core.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_PANEL | 0x01 + There is already a panel in the conformant + + + TIZEN_ERROR_PANEL | 0x02 + The panel is not initialized yet + + + TIZEN_ERROR_PANEL | 0x03 + Not supported content category + + + TIZEN_ERROR_PANEL | 0x05 + The panel is already removed + + + diff --git a/error_messages/badge.xml b/error_messages/badge.xml new file mode 100644 index 0000000..63135e4 --- /dev/null +++ b/error_messages/badge.xml @@ -0,0 +1,23 @@ + + + + TIZEN_ERROR_BADGE | 0x01 + Error from DB + + + TIZEN_ERROR_BADGE | 0x02 + Already exist + + + TIZEN_ERROR_BADGE | 0x03 + Error from DBus + + + TIZEN_ERROR_BADGE | 0x04 + Not exist + + + TIZEN_ERROR_BADGE | 0x05 + Error service not ready + + \ No newline at end of file diff --git a/error_messages/bundle.xml b/error_messages/bundle.xml new file mode 100644 index 0000000..1b99c63 --- /dev/null +++ b/error_messages/bundle.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_BUNDLE | 0x01 + Key exists + + + diff --git a/error_messages/calendar-service.xml b/error_messages/calendar-service.xml new file mode 100644 index 0000000..723c2d4 --- /dev/null +++ b/error_messages/calendar-service.xml @@ -0,0 +1,24 @@ + + + + TIZEN_ERROR_CALENDAR | 0x02 + No access to the database + + + TIZEN_ERROR_CALENDAR | 0x04 + Iterator is on the last position + + + TIZEN_ERROR_CALENDAR | 0x05 + Database not found + + + TIZEN_ERROR_CALENDAR | 0xBF + Unknown IPC error + + + TIZEN_ERROR_CALENDAR | 0xEF + Error from another modules + + + diff --git a/error_messages/capi-appfw-app-manager.xml b/error_messages/capi-appfw-app-manager.xml new file mode 100644 index 0000000..18b9e86 --- /dev/null +++ b/error_messages/capi-appfw-app-manager.xml @@ -0,0 +1,23 @@ + + + + TIZEN_ERROR_APPLICATION_MANAGER | 0x01 + No such application + + + TIZEN_ERROR_APPLICATION_MANAGER | 0x03 + Database error + + + TIZEN_ERROR_APPLICATION_MANAGER | 0x04 + Invalid package name + + + TIZEN_ERROR_APPLICATION_MANAGER | 0x05 + App is not running + + + TIZEN_ERROR_APPLICATION_MANAGER | 0x06 + Internal aul request error + + \ No newline at end of file diff --git a/error_messages/capi-appfw-application.xml b/error_messages/capi-appfw-application.xml new file mode 100644 index 0000000..fa21b54 --- /dev/null +++ b/error_messages/capi-appfw-application.xml @@ -0,0 +1,43 @@ + + + + TIZEN_ERROR_APPLICATION | 0x01 + Invalid application context + + + TIZEN_ERROR_APPLICATION | 0x05 + Invalid time + + + TIZEN_ERROR_APPLICATION | 0x06 + Invalid date + + + TIZEN_ERROR_APPLICATION | 0x07 + The alarm service connection failed + + + TIZEN_ERROR_APPLICATION | 0x08 + Application is not permitted + + + TIZEN_ERROR_APPLICATION | 0x21 + The application is not found + + + TIZEN_ERROR_APPLICATION | 0x22 + Invalid data type + + + TIZEN_ERROR_APPLICATION | 0x23 + The application cannot be launched now + + + TIZEN_ERROR_APPLICATION | 0x24 + Internal launch error + + + TIZEN_ERROR_APPLICATION | 0x30 + Required key not available + + \ No newline at end of file diff --git a/error_messages/capi-appfw-package-manager.xml b/error_messages/capi-appfw-package-manager.xml new file mode 100644 index 0000000..b36f7f6 --- /dev/null +++ b/error_messages/capi-appfw-package-manager.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_PACKAGE_MANAGER | 0x71 + No such package + + + TIZEN_ERROR_PACKAGE_MANAGER | 0x72 + Severe system error + + + diff --git a/error_messages/capi-base-common.xml b/error_messages/capi-base-common.xml new file mode 100644 index 0000000..c2f80b7 --- /dev/null +++ b/error_messages/capi-base-common.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_UNKNOWN + Unknown error + + + TIZEN_ERROR_TIMED_OUT + Time out + + + TIZEN_ERROR_NOT_SUPPORTED + Not supported + + + TIZEN_ERROR_USER_NOT_CONSENTED + Not consented + + + diff --git a/error_messages/capi-content-media-content.xml b/error_messages/capi-content-media-content.xml new file mode 100644 index 0000000..6550a02 --- /dev/null +++ b/error_messages/capi-content-media-content.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_MEDIA_CONTENT | 0x01 + DB operation failed + + + TIZEN_ERROR_MEDIA_CONTENT | 0x02 + DB operation BUSY + + + TIZEN_ERROR_MEDIA_CONTENT | 0x03 + Network Fail + + + TIZEN_ERROR_MEDIA_CONTENT | 0x04 + Unsupported content + + + diff --git a/error_messages/capi-data-control.xml b/error_messages/capi-data-control.xml new file mode 100644 index 0000000..b81b62d --- /dev/null +++ b/error_messages/capi-data-control.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_DATA_CONTROL | 0x01 + Too long argument + + + diff --git a/error_messages/capi-geofence-manager.xml b/error_messages/capi-geofence-manager.xml new file mode 100644 index 0000000..926790b --- /dev/null +++ b/error_messages/capi-geofence-manager.xml @@ -0,0 +1,40 @@ + + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x01 + Geofence Manager is not initialized + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x02 + Invalid Geofence ID + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x03 + exception is occurred + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x04 + Geofence is already started + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x05 + Too many Geofence + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x06 + Error occurred in GPS/Wi-Fi/BT + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x07 + DB error occurred in the server side + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x08 + Access to specified place is denied + + + TIZEN_ERROR_GEOFENCE_MANAGER | 0x09 + Access to specified geofence is denied + + + diff --git a/error_messages/capi-location-manager.xml b/error_messages/capi-location-manager.xml new file mode 100644 index 0000000..2ea164b --- /dev/null +++ b/error_messages/capi-location-manager.xml @@ -0,0 +1,32 @@ + + + + TIZEN_ERROR_LOCATION_MANAGER | 0x01 + Location manager contains incorrect method for a given call + + + TIZEN_ERROR_LOCATION_MANAGER | 0x02 + Network unavailable + + + TIZEN_ERROR_LOCATION_MANAGER | 0x03 + Location service is not available + + + TIZEN_ERROR_LOCATION_MANAGER | 0x04 + GPS/WPS setting is not enabled + + + TIZEN_ERROR_LOCATION_MANAGER | 0x05 + Restricted by security system policy + + + TIZEN_ERROR_LOCATION_MANAGER | 0x21 + Incorrect bounds type for a given call + + + TIZEN_ERROR_LOCATION_MANAGER | 0x22 + Cannot remove bounds handle from location manager + + + diff --git a/error_messages/capi-maps-service.xml b/error_messages/capi-maps-service.xml new file mode 100644 index 0000000..73ff475 --- /dev/null +++ b/error_messages/capi-maps-service.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_MAPS_SERVICE | 0x01 + Service unavailable + + + TIZEN_ERROR_MAPS_SERVICE | 0x02 + Result not found + + + diff --git a/error_messages/capi-media-audio-io.xml b/error_messages/capi-media-audio-io.xml new file mode 100644 index 0000000..f1afca2 --- /dev/null +++ b/error_messages/capi-media-audio-io.xml @@ -0,0 +1,28 @@ + + + + TIZEN_ERROR_AUDIO_IO | 0x01 + Device open error + + + TIZEN_ERROR_AUDIO_IO | 0x02 + Device close error + + + TIZEN_ERROR_AUDIO_IO | 0x03 + Invalid buffer pointer + + + TIZEN_ERROR_AUDIO_IO | 0x04 + Sound policy error + + + TIZEN_ERROR_AUDIO_IO | 0x05 + Invalid statea + + + TIZEN_ERROR_AUDIO_IO | 0x06 + Not supported stream type + + + diff --git a/error_messages/capi-media-camera.xml b/error_messages/capi-media-camera.xml new file mode 100644 index 0000000..fdb0768 --- /dev/null +++ b/error_messages/capi-media-camera.xml @@ -0,0 +1,44 @@ + + + + TIZEN_ERROR_CAMERA | 0x02 + Invalid state + + + TIZEN_ERROR_CAMERA | 0x04 + Device error + + + TIZEN_ERROR_CAMERA | 0x06 + Blocked by Audio Session Manager + + + TIZEN_ERROR_CAMERA | 0x07 + Restricted by security system policy + + + TIZEN_ERROR_CAMERA | 0x08 + The device is using another application or working on some operation + + + TIZEN_ERROR_CAMERA | 0x09 + No camera device + + + TIZEN_ERROR_CAMERA | 0x0a + Blocked by Audio Session Manager - CALL + + + TIZEN_ERROR_CAMERA | 0x0b + Blocked by Audio Session Manager - ALARM + + + TIZEN_ERROR_CAMERA | 0x0c + ESD situation + + + TIZEN_ERROR_CAMERA | 0x0d + Blocked by resource conflict + + + diff --git a/error_messages/capi-media-codec.xml b/error_messages/capi-media-codec.xml new file mode 100644 index 0000000..31833f6 --- /dev/null +++ b/error_messages/capi-media-codec.xml @@ -0,0 +1,60 @@ + + + + TIZEN_ERROR_MEDIACODEC | 0x01 + Invalid state + + + TIZEN_ERROR_MEDIACODEC | 0x02 + Invalid input buffer + + + TIZEN_ERROR_MEDIACODEC | 0x03 + Invalid output buffer + + + TIZEN_ERROR_MEDIACODEC | 0x04 + Invalid output buffer + + + TIZEN_ERROR_MEDIACODEC | 0x05 + Internal error + + + TIZEN_ERROR_MEDIACODEC | 0x06 + Not initialized mediacodec + + + TIZEN_ERROR_MEDIACODEC | 0x07 + Cannot find codec + + + TIZEN_ERROR_MEDIACODEC | 0x08 + Error while decoding data + + + TIZEN_ERROR_MEDIACODEC | 0x09 + Out of storage + + + TIZEN_ERROR_MEDIACODEC | 0x0a + Cannot find stream + + + TIZEN_ERROR_MEDIACODEC | 0x0b + Not supported format + + + TIZEN_ERROR_MEDIACODEC | 0x0c + Not available buffer + + + TIZEN_ERROR_MEDIACODEC | 0x0d + Overflow input buffer + + + TIZEN_ERROR_MEDIACODEC | 0x0e + Exceed the instance limit + + + diff --git a/error_messages/capi-media-image-util.xml b/error_messages/capi-media-image-util.xml new file mode 100644 index 0000000..58a045e --- /dev/null +++ b/error_messages/capi-media-image-util.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_IMAGE_UTIL | 0x01 + Not supported format + + + diff --git a/error_messages/capi-media-metadata-editor.xml b/error_messages/capi-media-metadata-editor.xml new file mode 100644 index 0000000..6219ed4 --- /dev/null +++ b/error_messages/capi-media-metadata-editor.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_METADATA_EDITOR | 0x01 + Invalid internal operation + + + diff --git a/error_messages/capi-media-metadata-extractor.xml b/error_messages/capi-media-metadata-extractor.xml new file mode 100644 index 0000000..533afc5 --- /dev/null +++ b/error_messages/capi-media-metadata-extractor.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_METADATA_EXTRACTOR | 0x01 + Invalid internal operation + + + diff --git a/error_messages/capi-media-player.xml b/error_messages/capi-media-player.xml new file mode 100644 index 0000000..1b18f91 --- /dev/null +++ b/error_messages/capi-media-player.xml @@ -0,0 +1,56 @@ + + + + TIZEN_ERROR_PLAYER | 0x21 + Seek operation failure + + + TIZEN_ERROR_PLAYER | 0x22 + Invalid state + + + TIZEN_ERROR_PLAYER | 0x23 + File format not supported + + + TIZEN_ERROR_PLAYER | 0x24 + Invalid URI + + + TIZEN_ERROR_PLAYER | 0x25 + Sound policy error + + + TIZEN_ERROR_PLAYER | 0x26 + Streaming connection failed + + + TIZEN_ERROR_PLAYER | 0x27 + Video capture failed + + + TIZEN_ERROR_PLAYER | 0x28 + Expired license + + + TIZEN_ERROR_PLAYER | 0x29 + No license + + + TIZEN_ERROR_PLAYER | 0x2a + License for future use + + + TIZEN_ERROR_PLAYER | 0x2b + Format not permitted + + + TIZEN_ERROR_PLAYER | 0x2c + Resource limit + + + TIZEN_ERROR_PLAYER | 0x2d + Socket connection lost + + + diff --git a/error_messages/capi-media-radio.xml b/error_messages/capi-media-radio.xml new file mode 100644 index 0000000..5dc2dbb --- /dev/null +++ b/error_messages/capi-media-radio.xml @@ -0,0 +1,16 @@ + + + + TIZEN_ERROR_RADIO | 0x01 + Invalid state + + + TIZEN_ERROR_RADIO | 0x02 + Sound policy error + + + TIZEN_ERROR_RADIO | 0x03 + No Antenna error + + + diff --git a/error_messages/capi-media-recorder.xml b/error_messages/capi-media-recorder.xml new file mode 100644 index 0000000..0057871 --- /dev/null +++ b/error_messages/capi-media-recorder.xml @@ -0,0 +1,39 @@ + + + + TIZEN_ERROR_RECORDER | 0x12 + Invalid state + + + TIZEN_ERROR_RECORDER | 0x14 + Device error + + + TIZEN_ERROR_RECORDER | 0x16 + Blocked by Audio Session Manager + + + TIZEN_ERROR_RECORDER | 0x17 + Restricted by security system policy + + + TIZEN_ERROR_RECORDER | 0x18 + Blocked by Audio Session Manager - CALL + + + TIZEN_ERROR_RECORDER | 0x19 + Blocked by Audio Session Manager - ALARM + + + TIZEN_ERROR_RECORDER | 0x1a + ESD situation + + + TIZEN_ERROR_RECORDER | 0x1b + Out of storage + + + TIZEN_ERROR_RECORDER | 0x1c + Blocked by resource conflict + + \ No newline at end of file diff --git a/error_messages/capi-media-sound-manager.xml b/error_messages/capi-media-sound-manager.xml new file mode 100644 index 0000000..5de23e8 --- /dev/null +++ b/error_messages/capi-media-sound-manager.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_SOUND_MANAGER | 0x01 + Internal error inside the sound system + + + TIZEN_ERROR_SOUND_MANAGER | 0x02 + Noncompliance with the sound system policy + + + TIZEN_ERROR_SOUND_MANAGER | 0x03 + No playing sound + + + TIZEN_ERROR_SOUND_MANAGER | 0x04 + Invalid state + + + diff --git a/error_messages/capi-media-streamer.xml b/error_messages/capi-media-streamer.xml new file mode 100644 index 0000000..9eb8dac --- /dev/null +++ b/error_messages/capi-media-streamer.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_MEDIA_STREAMER | 0x01 + Invalid state + + + TIZEN_ERROR_MEDIA_STREAMER | 0x02 + Connection failed + + + TIZEN_ERROR_MEDIA_STREAMER | 0x03 + Resource conflict + + + TIZEN_ERROR_MEDIA_STREAMER | 0x04 + Seek operation failure + + + diff --git a/error_messages/capi-media-tone-player.xml b/error_messages/capi-media-tone-player.xml new file mode 100644 index 0000000..73ef6fa --- /dev/null +++ b/error_messages/capi-media-tone-player.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_TONE_PLAYER | 0x01 + Not supported + + + diff --git a/error_messages/capi-media-video-util.xml b/error_messages/capi-media-video-util.xml new file mode 100644 index 0000000..4f994f5 --- /dev/null +++ b/error_messages/capi-media-video-util.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_VIDEO_UTIL | 0x01 + Not supported format + + + diff --git a/error_messages/capi-media-vision.xml b/error_messages/capi-media-vision.xml new file mode 100644 index 0000000..3ef7e8a --- /dev/null +++ b/error_messages/capi-media-vision.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_MEDIA_VISION | 0x01 + Not supported format + + + TIZEN_ERROR_MEDIA_VISION | 0x02 + Internal error + + + TIZEN_ERROR_MEDIA_VISION | 0x03 + Invalid data + + + TIZEN_ERROR_MEDIA_VISION | 0x04 + Invalid path + + + diff --git a/error_messages/capi-media-wav-player.xml b/error_messages/capi-media-wav-player.xml new file mode 100644 index 0000000..911c0b5 --- /dev/null +++ b/error_messages/capi-media-wav-player.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_WAV_PLAYER | 0x01 + Format not supported + + + TIZEN_ERROR_WAV_PLAYER | 0x02 + Not supported + + + diff --git a/error_messages/capi-mediademuxer.xml b/error_messages/capi-mediademuxer.xml new file mode 100644 index 0000000..2a7d0a7 --- /dev/null +++ b/error_messages/capi-mediademuxer.xml @@ -0,0 +1,24 @@ + + + + TIZEN_ERROR_MEDIA_DEMUXER | 0x01 + Invalid state + + + TIZEN_ERROR_MEDIA_DEMUXER | 0x02 + Invalid path + + + TIZEN_ERROR_MEDIA_DEMUXER | 0x03 + Resource limit + + + TIZEN_ERROR_MEDIA_DEMUXER | 0x04 + Seek operation failure + + + TIZEN_ERROR_MEDIA_DEMUXER | 0x05 + Not permitted format + + + diff --git a/error_messages/capi-mediamuxer.xml b/error_messages/capi-mediamuxer.xml new file mode 100644 index 0000000..b683c53 --- /dev/null +++ b/error_messages/capi-mediamuxer.xml @@ -0,0 +1,15 @@ + + + + TIZEN_ERROR_MEDIA_MUXER | 0x01 + Invalid state + + + TIZEN_ERROR_MEDIA_MUXER | 0x02 + Invalid path + + + TIZEN_ERROR_MEDIA_MUXER | 0x03 + Resource limit + + \ No newline at end of file diff --git a/error_messages/capi-message-port.xml b/error_messages/capi-message-port.xml new file mode 100644 index 0000000..4a1182b --- /dev/null +++ b/error_messages/capi-message-port.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_MESSAGE_PORT | 0x01 + The message port of the remote application is not found + + + TIZEN_ERROR_MESSAGE_PORT | 0x02 + The remote application is not signed with the same certificate + + + TIZEN_ERROR_MESSAGE_PORT | 0x03 + The size of the message has exceeded the maximum limit + + + TIZEN_ERROR_MESSAGE_PORT | 0x04 + Resource is temporarily unavailable + + + diff --git a/error_messages/capi-messaging-email.xml b/error_messages/capi-messaging-email.xml new file mode 100644 index 0000000..333bcfa --- /dev/null +++ b/error_messages/capi-messaging-email.xml @@ -0,0 +1,24 @@ + + + + TIZEN_ERROR_EMAIL_SERVICE | 0x200 + Server not ready + + + TIZEN_ERROR_EMAIL_SERVICE | 0x201 + Communication with server failed + + + TIZEN_ERROR_EMAIL_SERVICE | 0x202 + Operation failed + + + TIZEN_ERROR_EMAIL_SERVICE | 0x203 + Email account not found + + + TIZEN_ERROR_EMAIL_SERVICE | 0x204 + Email database failed + + + diff --git a/error_messages/capi-messaging-messages.xml b/error_messages/capi-messaging-messages.xml new file mode 100644 index 0000000..cc15bc0 --- /dev/null +++ b/error_messages/capi-messaging-messages.xml @@ -0,0 +1,32 @@ + + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x501 + Server is not read + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x502 + Communication with server failed + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x503 + Index out of range + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x504 + Sending a message failed + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x505 + Messaging operation failed + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x506 + No SIM Card + + + TIZEN_ERROR_MESSAGING_SERVICE | 0x507 + No data available + + + diff --git a/error_messages/capi-network-bluetooth.xml b/error_messages/capi-network-bluetooth.xml new file mode 100644 index 0000000..0923cd0 --- /dev/null +++ b/error_messages/capi-network-bluetooth.xml @@ -0,0 +1,56 @@ + + + + TIZEN_ERROR_BLUETOOTH | 0x0101 + Local adapter not initialized + + + TIZEN_ERROR_BLUETOOTH | 0x0102 + Local adapter not enabled + + + TIZEN_ERROR_BLUETOOTH | 0x0103 + Operation already done + + + TIZEN_ERROR_BLUETOOTH | 0x0104 + Operation failed + + + TIZEN_ERROR_BLUETOOTH | 0x0105 + Operation not in progress + + + TIZEN_ERROR_BLUETOOTH | 0x0106 + Remote device not bonde + + + TIZEN_ERROR_BLUETOOTH | 0x0107 + Authentication rejected + + + TIZEN_ERROR_BLUETOOTH | 0x0108 + Authentication failed + + + TIZEN_ERROR_BLUETOOTH | 0x0109 + Remote device not found + + + TIZEN_ERROR_BLUETOOTH | 0x010A + Service search failed + + + TIZEN_ERROR_BLUETOOTH | 0x010B + Remote device is not connected + + + TIZEN_ERROR_BLUETOOTH | 0x010C + Resource temporarily unavailable + + + TIZEN_ERROR_BLUETOOTH | 0x010D + Service not found + + + diff --git a/error_messages/capi-network-connection.xml b/error_messages/capi-network-connection.xml new file mode 100644 index 0000000..80ed53a --- /dev/null +++ b/error_messages/capi-network-connection.xml @@ -0,0 +1,36 @@ + + + + TIZEN_ERROR_CONNECTION | 0x0401 + Operation failed + + + TIZEN_ERROR_CONNECTION | 0x0402 + End of iteration + + + TIZEN_ERROR_CONNECTION | 0x0403 + There is no connection + + + TIZEN_ERROR_CONNECTION | 0x0404 + Already exists + + + TIZEN_ERROR_CONNECTION | 0x0405 + Operation is aborted + + + TIZEN_ERROR_CONNECTION | 0x0406 + DHCP failed + + + TIZEN_ERROR_CONNECTION | 0x0407 + Invalid key + + + TIZEN_ERROR_CONNECTION | 0x0408 + No reply + + + diff --git a/error_messages/capi-network-nfc.xml b/error_messages/capi-network-nfc.xml new file mode 100644 index 0000000..2939227 --- /dev/null +++ b/error_messages/capi-network-nfc.xml @@ -0,0 +1,68 @@ + + + + TIZEN_ERROR_NFC | 0x01 + Operation failed + + + TIZEN_ERROR_NFC | 0x02 + Invalid NDEF message + + + TIZEN_ERROR_NFC | 0x03 + Invalid record type + + + TIZEN_ERROR_NFC | 0x04 + No device + + + TIZEN_ERROR_NFC | 0x05 + NFC is not activated + + + TIZEN_ERROR_NFC | 0x06 + Already activated + + + TIZEN_ERROR_NFC | 0x07 + Already deactivated + + + TIZEN_ERROR_NFC | 0x08 + Read only tag + + + TIZEN_ERROR_NFC | 0x09 + No enough space on tag + + + TIZEN_ERROR_NFC | 0x0a + No NDEF Message on Tag + + + TIZEN_ERROR_NFC | 0x0b + Not NDEF format Tag + + + TIZEN_ERROR_NFC | 0x0c + Restricted by access control + + + TIZEN_ERROR_NFC | 0x0d + The state is wrong + + + TIZEN_ERROR_NFC | 0x0e + NFC is not initialized + + + TIZEN_ERROR_NFC | 0x0f + Tag is not supported + + + TIZEN_ERROR_NFC | 0x10 + AID already registered + + + diff --git a/error_messages/capi-network-smartcard.xml b/error_messages/capi-network-smartcard.xml new file mode 100644 index 0000000..6499f1b --- /dev/null +++ b/error_messages/capi-network-smartcard.xml @@ -0,0 +1,31 @@ + + + + TIZEN_ERROR_SMARTCARD | 0x01 + A general error occurred + + + TIZEN_ERROR_SMARTCARD | 0x02 + No such element error + + + TIZEN_ERROR_SMARTCARD | 0x03 + Illegal state of execution error + + + TIZEN_ERROR_SMARTCARD | 0x04 + Illegal reference + + + TIZEN_ERROR_SMARTCARD | 0x05 + Operation not supported from SE + + + TIZEN_ERROR_SMARTCARD | 0x06 + No channel available + + + TIZEN_ERROR_SMARTCARD | 0x07 + Smartcard service not initialized + + \ No newline at end of file diff --git a/error_messages/capi-network-tethering.xml b/error_messages/capi-network-tethering.xml new file mode 100644 index 0000000..49a880a --- /dev/null +++ b/error_messages/capi-network-tethering.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_TETHERING | 0x0501 + Not enabled + + + TIZEN_ERROR_TETHERING | 0x0502 + Operation failed + + + diff --git a/error_messages/capi-network-wifi-direct.xml b/error_messages/capi-network-wifi-direct.xml new file mode 100644 index 0000000..d9fcd20 --- /dev/null +++ b/error_messages/capi-network-wifi-direct.xml @@ -0,0 +1,44 @@ + + + + TIZEN_ERROR_WIFI_DIRECT | 0x01 + Not initialized + + + TIZEN_ERROR_WIFI_DIRECT | 0x02 + I/O error + + + TIZEN_ERROR_WIFI_DIRECT | 0x03 + WiFi is being used + + + TIZEN_ERROR_WIFI_DIRECT | 0x04 + Mobile AP is being used + + + TIZEN_ERROR_WIFI_DIRECT | 0x05 + Mobile AP is being used + + + TIZEN_ERROR_WIFI_DIRECT | 0x06 + Authentication failed + + + TIZEN_ERROR_WIFI_DIRECT | 0x07 + Operation failed + + + TIZEN_ERROR_WIFI_DIRECT | 0x08 + Many client + + + TIZEN_ERROR_WIFI_DIRECT | 0x09 + Already initialized client + + + TIZEN_ERROR_WIFI_DIRECT | 0x10 + Connection canceled by local device + + + diff --git a/error_messages/capi-network-wifi.xml b/error_messages/capi-network-wifi.xml new file mode 100644 index 0000000..ed18488 --- /dev/null +++ b/error_messages/capi-network-wifi.xml @@ -0,0 +1,36 @@ + + + + TIZEN_ERROR_WIFI | 0x0301 + Operation failed + + + TIZEN_ERROR_WIFI | 0x0302 + There is no connected AP + + + TIZEN_ERROR_WIFI | 0x0303 + Already exists + + + TIZEN_ERROR_WIFI | 0x0304 + Operation is aborted + + + TIZEN_ERROR_WIFI | 0x0306 + DHCP failed + + + TIZEN_ERROR_WIFI | 0x0307 + Invalid key + + + TIZEN_ERROR_WIFI | 0x0308 + No reply + + + TIZEN_ERROR_WIFI | 0x0309 + Restricted by security system policy + + + diff --git a/error_messages/capi-system-device.xml b/error_messages/capi-system-device.xml new file mode 100644 index 0000000..b9cbaa6 --- /dev/null +++ b/error_messages/capi-system-device.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_DEVICE | 0x13 + Not initialized + + + diff --git a/error_messages/capi-system-media-key.xml b/error_messages/capi-system-media-key.xml new file mode 100644 index 0000000..955db9d --- /dev/null +++ b/error_messages/capi-system-media-key.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_MEDIA_KEY | 0x01 + Reserve/Release failed + + + diff --git a/error_messages/capi-system-sensor.xml b/error_messages/capi-system-sensor.xml new file mode 100644 index 0000000..3fc9f2e --- /dev/null +++ b/error_messages/capi-system-sensor.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_SENSOR | 0x03 + Sensor doesn't need calibration + + + TIZEN_ERROR_SENSOR | 0x06 + Operation failed + + + diff --git a/error_messages/capi-system-system-settings.xml b/error_messages/capi-system-system-settings.xml new file mode 100644 index 0000000..9851ae2 --- /dev/null +++ b/error_messages/capi-system-system-settings.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_SYSTEM_SETTING | 0x01 + Current lock screen app set 'password' type + + + diff --git a/error_messages/capi-telephony.xml b/error_messages/capi-telephony.xml new file mode 100644 index 0000000..87ff6ec --- /dev/null +++ b/error_messages/capi-telephony.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_TELEPHONY | 0x0001 + Operation failed + + + TIZEN_ERROR_TELEPHONY | 0x1001 + SIM is not available + + + diff --git a/error_messages/capi-ui-efl-util.xml b/error_messages/capi-ui-efl-util.xml new file mode 100644 index 0000000..2b04198 --- /dev/null +++ b/error_messages/capi-ui-efl-util.xml @@ -0,0 +1,16 @@ + + + + TTIZEN_ERROR_EFL_UTIL | 0x01 + Window type not supported + + + TTIZEN_ERROR_EFL_UTIL | 0x02 + Screenshot initialization fail + + + TTIZEN_ERROR_EFL_UTIL | 0x03 + Screenshot execution fail + + + diff --git a/error_messages/capi-ui-inputmethod-manager.xml b/error_messages/capi-ui-inputmethod-manager.xml new file mode 100644 index 0000000..fc85bc5 --- /dev/null +++ b/error_messages/capi-ui-inputmethod-manager.xml @@ -0,0 +1,7 @@ + + + + TIZEN_ERROR_IME | 0x0010 + Operation failed + + \ No newline at end of file diff --git a/error_messages/capi-ui-inputmethod.xml b/error_messages/capi-ui-inputmethod.xml new file mode 100644 index 0000000..e6d2c24 --- /dev/null +++ b/error_messages/capi-ui-inputmethod.xml @@ -0,0 +1,15 @@ + + + + TIZEN_ERROR_IME | 0x0001 + Necessary callback function is not set + + + TIZEN_ERROR_IME | 0x0002 + IME main loop isn't started yet + + + TIZEN_ERROR_IME | 0x0003 + Operation failed + + \ No newline at end of file diff --git a/error_messages/capi-web-url-download.xml b/error_messages/capi-web-url-download.xml new file mode 100644 index 0000000..6f97193 --- /dev/null +++ b/error_messages/capi-web-url-download.xml @@ -0,0 +1,72 @@ + + + + TIZEN_ERROR_DOWNLOAD | 0x21 + Invalid state + + + TIZEN_ERROR_DOWNLOAD | 0x22 + Connection failed + + + TIZEN_ERROR_DOWNLOAD | 0x24 + Invalid URL + + + TIZEN_ERROR_DOWNLOAD | 0x25 + Invalid destination + + + TIZEN_ERROR_DOWNLOAD | 0x26 + Too many simultaneous downloads + + + TIZEN_ERROR_DOWNLOAD | 0x27 + Download server queue is full + + + TIZEN_ERROR_DOWNLOAD | 0x28 + The download is already completed + + + TIZEN_ERROR_DOWNLOAD | 0x29 + Failed to rename the downloaded file + + + TIZEN_ERROR_DOWNLOAD | 0x2a + Cannot resume + + + TIZEN_ERROR_DOWNLOAD | 0x2b + Specified field not found + + + TIZEN_ERROR_DOWNLOAD | 0x30 + Too many redirects from HTTP response header + + + TIZEN_ERROR_DOWNLOAD | 0x31 + The download cannot handle the HTTP status value + + + TIZEN_ERROR_DOWNLOAD | 0x32 + No action after client creates a download ID + + + TIZEN_ERROR_DOWNLOAD | 0x33 + No call to start API for some time although the download is created + + + TIZEN_ERROR_DOWNLOAD | 0x34 + No response from client after rebooting download daemon + + + TIZEN_ERROR_DOWNLOAD | 0x35 + Download ID does not exist in download service module + + + TIZEN_ERROR_DOWNLOAD | 0x36 + Network bonding is set but network type is not set as DOWNLOAD_NETWORK_ALL + + + diff --git a/error_messages/capi_base_utils.xml b/error_messages/capi_base_utils.xml new file mode 100644 index 0000000..0524ea7 --- /dev/null +++ b/error_messages/capi_base_utils.xml @@ -0,0 +1,133 @@ + + + + TIZEN_ERROR_UTILITY_ICU | 0x01 + The requested resource cannot be found + + + TIZEN_ERROR_UTILITY_ICU | 0x02 + Data format is not what is expected + + + TIZEN_ERROR_UTILITY_ICU | 0x03 + The requested file cannot be found + + + TIZEN_ERROR_UTILITY_ICU | 0x04 + Indicates a bug in the library code + + + TIZEN_ERROR_UTILITY_ICU | 0x05 + Trying to access the index that is out of bounds + + + TIZEN_ERROR_UTILITY_ICU | 0x6 + Character conversion: Unmappable input sequence. In other APIs: Invalid character + + + TIZEN_ERROR_UTILITY_ICU | 0x07 + A result would not fit in the supplied buffer + + + TIZEN_ERROR_UTILITY_ICU | 0x08 + Collator version is not compatible with the base version + + + TIZEN_ERROR_UTILITY_ICU | 0x09 + Collator is options only and no base is specified + + + TIZEN_ERROR_UTILITY_ICU | 0x0A + Attempt to modify read-only or constant data + + + TIZEN_ERROR_UTILITY_ICU | 0x0B + An operation is requested over a resource that does not support it + + + TIZEN_ERROR_UTILITY_ICU | 0x0C + Too many aliases in the path to the requested resource + + + + TIZEN_ERROR_UTILITY_ICU | 0x0D + Unable to parse a message (message format) + + + TIZEN_ERROR_UTILITY_ICU | 0x0E + Equivalent to Java ParseException + + + TIZEN_ERROR_UTILITY_ICU | 0x0F + Character conversion: Incomplete input sequence + + + TIZEN_ERROR_UTILITY_ICU | 0x10 + Character conversion: Illegal input sequence/combination of input units + + + TIZEN_ERROR_UTILITY_ICU | 0x11 + Conversion table file found, but corrupted + + + TIZEN_ERROR_UTILITY_ICU | 0x12 + Conversion table file not found + + + TIZEN_ERROR_UTILITY_ICU | 0x13 + ISO-2022 illlegal escape sequence + + + TIZEN_ERROR_UTILITY_ICU | 0x14 + ISO-2022 unsupported escape sequence + + + TIZEN_ERROR_UTILITY_ICU | 0x15 + No space available for in-buffer expansion for Arabic shaping + + + TIZEN_ERROR_UTILITY_ICU | 0x16 + Currently used only while setting variable top, but can be used generally + + + TIZEN_ERROR_UTILITY_ICU | 0x17 + User tried to set variable top to a primary that is longer than two bytes + + + TIZEN_ERROR_UTILITY_ICU | 0x18 + ICU cannot construct a service from this state, as it is no longer supported + + + TIZEN_ERROR_UTILITY_ICU | 0x19 + UEnumeration out of sync with underlying collection + + + TIZEN_ERROR_UTILITY_ICU | 0x1A + Unable to convert a UChar* string to char* with the invariant converter + + + TIZEN_ERROR_UTILITY_ICU | 0x1B + Requested operation can not be completed with ICU in its current state + + + TIZEN_ERROR_UTILITY_ICU | 0x1C + A UnicodeSet pattern is invalid. @if MOBILE + + + TIZEN_ERROR_UTILITY_ICU | 0x1D + String not terminated with NULL. @if MOBILE + + + TIZEN_ERROR_UTILITY_ICU | 0x1E + Argument does not satisfy STD3 rules + + + TIZEN_ERROR_UTILITY_ICU | 0x1F + Unassigned code points are found + + + TIZEN_ERROR_UTILITY_ICU | 0x20 + Number of levels requested in getBound is higher than the number of levels in the sort key + + + diff --git a/error_messages/contacts-service.xml b/error_messages/contacts-service.xml new file mode 100644 index 0000000..b2df6c2 --- /dev/null +++ b/error_messages/contacts-service.xml @@ -0,0 +1,28 @@ + + + + TIZEN_ERROR_CONTACTS | 0x81 + Database table locked or file locked + + + TIZEN_ERROR_CONTACTS | 0x9F + Unknown DB error + + + TIZEN_ERROR_CONTACTS | 0xB1 + IPC server is not available + + + TIZEN_ERROR_CONTACTS | 0xBF + Unknown IPC error + + + TIZEN_ERROR_CONTACTS | 0xEF + Internal system module error + + + TIZEN_ERROR_CONTACTS | 0xFF + Implementation Error, Temporary Use + + + diff --git a/error_messages/context.xml b/error_messages/context.xml new file mode 100644 index 0000000..3a415f3 --- /dev/null +++ b/error_messages/context.xml @@ -0,0 +1,28 @@ + + + + TIZEN_ERROR_CONTEXT | 0x03 + Out of range + + + TIZEN_ERROR_CONTEXT | 0x04 + Operation failed + + + TIZEN_ERROR_CONTEXT | 0x05 + Rule is enabled + + + TIZEN_ERROR_CONTEXT | 0x06 + Rule is not enabled + + + TIZEN_ERROR_CONTEXT | 0x07 + Invalid rule + + + TIZEN_ERROR_CONTEXT | 0x08 + Rule does not exist + + + diff --git a/error_messages/iotcon.xml b/error_messages/iotcon.xml new file mode 100644 index 0000000..6742b07 --- /dev/null +++ b/error_messages/iotcon.xml @@ -0,0 +1,28 @@ + + + + TIZEN_ERROR_IOTCON | 0x01 + Internal error + + + TIZEN_ERROR_IOTCON | 0x02 + Representation errors + + + TIZEN_ERROR_IOTCON | 0x03 + Invalid type + + + TIZEN_ERROR_IOTCON | 0x04 + Already + + + TIZEN_ERROR_IOTCON | 0x05 + D-Bus errors + + + TIZEN_ERROR_IOTCON | 0x06 + System errors + + + diff --git a/error_messages/key-manager.xml b/error_messages/key-manager.xml new file mode 100644 index 0000000..2b75b64 --- /dev/null +++ b/error_messages/key-manager.xml @@ -0,0 +1,76 @@ + + + + TIZEN_ERROR_KEY_MANAGER | 0x01 + Socket error between client and Central Key Manager + + + TIZEN_ERROR_KEY_MANAGER | 0x02 + Invalid request from client + + + TIZEN_ERROR_KEY_MANAGER | 0x03 + Invalid response from Central Key Manager + + + TIZEN_ERROR_KEY_MANAGER | 0x04 + Transmitting request failed + + + TIZEN_ERROR_KEY_MANAGER | 0x05 + Receiving response failed + + + TIZEN_ERROR_KEY_MANAGER | 0x06 + Authentication between client and manager failed + + + TIZEN_ERROR_KEY_MANAGER | 0x07 + The output buffer size which is passed as parameter is too small + + + TIZEN_ERROR_KEY_MANAGER | 0x08 + Central Key Manager has been failed for some reason + + + TIZEN_ERROR_KEY_MANAGER | 0x09 + The database was not unlocked - user did not login + + + TIZEN_ERROR_KEY_MANAGER | 0x0A + An internal error inside the database + + + TIZEN_ERROR_KEY_MANAGER | 0x0B + Provided alias already exists in the database + + + TIZEN_ERROR_KEY_MANAGER | 0x0C + No data for given alias + + + TIZEN_ERROR_KEY_MANAGER | 0x0D + CA certificate(s) were unknown and chain could not be created + + + TIZEN_ERROR_KEY_MANAGER | 0x0E + A provided file doesn't exists or cannot be accessed in the file system + + + TIZEN_ERROR_KEY_MANAGER | 0x0F + A provided file or binary has not a valid format + + + TIZEN_ERROR_KEY_MANAGER | 0x10 + Key is not exportable. It could not be returned to client + + + TIZEN_ERROR_KEY_MANAGER | 0x11 + Save key\/certificate\/pkcs12 failed because of file system error + + + TIZEN_ERROR_KEY_MANAGER | 0xFF + The error with unknown reason + + + diff --git a/error_messages/libaccount-service.xml b/error_messages/libaccount-service.xml new file mode 100644 index 0000000..e50453e --- /dev/null +++ b/error_messages/libaccount-service.xml @@ -0,0 +1,56 @@ + + + + TIZEN_ERROR_ACCOUNT | 0x01 + Same user name exists in your application + + + TIZEN_ERROR_ACCOUNT | 0x03 + Related record does not exist + + + TIZEN_ERROR_ACCOUNT | 0x04 + DB operation failed + + + TIZEN_ERROR_ACCOUNT | 0x05 + DB is not connected + + + TIZEN_ERROR_ACCOUNT | 0x06 + DB query syntax error + + + TIZEN_ERROR_ACCOUNT | 0x07 + terator has reached the end + + + TIZEN_ERROR_ACCOUNT | 0x08 + Notification failed + + + TIZEN_ERROR_ACCOUNT | 0x0a + XML parse failed + + + TIZEN_ERROR_ACCOUNT | 0x0b + XML file does not exist + + + TIZEN_ERROR_ACCOUNT | 0x0c + Subscription failed + + + TIZEN_ERROR_ACCOUNT | 0x0d + Account provider is not registered + + + TIZEN_ERROR_ACCOUNT | 0x0e + Multiple accounts are not supported + + + TIZEN_ERROR_ACCOUNT | 0x10 + SQLite busy handler expired + + + diff --git a/error_messages/libcore-sync-client.xml b/error_messages/libcore-sync-client.xml new file mode 100644 index 0000000..bf30108 --- /dev/null +++ b/error_messages/libcore-sync-client.xml @@ -0,0 +1,12 @@ + + + + TIZEN_ERROR_SYNC_MANAGER | 0x01 + System error + + + TIZEN_ERROR_SYNC_MANAGER | 0x02 + Sync adater is not registered + + + diff --git a/error_messages/libeom.xml b/error_messages/libeom.xml new file mode 100644 index 0000000..0ac2a8b --- /dev/null +++ b/error_messages/libeom.xml @@ -0,0 +1,15 @@ + + + + TIZEN_ERROR_EOM | 0x01 + Connection failure + + + TIZEN_ERROR_EOM | 0x02 + Message sending failure + + + TIZEN_ERROR_EOM | 0x03 + Message operation failure + + \ No newline at end of file diff --git a/error_messages/libfeedback.xml b/error_messages/libfeedback.xml new file mode 100644 index 0000000..796edc9 --- /dev/null +++ b/error_messages/libfeedback.xml @@ -0,0 +1,7 @@ + + + + TIZEN_ERROR_FEEDBACK | 0x01 + Not initialized + + \ No newline at end of file diff --git a/error_messages/liboauth2.xml b/error_messages/liboauth2.xml new file mode 100644 index 0000000..8ec2f8d --- /dev/null +++ b/error_messages/liboauth2.xml @@ -0,0 +1,24 @@ + + + + TIZEN_ERROR_ACCOUNT_OAUTH | 0x01 + Response parse failed + + + TIZEN_ERROR_ACCOUNT_OAUTH | 0x02 + Network error + + + TIZEN_ERROR_ACCOUNT_OAUTH | 0x03 + Server error + + + TIZEN_ERROR_ACCOUNT_OAUTH | 0x04 + User cancelled the operation + + + TIZEN_ERROR_ACCOUNT_OAUTH | 0x05 + Value not found + + + diff --git a/error_messages/libshortcut.xml b/error_messages/libshortcut.xml new file mode 100644 index 0000000..beae145 --- /dev/null +++ b/error_messages/libshortcut.xml @@ -0,0 +1,19 @@ + + + + TIZEN_ERROR_SHORTCUT | 0x0001 + There is no space to add a new shortcut + + + TIZEN_ERROR_SHORTCUT | 0x0002 + Shortcut is already added + + + TIZEN_ERROR_SHORTCUT | 0x0004 + Failed to add a shortcut. Unrecoverable error + + + TIZEN_ERROR_SHORTCUT | 0x0040 + Connection is not established. or there is a problem in the communication + + \ No newline at end of file diff --git a/error_messages/libstorage.xml b/error_messages/libstorage.xml new file mode 100644 index 0000000..fb75cf4 --- /dev/null +++ b/error_messages/libstorage.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_SYSTEM_CLASS | 0x12 + Operation failed + + + diff --git a/error_messages/minicontrol.xml b/error_messages/minicontrol.xml new file mode 100644 index 0000000..7c5a340 --- /dev/null +++ b/error_messages/minicontrol.xml @@ -0,0 +1,11 @@ + + + + TIZEN_ERROR_MINICONTROL | 0x02 + IPC error + + + TIZEN_ERROR_MINICONTROL | 0x03 + Some error occued on elementary + + \ No newline at end of file diff --git a/error_messages/motion.xml b/error_messages/motion.xml new file mode 100644 index 0000000..70c8181 --- /dev/null +++ b/error_messages/motion.xml @@ -0,0 +1,16 @@ + + + + TIZEN_ERROR_CONTEXT | 0x01 + Recognition is already started + + + TIZEN_ERROR_CONTEXT | 0x02 + Recognition is not started + + + TIZEN_ERROR_CONTEXT | 0x04 + Operation failed + + + diff --git a/error_messages/notification.xml b/error_messages/notification.xml new file mode 100644 index 0000000..220ca95 --- /dev/null +++ b/error_messages/notification.xml @@ -0,0 +1,24 @@ + + + + TIZEN_ERROR_NOTIFICATION | 0x01 + Error from DB + + + TIZEN_ERROR_NOTIFICATION | 0x02 + Already exist private ID + + + TIZEN_ERROR_NOTIFICATION | 0x03 + Error from DBus + + + TIZEN_ERROR_NOTIFICATION | 0x04 + Not exist private ID + + + TIZEN_ERROR_NOTIFICATION | 0x05 + No reponse from notification service + + + diff --git a/error_messages/phonenumber-utils.xml b/error_messages/phonenumber-utils.xml new file mode 100644 index 0000000..9014e4d --- /dev/null +++ b/error_messages/phonenumber-utils.xml @@ -0,0 +1,8 @@ + + + + TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF + Internal error + + + diff --git a/error_messages/service-adaptor.xml b/error_messages/service-adaptor.xml new file mode 100644 index 0000000..aa58b99 --- /dev/null +++ b/error_messages/service-adaptor.xml @@ -0,0 +1,29 @@ + + + + TIZEN_ERROR_SERVICE_ADAPTOR | 0x01 + IPC Connection unstabled + + + TIZEN_ERROR_SERVICE_ADAPTOR | 0x02 + The error occured from Plugin + + + TIZEN_ERROR_SERVICE_ADAPTOR | 0x03 + Need Autholization + + + TIZEN_ERROR_SERVICE_ADAPTOR | 0x04 + The handle state is invalid for processing API + + + TIZEN_ERROR_SERVICE_ADAPTOR | 0x05 + Internal system module error + + + TIZEN_ERROR_SERVICE_ADAPTOR | 0x06 + Implementation Error + + + + diff --git a/error_messages/stt.xml b/error_messages/stt.xml new file mode 100644 index 0000000..bd73458 --- /dev/null +++ b/error_messages/stt.xml @@ -0,0 +1,24 @@ + + + + TIZEN_ERROR_STT | 0x01 + Invalid state + + + TIZEN_ERROR_STT | 0x02 + Invalid language + + + TIZEN_ERROR_STT | 0x03 + No available engine + + + TIZEN_ERROR_STT | 0x04 + Operation failed + + + TIZEN_ERROR_STT | 0x05 + Not supported feature of current engine + + + diff --git a/error_messages/tts.xml b/error_messages/tts.xml new file mode 100644 index 0000000..02a811c --- /dev/null +++ b/error_messages/tts.xml @@ -0,0 +1,23 @@ + + + + TIZEN_ERROR_TTS | 0x01 + Invalid state + + + TIZEN_ERROR_TTS | 0x02 + Invalid voice + + + TIZEN_ERROR_TTS | 0x03 + No available engine + + + TIZEN_ERROR_TTS | 0x04 + Operation failed + + + TIZEN_ERROR_TTS | 0x05 + Audio policy blocked + + \ No newline at end of file diff --git a/error_messages/voice-contro-elm.xml b/error_messages/voice-contro-elm.xml new file mode 100644 index 0000000..c1348e0 --- /dev/null +++ b/error_messages/voice-contro-elm.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_VOICE_CONTROL | 0x021 + Invalid state + + + TIZEN_ERROR_VOICE_CONTROL | 0x022 + Invalid language + + + TIZEN_ERROR_VOICE_CONTROL | 0x023 + Operation failed + + + TIZEN_ERROR_VOICE_CONTROL | 0x024 + Operation rejected + + + diff --git a/error_messages/voice-control.xml b/error_messages/voice-control.xml new file mode 100644 index 0000000..9c85603 --- /dev/null +++ b/error_messages/voice-control.xml @@ -0,0 +1,31 @@ + + + + TIZEN_ERROR_VOICE_CONTROL | 0x011 + Invalid state + + + TIZEN_ERROR_VOICE_CONTROL | 0x012 + Invalid language + + + TIZEN_ERROR_VOICE_CONTROL | 0x013 + No available engine + + + TIZEN_ERROR_VOICE_CONTROL | 0x014 + Operation failed + + + TIZEN_ERROR_VOICE_CONTROL | 0x015 + Operation rejected + + + TIZEN_ERROR_VOICE_CONTROL | 0x016 + List reached end + + + TIZEN_ERROR_VOICE_CONTROL | 0x017 + List empty + + \ No newline at end of file diff --git a/error_messages/widget_service.xml b/error_messages/widget_service.xml new file mode 100644 index 0000000..8e1ea21 --- /dev/null +++ b/error_messages/widget_service.xml @@ -0,0 +1,25 @@ + + + + TIZEN_ERROR_WIDGET | 0x0001 + Fault - Unable to recover from the error + + + TIZEN_ERROR_WIDGET | 0x0002 + Already exists + + + TIZEN_ERROR_WIDGET | 0x0004 + Operation is already started + + + TIZEN_ERROR_WIDGET | 0x0008 + Not exists + + + TIZEN_ERROR_WIDGET | 0x00010 + Disabled + + + + diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h new file mode 100644 index 0000000..f3d54d0 --- /dev/null +++ b/include/private/tizen_error_private.h @@ -0,0 +1,610 @@ +/* + * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + +#ifndef __TIZEN_COMMON_ERROR_PRIVATE_H__ +#define __TIZEN_COMMON_ERROR_PRIVATE_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#define ERR_ENTRY(name, value, msg) {value, name, msg} + +typedef struct tizen_err_info { + int value; + const char *name; + const char *msg; +} err_info; + +static err_info err_list[] = { + ERR_ENTRY("TIZEN_ERROR_UNKNOWN", TIZEN_ERROR_UNKNOWN, "Unknown error"), + ERR_ENTRY("TIZEN_ERROR_TIMED_OUT", TIZEN_ERROR_TIMED_OUT, "Time out"), + ERR_ENTRY("TIZEN_ERROR_NOT_SUPPORTED", TIZEN_ERROR_NOT_SUPPORTED, "Not supported"), + ERR_ENTRY("TIZEN_ERROR_USER_NOT_CONSENTED", TIZEN_ERROR_USER_NOT_CONSENTED, "Not consented"), +#if defined(TIZEN_ERROR_ACCOUNT) + ERR_ENTRY("ACCOUNT_ERROR_DUPLICATED", TIZEN_ERROR_ACCOUNT | 0x01, "Same user name exists in your application"), + ERR_ENTRY("ACCOUNT_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x03, "Related record does not exist"), + ERR_ENTRY("ACCOUNT_ERROR_DB_FAILED", TIZEN_ERROR_ACCOUNT | 0x04, "DB operation failed"), + ERR_ENTRY("ACCOUNT_ERROR_DB_NOT_OPENED", TIZEN_ERROR_ACCOUNT | 0x05, "DB is not connected"), + ERR_ENTRY("ACCOUNT_ERROR_QUERY_SYNTAX_ERROR", TIZEN_ERROR_ACCOUNT | 0x06, "DB query syntax error"), + ERR_ENTRY("ACCOUNT_ERROR_ITERATOR_END", TIZEN_ERROR_ACCOUNT | 0x07, "Iterator has reached the end"), + ERR_ENTRY("ACCOUNT_ERROR_NOTI_FAILED", TIZEN_ERROR_ACCOUNT | 0x08, "Notification failed"), + ERR_ENTRY("ACCOUNT_ERROR_XML_PARSE_FAILED", TIZEN_ERROR_ACCOUNT | 0x0a, "XML parse failed"), + ERR_ENTRY("ACCOUNT_ERROR_XML_FILE_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x0b, "XML file does not exist "), + ERR_ENTRY("ACCOUNT_ERROR_EVENT_SUBSCRIPTION_FAIL", TIZEN_ERROR_ACCOUNT | 0x0c, "Subscription failed "), + ERR_ENTRY("ACCOUNT_ERROR_NOT_REGISTERED_PROVIDER", TIZEN_ERROR_ACCOUNT | 0x0d, "Account provider is not registered"), + ERR_ENTRY("ACCOUNT_ERROR_NOT_ALLOW_MULTIPLE", TIZEN_ERROR_ACCOUNT | 0x0e, "Multiple accounts are not supported"), + ERR_ENTRY("ACCOUNT_ERROR_DATABASE_BUSY", TIZEN_ERROR_ACCOUNT | 0x10, "SQLite busy handler expired"), +#endif +#if defined(TIZEN_ERROR_APPLICATION) + ERR_ENTRY("APP_ERROR_INVALID_CONTEXT", TIZEN_ERROR_APPLICATION | 0x01, "Invalid application context"), + ERR_ENTRY("ALARM_ERROR_INVALID_TIME", TIZEN_ERROR_APPLICATION | 0x05, "Invalid time"), + ERR_ENTRY("ALARM_ERROR_INVALID_DATE", TIZEN_ERROR_APPLICATION | 0x06, "Invalid date"), + ERR_ENTRY("ALARM_ERROR_CONNECTION_FAIL", TIZEN_ERROR_APPLICATION | 0x07, "The alarm service connection failed"), + ERR_ENTRY("ALARM_ERROR_NOT_PERMITTED_APP", TIZEN_ERROR_APPLICATION | 0x08, "Application is not permitted"), + ERR_ENTRY("APP_CONTROL_ERROR_APP_NOT_FOUND", TIZEN_ERROR_APPLICATION | 0x21, "The application is not found"), + ERR_ENTRY("APP_CONTROL_ERROR_INVALID_DATA_TYPE", TIZEN_ERROR_APPLICATION | 0x22, "Invalid data type"), + ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_REJECTED", TIZEN_ERROR_APPLICATION | 0x23, "The application cannot be launched now"), + ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_FAILED", TIZEN_ERROR_APPLICATION | 0x24, "Internal launch error"), + ERR_ENTRY("PREFERENCE_ERROR_NO_KEY", TIZEN_ERROR_APPLICATION | 0x30, "Required key not available"), +#endif +#if defined(TIZEN_ERROR_APPLICATION_MANAGER) + ERR_ENTRY("APP_MANAGER_ERROR_NO_SUCH_APP", TIZEN_ERROR_APPLICATION_MANAGER | 0x01, "No such application"), + ERR_ENTRY("APP_MANAGER_ERROR_DB_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x03, "Database error"), + ERR_ENTRY("APP_MANAGER_ERROR_INVALID_PACKAGE", TIZEN_ERROR_APPLICATION_MANAGER | 0x04, "Invalid package name"), + ERR_ENTRY("APP_MANAGER_ERROR_APP_NO_RUNNING", TIZEN_ERROR_APPLICATION_MANAGER | 0x05, "App is not running"), + ERR_ENTRY("APP_MANAGER_ERROR_REQUEST_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x06, "Internal aul request error"), +#endif +#if defined(TIZEN_ERROR_BADGE) + ERR_ENTRY("BADGE_ERROR_FROM_DB", TIZEN_ERROR_BADGE | 0x01, "Error from DB"), + ERR_ENTRY("BADGE_ERROR_ALREADY_EXIST", TIZEN_ERROR_BADGE | 0x02, "Already exist"), + ERR_ENTRY("BADGE_ERROR_FROM_DBUS", TIZEN_ERROR_BADGE | 0x03, "Error from DBus"), + ERR_ENTRY("BADGE_ERROR_NOT_EXIST", TIZEN_ERROR_BADGE | 0x04, "Not exist"), + ERR_ENTRY("BADGE_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_BADGE | 0x05, "Error service not ready"), +#endif +#if defined(TIZEN_ERROR_MESSAGE_PORT) + ERR_ENTRY("MESSAGE_PORT_ERROR_PORT_NOT_FOUND", TIZEN_ERROR_MESSAGE_PORT | 0x01, "The message port of the remote application is not found"), + ERR_ENTRY("MESSAGE_PORT_ERROR_CERTIFICATE_NOT_MATCH", TIZEN_ERROR_MESSAGE_PORT | 0x02, "The remote application is not signed with the same certificate"), + ERR_ENTRY("MESSAGE_PORT_ERROR_MAX_EXCEEDED", TIZEN_ERROR_MESSAGE_PORT | 0x03, "The size of the message has exceeded the maximum limit"), + ERR_ENTRY("MESSAGE_PORT_ERROR_RESOURCE_UNAVAILABLE", TIZEN_ERROR_MESSAGE_PORT | 0x04, "Resource is temporarily unavailable"), +#endif +#if defined(TIZEN_ERROR_NOTIFICATION) + ERR_ENTRY("NOTIFICATION_ERROR_FROM_DB", TIZEN_ERROR_NOTIFICATION | 0x01, "Error from DB"), + ERR_ENTRY("NOTIFICATION_ERROR_ALREADY_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x02, "Already exist private ID"), + ERR_ENTRY("NOTIFICATION_ERROR_FROM_DBUS", TIZEN_ERROR_NOTIFICATION | 0x03, "Error from DBus"), + ERR_ENTRY("NOTIFICATION_ERROR_NOT_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x04, "Not exist private ID "), + ERR_ENTRY("NOTIFICATION_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_NOTIFICATION | 0x05, "No reponse from notification service"), +#endif + +#if defined(TIZEN_ERROR_PACKAGE_MANAGER) + ERR_ENTRY("PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE", TIZEN_ERROR_PACKAGE_MANAGER | 0x71, "No such package"), + ERR_ENTRY("PACKAGE_MANAGER_ERROR_SYSTEM_ERROR", TIZEN_ERROR_PACKAGE_MANAGER | 0x72, "Severe system error "), +#endif + +#if defined(TIZEN_ERROR_SHORTCUT) + ERR_ENTRY("SHORTCUT_ERROR_NO_SPACE", TIZEN_ERROR_SHORTCUT | 0x0001, "There is no space to add a new shortcut"), + ERR_ENTRY("SHORTCUT_ERROR_EXIST", TIZEN_ERROR_SHORTCUT | 0x0002, "Shortcut is already added"), + ERR_ENTRY("SHORTCUT_ERROR_FAULT", TIZEN_ERROR_SHORTCUT | 0x0004, "Failed to add a shortcut. Unrecoverable error"), + ERR_ENTRY("SHORTCUT_ERROR_COMM", TIZEN_ERROR_SHORTCUT | 0x0040, "Connection is not established. or there is a problem in the communication"), +#endif +#if defined(TIZEN_ERROR_BUNDLE) + ERR_ENTRY("BUNDLE_ERROR_KEY_EXISTS", TIZEN_ERROR_BUNDLE | 0x01, "Key exists"), +#endif +#if defined(TIZEN_ERROR_DATA_CONTROL) + ERR_ENTRY("DATA_CONTROL_ERROR_MAX_EXCEEDED", TIZEN_ERROR_DATA_CONTROL | 0x01, "Too long argument"), +#endif +#if defined(TIZEN_ERROR_SERVICE_APPLICATION) +#endif +#if defined(TIZEN_ERROR_UTILITY_ICU) + ERR_ENTRY("I18N_ERROR_MISSING_RESOURCE", TIZEN_ERROR_UTILITY_ICU | 0x01, "The requested resource cannot be found"), + ERR_ENTRY("I18N_ERROR_INVALID_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x02, "Data format is not what is expected "), + ERR_ENTRY("I18N_ERROR_FILE_ACCESS", TIZEN_ERROR_UTILITY_ICU | 0x03, "The requested file cannot be found"), + ERR_ENTRY("I18N_ERROR_INTERNAL_PROGRAM", TIZEN_ERROR_UTILITY_ICU | 0x04, "Indicates a bug in the library code"), + ERR_ENTRY("I18N_ERROR_INDEX_OUTOFBOUNDS", TIZEN_ERROR_UTILITY_ICU | 0x05, "Trying to access the index that is out of bounds"), + ERR_ENTRY("I18N_ERROR_INVALID_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x6, "Character conversion: Unmappable input sequence. In other APIs: Invalid character"), + ERR_ENTRY("I18N_ERROR_BUFFER_OVERFLOW", TIZEN_ERROR_UTILITY_ICU | 0x07, "A result would not fit in the supplied buffer"), + ERR_ENTRY("I18N_ERROR_COLLATOR_VERSION_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x08, "Collator version is not compatible with the base version"), + ERR_ENTRY("I18N_ERROR_USELESS_COLLATOR", TIZEN_ERROR_UTILITY_ICU | 0x09, "Collator is options only and no base is specified"), + ERR_ENTRY("I18N_ERROR_NO_WRITE_PERMISSION", TIZEN_ERROR_UTILITY_ICU | 0x0A, "Attempt to modify read-only or constant data"), + ERR_ENTRY("I18N_ERROR_RESOURCE_TYPE_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x0B, "An operation is requested over a resource that does not support it"), + ERR_ENTRY("I18N_ERROR_TOO_MANY_ALIASES", TIZEN_ERROR_UTILITY_ICU | 0x0C, "Too many aliases in the path to the requested resource"), + + ERR_ENTRY("I18N_ERROR_MESSAGE_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0D, "Unable to parse a message (message format)"), + ERR_ENTRY("I18N_ERROR_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0E, "Equivalent to Java ParseException"), + ERR_ENTRY("I18N_ERROR_TRUNCATED_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x0F, "Character conversion: Incomplete input sequence"), + ERR_ENTRY("I18N_ERROR_ILLEGAL_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x10, "Character conversion: Illegal input sequence/combination of input units"), + ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x11, "Conversion table file found, but corrupted"), + ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FILE", TIZEN_ERROR_UTILITY_ICU | 0x12, "Conversion table file not found"), + ERR_ENTRY("I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x13, "ISO-2022 illlegal escape sequence"), + ERR_ENTRY("I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x14, "ISO-2022 unsupported escape sequence"), + ERR_ENTRY("I18N_ERROR_NO_SPACE_AVAILABLE", TIZEN_ERROR_UTILITY_ICU | 0x15, "No space available for in-buffer expansion for Arabic shaping"), + ERR_ENTRY("I18N_ERROR_CE_NOT_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x16, "Currently used only while setting variable top, but can be used generally"), + ERR_ENTRY("I18N_ERROR_PRIMARY_TOO_LONG", TIZEN_ERROR_UTILITY_ICU | 0x17, "User tried to set variable top to a primary that is longer than two bytes"), + ERR_ENTRY("I18N_ERROR_STATE_TOO_OLD", TIZEN_ERROR_UTILITY_ICU | 0x18, "ICU cannot construct a service from this state, as it is no longer supported"), + ERR_ENTRY("I18N_ERROR_ENUM_OUT_OF_SYNC", TIZEN_ERROR_UTILITY_ICU | 0x19, "UEnumeration out of sync with underlying collection"), + ERR_ENTRY("I18N_ERROR_INVARIANT_CONVERSION", TIZEN_ERROR_UTILITY_ICU | 0x1A, "Unable to convert a UChar* string to char* with the invariant converter"), + ERR_ENTRY("I18N_ERROR_INVALID_STATE", TIZEN_ERROR_UTILITY_ICU | 0x1B, "Requested operation can not be completed with ICU in its current state"), + ERR_ENTRY("I18N_ERROR_MALFORMED_SET", TIZEN_ERROR_UTILITY_ICU | 0x1C, "A UnicodeSet pattern is invalid. @if MOBILE"), + ERR_ENTRY("I18N_WARNING_STRING_NOT_TERMINATED", TIZEN_ERROR_UTILITY_ICU | 0x1D, "String not terminated with NULL. @if MOBILE"), + ERR_ENTRY("I18N_ERROR_STD3_ASCII_RULES", TIZEN_ERROR_UTILITY_ICU | 0x1E, "Argument does not satisfy STD3 rules"), + ERR_ENTRY("I18N_ERROR_UNASSIGNED", TIZEN_ERROR_UTILITY_ICU | 0x1F, "Unassigned code points are found"), + ERR_ENTRY("I18N_WARNING_SORT_KEY_TOO_SHORT", TIZEN_ERROR_UTILITY_ICU | 0x20, "Number of levels requested in getBound is higher than the number of levels in the sort key"), + +#endif +#if defined(TIZEN_ERROR_MIME_TYPE) +#endif +#if defined(TIZEN_ERROR_MEDIA_CONTENT) + ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_FAILED", TIZEN_ERROR_MEDIA_CONTENT | 0x01, "DB operation failed "), + ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_BUSY", TIZEN_ERROR_MEDIA_CONTENT | 0x02, "DB operation BUSY"), + ERR_ENTRY("MEDIA_CONTENT_ERROR_NETWORK", TIZEN_ERROR_MEDIA_CONTENT | 0x03, "Network Fail"), + ERR_ENTRY("MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT", TIZEN_ERROR_MEDIA_CONTENT | 0x04, "Unsupported content "), +#endif +#if defined(TIZEN_ERROR_EMAIL_SERVICE) + ERR_ENTRY("EMAILS_ERROR_SERVER_NOT_READY", TIZEN_ERROR_EMAIL_SERVICE | 0x200, "Server not ready"), + ERR_ENTRY("EMAILS_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x201, "Communication with server failed"), + ERR_ENTRY("EMAILS_ERROR_OPERATION_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x202, "Operation failed"), + ERR_ENTRY("EMAILS_ERROR_ACCOUNT_NOT_FOUND", TIZEN_ERROR_EMAIL_SERVICE | 0x203, "Email account not found"), + ERR_ENTRY("EMAILS_ERROR_DB_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x204, "Email database failed"), +#endif +#if defined(TIZEN_ERROR_MESSAGING_SERVICE) + ERR_ENTRY("MESSAGES_ERROR_SERVER_NOT_READY", TIZEN_ERROR_MESSAGING_SERVICE | 0x501, "Server is not read"), + ERR_ENTRY("MESSAGES_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x502, "Communication with server failed"), + ERR_ENTRY("MESSAGES_ERROR_OUT_OF_RANGE", TIZEN_ERROR_MESSAGING_SERVICE | 0x503, "Index out of range"), + ERR_ENTRY("MESSAGES_ERROR_SENDING_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x504, "Sending a message failed"), + ERR_ENTRY("MESSAGES_ERROR_OPERATION_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x505, "Messaging operation failed"), + ERR_ENTRY("MESSAGES_ERROR_NO_SIM_CARD", TIZEN_ERROR_MESSAGING_SERVICE | 0x506, "No SIM Card"), + ERR_ENTRY("MESSAGES_ERROR_NO_DATA", TIZEN_ERROR_MESSAGING_SERVICE | 0x507, "No data available"), +#endif +#if defined(TIZEN_ERROR_PUSH) +#endif +#if defined(TIZEN_ERROR_AUDIO_IO) + ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_OPENED", TIZEN_ERROR_AUDIO_IO | 0x01, "Device open error"), + ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_CLOSED", TIZEN_ERROR_AUDIO_IO | 0x02, "Device close error"), + ERR_ENTRY("AUDIO_IO_ERROR_INVALID_BUFFER", TIZEN_ERROR_AUDIO_IO | 0x03, "Invalid buffer pointer"), + ERR_ENTRY("AUDIO_IO_ERROR_SOUND_POLICY", TIZEN_ERROR_AUDIO_IO | 0x04, "Sound policy error"), + ERR_ENTRY("AUDIO_IO_ERROR_INVALID_STATE", TIZEN_ERROR_AUDIO_IO | 0x05, "Invalid statea"), + ERR_ENTRY("AUDIO_IO_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_AUDIO_IO | 0x06, "Not supported stream type"), +#endif +#if defined(TIZEN_ERROR_CAMERA) + ERR_ENTRY("CAMERA_ERROR_INVALID_STATE", TIZEN_ERROR_CAMERA | 0x02, "Invalid state"), + ERR_ENTRY("CAMERA_ERROR_DEVICE", TIZEN_ERROR_CAMERA | 0x04, "Device error"), + ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY", TIZEN_ERROR_CAMERA | 0x06, "Blocked by Audio Session Manager"), + ERR_ENTRY("CAMERA_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_CAMERA | 0x07, "Restricted by security system policy"), + ERR_ENTRY("CAMERA_ERROR_DEVICE_BUSY", TIZEN_ERROR_CAMERA | 0x08, "The device is using another application or working on some operation"), + ERR_ENTRY("CAMERA_ERROR_DEVICE_NOT_FOUND", TIZEN_ERROR_CAMERA | 0x09, "No camera device "), + ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_CAMERA | 0x0a, "Blocked by Audio Session Manager - CALL"), + ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_CAMERA | 0x0b, "Blocked by Audio Session Manager - ALARM"), + ERR_ENTRY("CAMERA_ERROR_ESD", TIZEN_ERROR_CAMERA | 0x0c, "ESD situation"), + ERR_ENTRY("CAMERA_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_CAMERA | 0x0d, "Blocked by resource conflict"), + +#endif +#if defined(TIZEN_ERROR_IMAGE_UTIL) + ERR_ENTRY("IMAGE_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_IMAGE_UTIL | 0x01, "Not supported format"), +#endif +#if defined(TIZEN_ERROR_METADATA_EXTRACTOR) + ERR_ENTRY("METADATA_EXTRACTOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EXTRACTOR | 0x01, "Invalid internal operation"), +#endif +#if defined(TIZEN_ERROR_PLAYER) + ERR_ENTRY("PLAYER_ERROR_SEEK_FAILED", TIZEN_ERROR_PLAYER | 0x21, "Seek operation failure"), + ERR_ENTRY("PLAYER_ERROR_INVALID_STATE", TIZEN_ERROR_PLAYER | 0x22, "Invalid state"), + ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_FILE", TIZEN_ERROR_PLAYER | 0x23, "File format not supported"), + ERR_ENTRY("PLAYER_ERROR_INVALID_URI", TIZEN_ERROR_PLAYER | 0x24, "Invalid URI"), + ERR_ENTRY("PLAYER_ERROR_SOUND_POLICY", TIZEN_ERROR_PLAYER | 0x25, "Sound policy error "), + ERR_ENTRY("PLAYER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_PLAYER | 0x26, "Streaming connection failed"), + ERR_ENTRY("PLAYER_ERROR_VIDEO_CAPTURE_FAILED", TIZEN_ERROR_PLAYER | 0x27, "Video capture failed"), + ERR_ENTRY("PLAYER_ERROR_DRM_EXPIRED", TIZEN_ERROR_PLAYER | 0x28, "Expired license"), + ERR_ENTRY("PLAYER_ERROR_DRM_NO_LICENSE", TIZEN_ERROR_PLAYER | 0x29, "No license "), + ERR_ENTRY("PLAYER_ERROR_DRM_FUTURE_USE", TIZEN_ERROR_PLAYER | 0x2a, "License for future use"), + ERR_ENTRY("PLAYER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_PLAYER | 0x2b, "Format not permitted"), + ERR_ENTRY("PLAYER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_PLAYER | 0x2c, "Resource limit"), + ERR_ENTRY("PLAYER_ERROR_SERVICE_DISCONNECTED", TIZEN_ERROR_PLAYER | 0x2d, "Socket connection lost"), + +#endif +#if defined(TIZEN_ERROR_RECORDER) + 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"), + ERR_ENTRY("RECORDER_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_RECORDER | 0x17, "Restricted by security system policy"), + ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_RECORDER | 0x18, "Blocked by Audio Session Manager - CALL"), + ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_RECORDER | 0x19, "Blocked by Audio Session Manager - ALARM"), + ERR_ENTRY("RECORDER_ERROR_ESD", TIZEN_ERROR_RECORDER | 0x1a, "ESD situation"), + ERR_ENTRY("RECORDER_ERROR_OUT_OF_STORAGE", TIZEN_ERROR_RECORDER | 0x1b, "Out of storage"), + ERR_ENTRY("RECORDER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_RECORDER | 0x1c, "Blocked by resource conflict"), +#endif +#if defined(TIZEN_ERROR_SOUND_MANAGER) + + ERR_ENTRY("SOUND_MANAGER_ERROR_INTERNAL", TIZEN_ERROR_SOUND_MANAGER | 0x01, "Internal error inside the sound system"), + ERR_ENTRY("SOUND_MANAGER_ERROR_POLICY", TIZEN_ERROR_SOUND_MANAGER | 0x02, "Noncompliance with the sound system policy"), + ERR_ENTRY("SOUND_MANAGER_ERROR_NO_PLAYING_SOUND", TIZEN_ERROR_SOUND_MANAGER | 0x03, "No playing sound"), + ERR_ENTRY("SOUND_MANAGER_ERROR_INVALID_STATE", TIZEN_ERROR_SOUND_MANAGER | 0x04, "Invalid state"), +#endif +#if defined(TIZEN_ERROR_TONE_PLAYER) + ERR_ENTRY("TONE_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_TONE_PLAYER | 0x01, "Not supported"), +#endif +#if defined(TIZEN_ERROR_VIDEO_UTIL) + ERR_ENTRY("VIDEO_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_VIDEO_UTIL | 0x01, "Not supported format"), +#endif +#if defined(TIZEN_ERROR_WAV_PLAYER) + ERR_ENTRY("WAV_PLAYER_ERROR_FORMAT_NOT_SUPPORTED", TIZEN_ERROR_WAV_PLAYER | 0x01, "Format not supported"), + ERR_ENTRY("WAV_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_WAV_PLAYER | 0x02, "Not supported"), +#endif +#if defined(TIZEN_ERROR_RADIO) + ERR_ENTRY("RADIO_ERROR_INVALID_STATE", TIZEN_ERROR_RADIO | 0x01, "Invalid state"), + ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02, "Sound policy error"), + ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03, "No Antenna error"), + +#endif +#if defined(TIZEN_ERROR_MEDIACODEC) + ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIACODEC | 0x01, "Invalid state"), + ERR_ENTRY("MEDIACODEC_ERROR_INVALID_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x02, "Invalid input buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_INVALID_OUTBUFFER", TIZEN_ERROR_MEDIACODEC | 0x03, "Invalid output buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_INTERNAL", TIZEN_ERROR_MEDIACODEC | 0x04, "Invalid output buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_MEDIACODEC | 0x05, "Internal error"), + ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STREAM", TIZEN_ERROR_MEDIACODEC | 0x06, "Not initialized mediacodec"), + ERR_ENTRY("MEDIACODEC_ERROR_CODEC_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x07, "Cannot find codec"), + ERR_ENTRY("MEDIACODEC_ERROR_DECODE", TIZEN_ERROR_MEDIACODEC | 0x08, "Error while decoding data"), + ERR_ENTRY("MEDIACODEC_ERROR_NO_FREE_SPACE", TIZEN_ERROR_MEDIACODEC | 0x09, "Out of storage"), + ERR_ENTRY("MEDIACODEC_ERROR_STREAM_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x0a, "Cannot find stream"), + ERR_ENTRY("MEDIACODEC_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIACODEC | 0x0b, "Not supported format "), + ERR_ENTRY("MEDIACODEC_ERROR_BUFFER_NOT_AVAILABLE", TIZEN_ERROR_MEDIACODEC | 0x0c, "Not available buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_OVERFLOW_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x0d, "Overflow input buffer"), + ERR_ENTRY("MEDIACODEC_ERROR_RESOURCE_OVERLOADED", TIZEN_ERROR_MEDIACODEC | 0x0e, "Exceed the instance limit"), +#endif +#if defined(TIZEN_ERROR_BLUETOOTH) + ERR_ENTRY("BT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_BLUETOOTH | 0x0101, "Local adapter not initialized"), + ERR_ENTRY("BT_ERROR_NOT_ENABLED", TIZEN_ERROR_BLUETOOTH | 0x0102, "Local adapter not enabled"), + ERR_ENTRY("BT_ERROR_ALREADY_DONE", TIZEN_ERROR_BLUETOOTH | 0x0103, "Operation already done"), + ERR_ENTRY("BT_ERROR_OPERATION_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0104, "Operation failed"), + ERR_ENTRY("BT_ERROR_NOT_IN_PROGRESS", TIZEN_ERROR_BLUETOOTH | 0x0105, "Operation not in progress"), + ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_BONDED", TIZEN_ERROR_BLUETOOTH | 0x0106, "Remote device not bonde"), + ERR_ENTRY("BT_ERROR_AUTH_REJECTED", TIZEN_ERROR_BLUETOOTH | 0x0107, "Authentication rejected"), + ERR_ENTRY("BT_ERROR_AUTH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0108, "Authentication failed"), + ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x0109, "Remote device not found "), + ERR_ENTRY("BT_ERROR_SERVICE_SEARCH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x010A, "Service search failed"), + ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED", TIZEN_ERROR_BLUETOOTH | 0x010B, "Remote device is not connected"), + ERR_ENTRY("BT_ERROR_AGAIN", TIZEN_ERROR_BLUETOOTH | 0x010C, "Resource temporarily unavailable "), + ERR_ENTRY("BT_ERROR_SERVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x010D, "Service not found"), +#endif +#if defined(TIZEN_ERROR_CONNECTION) + ERR_ENTRY("CONNECTION_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONNECTION | 0x0401, "Operation failed"), + ERR_ENTRY("CONNECTION_ERROR_ITERATOR_END", TIZEN_ERROR_CONNECTION | 0x0402, "End of iteration"), + ERR_ENTRY("CONNECTION_ERROR_NO_CONNECTION", TIZEN_ERROR_CONNECTION | 0x0403, "There is no connection"), + ERR_ENTRY("CONNECTION_ERROR_ALREADY_EXISTS", TIZEN_ERROR_CONNECTION | 0x0404, "Already exists"), + ERR_ENTRY("CONNECTION_ERROR_OPERATION_ABORTED", TIZEN_ERROR_CONNECTION | 0x0405, "Operation is aborted"), + ERR_ENTRY("CONNECTION_ERROR_DHCP_FAILED", TIZEN_ERROR_CONNECTION | 0x0406, "DHCP failed"), + ERR_ENTRY("CONNECTION_ERROR_INVALID_KEY", TIZEN_ERROR_CONNECTION | 0x0407, "Invalid key"), + ERR_ENTRY("CONNECTION_ERROR_NO_REPLY", TIZEN_ERROR_CONNECTION | 0x0408, "No reply"), +#endif +#if defined(TIZEN_ERROR_NFC) + ERR_ENTRY("NFC_ERROR_OPERATION_FAILED", TIZEN_ERROR_NFC | 0x01, "Operation failed"), + ERR_ENTRY("NFC_ERROR_INVALID_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x02, "Invalid NDEF message"), + ERR_ENTRY("NFC_ERROR_INVALID_RECORD_TYPE", TIZEN_ERROR_NFC | 0x03, "Invalid record type"), + ERR_ENTRY("NFC_ERROR_NO_DEVICE", TIZEN_ERROR_NFC | 0x04, "No device"), + ERR_ENTRY("NFC_ERROR_NOT_ACTIVATED", TIZEN_ERROR_NFC | 0x05, "NFC is not activated"), + ERR_ENTRY("NFC_ERROR_ALREADY_ACTIVATED", TIZEN_ERROR_NFC | 0x06, "Already activated"), + ERR_ENTRY("NFC_ERROR_ALREADY_DEACTIVATED", TIZEN_ERROR_NFC | 0x07, "Already deactivated"), + ERR_ENTRY("NFC_ERROR_READ_ONLY_NDEF", TIZEN_ERROR_NFC | 0x08, "Read only tag"), + ERR_ENTRY("NFC_ERROR_NO_SPACE_ON_NDEF", TIZEN_ERROR_NFC | 0x09, "No enough space on tag"), + ERR_ENTRY("NFC_ERROR_NO_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x0a, "No NDEF Message on Tag"), + ERR_ENTRY("NFC_ERROR_NOT_NDEF_FORMAT", TIZEN_ERROR_NFC | 0x0b, "Not NDEF format Tag "), + ERR_ENTRY("NFC_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_NFC | 0x0c, "Restricted by access control"), + ERR_ENTRY("NFC_ERROR_ILLEGAL_STATE", TIZEN_ERROR_NFC | 0x0d, "The state is wrong"), + ERR_ENTRY("NFC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_NFC | 0x0e, "NFC is not initialized"), + ERR_ENTRY("NFC_ERROR_TAG_NOT_SUPPORTED", TIZEN_ERROR_NFC | 0x0f, "Tag is not supported"), + ERR_ENTRY("NFC_ERROR_AID_ALREADY_REGISTERED", TIZEN_ERROR_NFC | 0x10, "AID already registered"), +#endif +#if defined(TIZEN_ERROR_TETHERING) + ERR_ENTRY("TETHERING_ERROR_NOT_ENABLED", TIZEN_ERROR_TETHERING | 0x0501, "Not enabled"), + ERR_ENTRY("TETHERING_ERROR_OPERATION_FAILED", TIZEN_ERROR_TETHERING | 0x0502, "Operation failed"), +#endif +#if defined(TIZEN_ERROR_WIFI) + ERR_ENTRY("WIFI_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI | 0x0301, "Operation failed"), + ERR_ENTRY("WIFI_ERROR_NO_CONNECTION", TIZEN_ERROR_WIFI | 0x0302, "There is no connected AP"), + ERR_ENTRY("WIFI_ERROR_ALREADY_EXISTS", TIZEN_ERROR_WIFI | 0x0303, "Already exists"), + ERR_ENTRY("WIFI_ERROR_OPERATION_ABORTED", TIZEN_ERROR_WIFI | 0x0304, "Operation is aborted "), + ERR_ENTRY("WIFI_ERROR_DHCP_FAILED", TIZEN_ERROR_WIFI | 0x0306, "DHCP failed"), + ERR_ENTRY("WIFI_ERROR_INVALID_KEY", TIZEN_ERROR_WIFI | 0x0307, "Invalid key"), + ERR_ENTRY("WIFI_ERROR_NO_REPLY", TIZEN_ERROR_WIFI | 0x0308, "No reply"), + ERR_ENTRY("WIFI_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_WIFI | 0x0309, "Restricted by security system policy"), +#endif +#if defined(TIZEN_ERROR_WIFI_DIRECT) + ERR_ENTRY("WIFI_DIRECT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x01, "Not initialized"), + ERR_ENTRY("WIFI_DIRECT_ERROR_COMMUNICATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x02, "I/O error"), + ERR_ENTRY("WIFI_DIRECT_ERROR_WIFI_USED", TIZEN_ERROR_WIFI_DIRECT | 0x03, "WiFi is being used"), + ERR_ENTRY("WIFI_DIRECT_ERROR_MOBILE_AP_USED", TIZEN_ERROR_WIFI_DIRECT | 0x04, "Mobile AP is being used"), + ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x05, "Mobile AP is being used"), + ERR_ENTRY("WIFI_DIRECT_ERROR_AUTH_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x06, "Authentication failed"), + ERR_ENTRY("WIFI_DIRECT_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x07, "Operation failed"), + ERR_ENTRY("WIFI_DIRECT_ERROR_TOO_MANY_CLIENT", TIZEN_ERROR_WIFI_DIRECT | 0x08, "Many client"), + ERR_ENTRY("WIFI_DIRECT_ERROR_ALREADY_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x09, "Already initialized client"), + ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_CANCELED", TIZEN_ERROR_WIFI_DIRECT | 0x10, "Connection canceled by local device"), +#endif +#if defined(TIZEN_ERROR_KEY_MANAGER) + ERR_ENTRY("CKMC_ERROR_SOCKET", TIZEN_ERROR_KEY_MANAGER | 0x01, "Socket error between client and Central Key Manager"), + ERR_ENTRY("CKMC_ERROR_BAD_REQUEST", TIZEN_ERROR_KEY_MANAGER | 0x02, "Invalid request from client "), + ERR_ENTRY("CKMC_ERROR_BAD_RESPONSE", TIZEN_ERROR_KEY_MANAGER | 0x03, "Invalid response from Central Key Manager"), + ERR_ENTRY("CKMC_ERROR_SEND_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x04, "Transmitting request failed"), + ERR_ENTRY("CKMC_ERROR_RECV_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x05, "Receiving response failed"), + ERR_ENTRY("CKMC_ERROR_AUTHENTICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x06, "Authentication between client and manager failed"), + ERR_ENTRY("CKMC_ERROR_BUFFER_TOO_SMALL", TIZEN_ERROR_KEY_MANAGER | 0x07, "The output buffer size which is passed as parameter is too small"), + ERR_ENTRY("CKMC_ERROR_SERVER_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x08, "Central Key Manager has been failed for some reason"), + ERR_ENTRY("CKMC_ERROR_DB_LOCKED", TIZEN_ERROR_KEY_MANAGER | 0x09, "The database was not unlocked - user did not login"), + ERR_ENTRY("CKMC_ERROR_DB_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x0A, "An internal error inside the database"), + ERR_ENTRY("CKMC_ERROR_DB_ALIAS_EXISTS", TIZEN_ERROR_KEY_MANAGER | 0x0B, "Provided alias already exists in the database"), + ERR_ENTRY("CKMC_ERROR_DB_ALIAS_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0x0C, "No data for given alias"), + ERR_ENTRY("CKMC_ERROR_VERIFICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x0D, "CA certificate(s) were unknown and chain could not be created"), + ERR_ENTRY("CKMC_ERROR_INVALID_FORMAT", TIZEN_ERROR_KEY_MANAGER | 0x0E, "A provided file doesn't exists or cannot be accessed in the file system"), + ERR_ENTRY("CKMC_ERROR_FILE_ACCESS_DENIED", TIZEN_ERROR_KEY_MANAGER | 0x0F, "A provided file or binary has not a valid format"), + ERR_ENTRY("CKMC_ERROR_NOT_EXPORTABLE", TIZEN_ERROR_KEY_MANAGER | 0x10, "Key is not exportable. It could not be returned to client"), + ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key\/certificate\/pkcs12 failed because of file system error"), + ERR_ENTRY("CKMC_ERROR_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0xFF, "The error with unknown reason"), +#endif +#if defined(TIZEN_ERROR_CALENDAR) + ERR_ENTRY("CALENDAR_ERROR_DB_FAILED", TIZEN_ERROR_CALENDAR | 0x02, "No access to the database"), + ERR_ENTRY("CALENDAR_ERROR_ITERATOR_END", TIZEN_ERROR_CALENDAR | 0x04, "Iterator is on the last position"), + 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"), +#endif +#if defined(TIZEN_ERROR_CONTACTS) + ERR_ENTRY("CONTACTS_ERROR_DB_LOCKED", TIZEN_ERROR_CONTACTS | 0x81, "Database table locked or file locked"), + ERR_ENTRY("CONTACTS_ERROR_DB", TIZEN_ERROR_CONTACTS | 0x9F, "Unknown DB error"), + ERR_ENTRY("CONTACTS_ERROR_IPC_NOT_AVALIABLE", TIZEN_ERROR_CONTACTS | 0xB1, "IPC server is not available"), + ERR_ENTRY("CONTACTS_ERROR_IPC", TIZEN_ERROR_CONTACTS | 0xBF, "Unknown IPC error"), + ERR_ENTRY("CONTACTS_ERROR_SYSTEM", TIZEN_ERROR_CONTACTS | 0xEF, "Internal system module error"), + ERR_ENTRY("CONTACTS_ERROR_INTERNAL", TIZEN_ERROR_CONTACTS | 0xFF, "Implementation Error, Temporary Use"), +#endif +#if defined(TIZEN_ERROR_STORAGE) + ERR_ENTRY("STORAGE_ERROR_OPERATION_FAILED", TIZEN_ERROR_SYSTEM_CLASS | 0x12, "Operation failed"), +#endif +#if defined(TIZEN_ERROR_DEVICE) + ERR_ENTRY("DEVICE_ERROR_NOT_INITIALIZED", TIZEN_ERROR_DEVICE | 0x13, "Not initialized"), +#endif +#if defined(TIZEN_ERROR_DLOG) +#endif +#if defined(TIZEN_ERROR_MEDIA_KEY) + ERR_ENTRY("MEDIA_KEY_ERROR_OPERATION_FAILED", TIZEN_ERROR_MEDIA_KEY | 0x01, "Reserve/Release failed"), +#endif +#if defined(TIZEN_ERROR_RUNTIME_INFORMATION) +#endif +#if defined(TIZEN_ERROR_SENSOR) + ERR_ENTRY("SENSOR_ERROR_NOT_NEED_CALIBRATION", TIZEN_ERROR_SENSOR | 0x03, "Sensor doesn't need calibration"), + ERR_ENTRY("SENSOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_SENSOR | 0x06, "Operation failed"), +#endif +#if defined(TIZEN_ERROR_SYSTEM_INFORMATION) +#endif +#if defined(TIZEN_ERROR_SYSTEM_SETTING) + ERR_ENTRY("SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE", TIZEN_ERROR_SYSTEM_SETTING | 0x01, "Current lock screen app set 'password' type"), +#endif +#if defined(TIZEN_ERROR_SYSTEM_RESOURCE) +#endif +#if defined(TIZEN_ERROR_CONTEXT) + ERR_ENTRY("ACTIVITY_ERROR_ALREADY_STARTED", TIZEN_ERROR_CONTEXT | 0x01, "Recognition is already started"), + ERR_ENTRY("ACTIVITY_ERROR_NOT_STARTED", TIZEN_ERROR_CONTEXT | 0x02, "Recognition is not started"), + ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"), + ERR_ENTRY("ACTIVITY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"), +#endif +#if defined(TIZEN_ERROR_TELEPHONY) + ERR_ENTRY("TELEPHONY_ERROR_OPERATION_FAILED", TIZEN_ERROR_TELEPHONY | 0x0001, "Operation failed"), + ERR_ENTRY("TELEPHONY_ERROR_SIM_NOT_AVAILABLE", TIZEN_ERROR_TELEPHONY | 0x1001, "SIM is not available"), +#endif +#if defined(TIZEN_ERROR_EFL_UTIL) + ERR_ENTRY("EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE", TIZEN_ERROR_EFL_UTIL | 0x01, "Window type not supported"), + ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_INIT_FAIL", TIZEN_ERROR_EFL_UTIL | 0x02, "Screenshot initialization fail"), + ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL", TIZEN_ERROR_EFL_UTIL | 0x03, "Screenshot execution fail"), +#endif +#if defined(TIZEN_ERROR_TBM) +#endif +#if defined(TIZEN_ERROR_DOWNLOAD) + ERR_ENTRY("DOWNLOAD_ERROR_INVALID_STATE", TIZEN_ERROR_DOWNLOAD | 0x21, "Invalid state"), + ERR_ENTRY("DOWNLOAD_ERROR_CONNECTION_FAILED", TIZEN_ERROR_DOWNLOAD | 0x22, "Connection failed"), + ERR_ENTRY("DOWNLOAD_ERROR_INVALID_URL", TIZEN_ERROR_DOWNLOAD | 0x24, "Invalid URL"), + ERR_ENTRY("DOWNLOAD_ERROR_INVALID_DESTINATION", TIZEN_ERROR_DOWNLOAD | 0x25, "Invalid destination"), + ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_DOWNLOADS", TIZEN_ERROR_DOWNLOAD | 0x26, "Too many simultaneous downloads"), + ERR_ENTRY("DOWNLOAD_ERROR_QUEUE_FULL", TIZEN_ERROR_DOWNLOAD | 0x27, "Download server queue is full"), + ERR_ENTRY("DOWNLOAD_ERROR_ALREADY_COMPLETED", TIZEN_ERROR_DOWNLOAD | 0x28, "The download is already completed"), + ERR_ENTRY("DOWNLOAD_ERROR_FILE_ALREADY_EXISTS", TIZEN_ERROR_DOWNLOAD | 0x29, "Failed to rename the downloaded file"), + ERR_ENTRY("DOWNLOAD_ERROR_CANNOT_RESUME", TIZEN_ERROR_DOWNLOAD | 0x2a, "Cannot resume"), + ERR_ENTRY("DOWNLOAD_ERROR_FIELD_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x2b, "Specified field not found"), + ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_REDIRECTS", TIZEN_ERROR_DOWNLOAD | 0x30, "Too many redirects from HTTP response header"), + ERR_ENTRY("DOWNLOAD_ERROR_UNHANDLED_HTTP_CODE", TIZEN_ERROR_DOWNLOAD | 0x31, "The download cannot handle the HTTP status value"), + ERR_ENTRY("DOWNLOAD_ERROR_REQUEST_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x32, "No action after client creates a download ID"), + ERR_ENTRY("DOWNLOAD_ERROR_RESPONSE_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x33, "No call to start API for some time although the download is created"), + ERR_ENTRY("DOWNLOAD_ERROR_SYSTEM_DOWN", TIZEN_ERROR_DOWNLOAD | 0x34, "No response from client after rebooting download daemon"), + ERR_ENTRY("DOWNLOAD_ERROR_ID_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x35, "Download ID does not exist in download service module"), + ERR_ENTRY("DOWNLOAD_ERROR_INVALID_NETWORK_TYPE", TIZEN_ERROR_DOWNLOAD | 0x36, "Network bonding is set but network type is not set as DOWNLOAD_NETWORK_ALL"), +#endif +#if defined(TIZEN_ERROR_WEBVIEW) +#endif +#if defined(TIZEN_ERROR_LOCATION_MANAGER) + ERR_ENTRY("LOCATIONS_ERROR_INCORRECT_METHOD", TIZEN_ERROR_LOCATION_MANAGER | 0x01, "Location manager contains incorrect method for a given call"), + ERR_ENTRY("LOCATIONS_ERROR_NETWORK_FAILED", TIZEN_ERROR_LOCATION_MANAGER | 0x02, "Network unavailable"), + ERR_ENTRY("LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_LOCATION_MANAGER | 0x03, "Location service is not available"), + ERR_ENTRY("LOCATIONS_ERROR_GPS_SETTING_OFF", TIZEN_ERROR_LOCATION_MANAGER | 0x04, "GPS/WPS setting is not enabled"), + ERR_ENTRY("LOCATIONS_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_LOCATION_MANAGER | 0x05, "Restricted by security system policy"), + ERR_ENTRY("LOCATION_BOUNDS_ERROR_INCORRECT_TYPE", TIZEN_ERROR_LOCATION_MANAGER | 0x21, "Incorrect bounds type for a given call"), + ERR_ENTRY("LOCATION_BOUNDS_ERROR_IS_ADDED", TIZEN_ERROR_LOCATION_MANAGER | 0x22, "Cannot remove bounds handle from location manager"), +#endif +#if defined(TIZEN_ERROR_STT) + ERR_ENTRY("STT_ERROR_INVALID_STATE", TIZEN_ERROR_STT | 0x01, "Invalid state"), + ERR_ENTRY("STT_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_STT | 0x02, "Invalid language"), + ERR_ENTRY("STT_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_STT | 0x03, "No available engine"), + ERR_ENTRY("STT_ERROR_OPERATION_FAILED", TIZEN_ERROR_STT | 0x04, "Operation failed"), + ERR_ENTRY("STT_ERROR_NOT_SUPPORTED_FEATURE", TIZEN_ERROR_STT | 0x05, "Not supported feature of current engine"), +#endif +#if defined(TIZEN_ERROR_TTS) + ERR_ENTRY("TTS_ERROR_INVALID_STATE", TIZEN_ERROR_TTS | 0x01, "Invalid state"), + ERR_ENTRY("TTS_ERROR_INVALID_VOICE", TIZEN_ERROR_TTS | 0x02, "Invalid voice"), + ERR_ENTRY("TTS_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_TTS | 0x03, "No available engine"), + ERR_ENTRY("TTS_ERROR_OPERATION_FAILED", TIZEN_ERROR_TTS | 0x04, "Operation failed"), + ERR_ENTRY("TTS_ERROR_AUDIO_POLICY_BLOCKED", TIZEN_ERROR_TTS | 0x05, "Audio policy blocked"), +#endif +#if defined(TIZEN_ERROR_SMARTCARD) + ERR_ENTRY("SMARTCARD_ERROR_GENERAL", TIZEN_ERROR_SMARTCARD | 0x01, "A general error occurred"), + ERR_ENTRY("SMARTCARD_ERROR_NO_SUCH_ELEMENT", TIZEN_ERROR_SMARTCARD | 0x02, "No such element error"), + ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_STATE", TIZEN_ERROR_SMARTCARD | 0x03, "Illegal state of execution error"), + ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_REFERENCE", TIZEN_ERROR_SMARTCARD | 0x04, "Illegal reference"), + ERR_ENTRY("SMARTCARD_ERROR_OPERATION_NOT_SUPPORTED", TIZEN_ERROR_SMARTCARD | 0x05, "Operation not supported from SE"), + ERR_ENTRY("SMARTCARD_ERROR_CHANNEL_NOT_AVAILABLE", TIZEN_ERROR_SMARTCARD | 0x06, "No channel available"), + ERR_ENTRY("SMARTCARD_ERROR_NOT_INITIALIZED", TIZEN_ERROR_SMARTCARD | 0x07, "Smartcard service not initialized"), +#endif +#if defined(TIZEN_ERROR_HEALTH) + ERR_ENTRY("HEALTH_ERROR_DATA_TYPE_NOT_FOUND", TIZEN_ERROR_HEALTH | 0x01, "Maifest for the data type specified not found"), + ERR_ENTRY("HEALTH_ERROR_MANDATORY_DATA_REQURIED", TIZEN_ERROR_HEALTH | 0x02, "Mandatory property is missing"), + ERR_ENTRY("HEALTH_ERROR_INVALID_DATA", TIZEN_ERROR_HEALTH | 0x03, "Data is out of range or invalid type"), +#endif +#if defined(TIZEN_ERROR_VOICE_CONTROL) + ERR_ENTRY("VC_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x011, "Invalid state"), + ERR_ENTRY("VC_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_VOICE_CONTROL | 0x012, "Invalid language"), + ERR_ENTRY("VC_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_VOICE_CONTROL | 0x013, "No available engine"), + ERR_ENTRY("VC_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x014, "Operation failed"), + ERR_ENTRY("VC_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x015, "Operation rejected"), + ERR_ENTRY("VC_ERROR_ITERATION_END", TIZEN_ERROR_VOICE_CONTROL | 0x016, "List reached end"), + ERR_ENTRY("VC_ERROR_EMPTY", TIZEN_ERROR_VOICE_CONTROL | 0x017, "List empty"), + //voice ui control + ERR_ENTRY("VC_ELM_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x021, " Invalid state"), + ERR_ENTRY("VC_ELM_ERROR_INVALID_LANGUAG", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Invalid language"), + ERR_ENTRY("VC_ELM_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x023, "Operation failed"), + ERR_ENTRY("VC_ELM_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x024, "Operation rejected"), +#endif +#if defined(TIZEN_ERROR_FEEDBACK) + ERR_ENTRY("FEEDBACK_ERROR_NOT_INITIALIZED", TIZEN_ERROR_FEEDBACK | 0x01, "Not initialized"), +#endif +#if defined(TIZEN_ERROR_EOM) + ERR_ENTRY("EOM_ERROR_CONNECTION_FAILURE", TIZEN_ERROR_EOM | 0x01, "Connection failure"), + ERR_ENTRY("EOM_ERROR_MESSAGE_SENDING_FAILURE", TIZEN_ERROR_EOM | 0x02, "Message sending failure"), + ERR_ENTRY("EOM_ERROR_MESSAGE_OPERATION_FAILURE", TIZEN_ERROR_EOM | 0x03, "Message operation failure"), +#endif +#if defined(TIZEN_ERROR_WIDGET) + ERR_ENTRY("WIDGET_ERROR_FAULT", TIZEN_ERROR_WIDGET | 0x0001, "Fault - Unable to recover from the error"), + ERR_ENTRY("WIDGET_ERROR_ALREADY_EXIST", TIZEN_ERROR_WIDGET | 0x0002, "Already exists"), + ERR_ENTRY("WIDGET_ERROR_ALREADY_STARTED", TIZEN_ERROR_WIDGET | 0x0004, "Operation is already started"), + ERR_ENTRY("WIDGET_ERROR_NOT_EXIST", TIZEN_ERROR_WIDGET | 0x0008, "Not exists"), + ERR_ENTRY("WIDGET_ERROR_DISABLED", TIZEN_ERROR_WIDGET | 0x00010, "Disabled"), +#endif +#if defined(TIZEN_ERROR_MINICONTROL) + ERR_ENTRY("MINICONTROL_ERROR_IPC_FAILURE", TIZEN_ERROR_MINICONTROL | 0x02, " IPC error"), + ERR_ENTRY("MINICONTROL_ERROR_ELM_FAILURE", TIZEN_ERROR_MINICONTROL | 0x03, " Some error occued on elementary"), +#endif +#if defined(TIZEN_ERROR_IME) + ERR_ENTRY("IME_ERROR_NO_CALLBACK_FUNCTION", TIZEN_ERROR_IME | 0x0001, "Necessary callback function is not set"), + ERR_ENTRY("IME_ERROR_NOT_RUNNING", TIZEN_ERROR_IME | 0x0002, "IME main loop isn't started yet "), + ERR_ENTRY("IME_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0003, "Operation failed"), + ERR_ENTRY("IME_MANAGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0010, "Operation failed"), +#endif +#if defined(TIZEN_ERROR_MAPS_SERVICE) + ERR_ENTRY("MAPS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_MAPS_SERVICE | 0x01, "Service unavailable"), + ERR_ENTRY("MAPS_ERROR_NOT_FOUND", TIZEN_ERROR_MAPS_SERVICE | 0x02, "Result not found "), +#endif +#if defined(TIZEN_ERROR_GEOFENCE_MANAGER) + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_NOT_INITIALIZED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x01, "Geofence Manager is not initialized"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_INVALID_ID", TIZEN_ERROR_GEOFENCE_MANAGER | 0x02, "Invalid Geofence ID"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_EXCEPTION", TIZEN_ERROR_GEOFENCE_MANAGER | 0x03, "exception is occurred"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_ALREADY_STARTED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x04, "Geofence is already started"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_TOO_MANY_GEOFENCE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x05, "Too many Geofence"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_IPC", TIZEN_ERROR_GEOFENCE_MANAGER | 0x06, "Error occurred in GPS/Wi-Fi/BT"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_DATABASE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x07, "DB error occurred in the server side"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_PLACE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x08, "Access to specified place is denied"), + ERR_ENTRY("GEOFENCE_MANAGER_ERROR_GEOFENCE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x09, "Access to specified geofence is denied"), +#endif +#if defined(TIZEN_ERROR_SYNC_MANAGER) + ERR_ENTRY("SYNC_ERROR_SYSTEM", TIZEN_ERROR_SYNC_MANAGER | 0x01, "System error"), + ERR_ENTRY("SYNC_ERROR_SYNC_ADAPTER_NOT_FOUND", TIZEN_ERROR_SYNC_MANAGER | 0x02, "Sync adater is not registered"), +#endif +#if defined(TIZEN_ERROR_SERVICE_ADAPTOR) + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x01, "IPC Connection unstabled"), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x02, "The error occured from Plugin"), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x03, "Need Autholization "), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INVALID_STATE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x04, "The handle state is invalid for processing API"), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_SYSTEM", TIZEN_ERROR_SERVICE_ADAPTOR | 0x05, "Internal system module error"), + ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INTERNAL", TIZEN_ERROR_SERVICE_ADAPTOR | 0x06, "Implementation Error"), +#endif +#if defined(TIZEN_ERROR_ACCOUNT_OAUTH) + ERR_ENTRY("OAUTH2_ERROR_PARSE_FAILED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x01, "Response parse failed"), + ERR_ENTRY("OAUTH2_ERROR_NETWORK_ERROR", TIZEN_ERROR_ACCOUNT_OAUTH | 0x02, "Network error"), + ERR_ENTRY("OAUTH2_ERROR_SERVER", TIZEN_ERROR_ACCOUNT_OAUTH | 0x03, "Server error"), + ERR_ENTRY("OAUTH2_ERROR_USER_CANCELLED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x04, "User cancelled the operation"), + ERR_ENTRY("OAUTH2_ERROR_VALUE_NOT_FOUND", TIZEN_ERROR_ACCOUNT_OAUTH | 0x05, "Value not found"), +#endif +#if defined(TIZEN_ERROR_CONTEXT) + ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"), + ERR_ENTRY("CONTEXT_HISTORY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"), +#endif +#if defined(TIZEN_ERROR_CONTEXT) + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"), + ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"), +#endif +#if defined(TIZEN_ERROR_MEDIA_VISION) + ERR_ENTRY("MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIA_VISION | 0x01, "Not supported format"), + ERR_ENTRY("MEDIA_VISION_ERROR_INTERNAL", TIZEN_ERROR_MEDIA_VISION | 0x02, "Internal error"), + ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_DATA", TIZEN_ERROR_MEDIA_VISION | 0x03, "Invalid data"), + ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_VISION | 0x04, "Invalid path"), +#endif +#if defined(TIZEN_ERROR_METADATA_EDITOR) + ERR_ENTRY("METADATA_EDITOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EDITOR | 0x01, "Invalid internal operation"), +#endif +#if defined(TIZEN_ERROR_PHONENUMBER_UTILS) + ERR_ENTRY("PHONE_NUMBER_ERROR_SYSTEM", TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF, "Internal error"), +#endif +#if defined(TIZEN_ERROR_PANEL) + ERR_ENTRY("SHARE_PANEL_ERROR_ALREADY_EXISTS", TIZEN_ERROR_PANEL | 0x01, "There is already a panel in the conformant"), + ERR_ENTRY("SHARE_PANEL_ERROR_NOT_INITIALIZED", TIZEN_ERROR_PANEL | 0x02, "The panel is not initialized yet"), + ERR_ENTRY("SHARE_PANEL_ERROR_INVALID_OPERATION", TIZEN_ERROR_PANEL | 0x03, "Not supported content category"), + ERR_ENTRY("ATTACH_PANEL_ERROR_ALREADY_DESTROYED", TIZEN_ERROR_PANEL | 0x05, "The panel is already removed"), +#endif +#if defined(TIZEN_ERROR_IOTCON) + ERR_ENTRY("IOTCON_ERROR_IOTIVITY", TIZEN_ERROR_IOTCON | 0x01, "Internal error"), + ERR_ENTRY("IOTCON_ERROR_REPRESENTATION", TIZEN_ERROR_IOTCON | 0x02, "Representation errors"), + ERR_ENTRY("IOTCON_ERROR_INVALID_TYPE", TIZEN_ERROR_IOTCON | 0x03, "Invalid type"), + ERR_ENTRY("IOTCON_ERROR_ALREADY", TIZEN_ERROR_IOTCON | 0x04, "Already"), + ERR_ENTRY("IOTCON_ERROR_DBUS", TIZEN_ERROR_IOTCON | 0x05, "D-Bus errors"), + ERR_ENTRY("IOTCON_ERROR_SYSTEM", TIZEN_ERROR_IOTCON | 0x06, "System errors"), +#endif +#if defined(TIZEN_ERROR_MEDIA_STREAMER) + ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_STREAMER | 0x01, "Invalid state"), + ERR_ENTRY("MEDIA_STREAMER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x02, "Connection failed"), + ERR_ENTRY("MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_MEDIA_STREAMER | 0x03, "Resource conflict"), + ERR_ENTRY("MEDIA_STREAMER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x04, "Seek operation failure"), +#endif +#if defined(TIZEN_ERROR_MEDIA_DEMUXER) + ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"), + ERR_ENTRY("MEDIADEMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_DEMUXER | 0x02, "Invalid path"), + ERR_ENTRY("MEDIADEMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_DEMUXER | 0x03, "Resource limit"), + ERR_ENTRY("MEDIADEMUXER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_DEMUXER | 0x04, "Seek operation failure"), + ERR_ENTRY("MEDIADEMUXER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_MEDIA_DEMUXER | 0x05, "Not permitted format"), +#endif +#if defined(TIZEN_ERROR_MEDIA_MUXER) + ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"), + ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_MUXER | 0x02, "Invalid path"), + ERR_ENTRY("MEDIAMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_MUXER | 0x03, "Resource limit"), +#endif + {0, NULL, NULL} +}; + +#ifdef __cplusplus +} +#endif + +#endif /**<__TIZEN_COMMON_ERROR_PRIVATE_H__ */ diff --git a/src/tizen_error.c b/src/tizen_error.c index b8e8c11..1fd722b 100644 --- a/src/tizen_error.c +++ b/src/tizen_error.c @@ -17,589 +17,11 @@ #include #include #include "tizen.h" +#include "private/tizen_error_private.h" /* END of Tizen Platoform Error */ #define TIZEN_ERROR_MIN_PLATFORM_MODULE -0x0FFFFFFF -#define ERR_ENTRY(name, value, msg) {value, name, msg} - -typedef struct tizen_err_info { - int value; - const char *name; - const char *msg; -} err_info; - -static err_info err_list[] = { - ERR_ENTRY("TIZEN_ERROR_UNKNOWN", TIZEN_ERROR_UNKNOWN, "Unknown error"), - ERR_ENTRY("TIZEN_ERROR_TIMED_OUT", TIZEN_ERROR_TIMED_OUT, "Time out"), - ERR_ENTRY("TIZEN_ERROR_NOT_SUPPORTED", TIZEN_ERROR_NOT_SUPPORTED, "Not supported"), - ERR_ENTRY("TIZEN_ERROR_USER_NOT_CONSENTED", TIZEN_ERROR_USER_NOT_CONSENTED, "Not consented"), -#if defined(TIZEN_ERROR_ACCOUNT) - ERR_ENTRY("ACCOUNT_ERROR_DUPLICATED", TIZEN_ERROR_ACCOUNT | 0x01, "Same user name exists in your application"), - ERR_ENTRY("ACCOUNT_ERROR_RECORD_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x03, "Related record does not exist"), - ERR_ENTRY("ACCOUNT_ERROR_DB_FAILED", TIZEN_ERROR_ACCOUNT | 0x04, "DB operation failed"), - ERR_ENTRY("ACCOUNT_ERROR_DB_NOT_OPENED", TIZEN_ERROR_ACCOUNT | 0x05, "DB is not connected"), - ERR_ENTRY("ACCOUNT_ERROR_QUERY_SYNTAX_ERROR", TIZEN_ERROR_ACCOUNT | 0x06, "DB query syntax error"), - ERR_ENTRY("ACCOUNT_ERROR_ITERATOR_END", TIZEN_ERROR_ACCOUNT | 0x07, "Iterator has reached the end"), - ERR_ENTRY("ACCOUNT_ERROR_NOTI_FAILED", TIZEN_ERROR_ACCOUNT | 0x08, "Notification failed"), - ERR_ENTRY("ACCOUNT_ERROR_XML_PARSE_FAILED", TIZEN_ERROR_ACCOUNT | 0x0a, "XML parse failed"), - ERR_ENTRY("ACCOUNT_ERROR_XML_FILE_NOT_FOUND", TIZEN_ERROR_ACCOUNT | 0x0b, "XML file does not exist "), - ERR_ENTRY("ACCOUNT_ERROR_EVENT_SUBSCRIPTION_FAIL", TIZEN_ERROR_ACCOUNT | 0x0c, "Subscription failed "), - ERR_ENTRY("ACCOUNT_ERROR_NOT_REGISTERED_PROVIDER", TIZEN_ERROR_ACCOUNT | 0x0d, "Account provider is not registered"), - ERR_ENTRY("ACCOUNT_ERROR_NOT_ALLOW_MULTIPLE", TIZEN_ERROR_ACCOUNT | 0x0e, "Multiple accounts are not supported"), - ERR_ENTRY("ACCOUNT_ERROR_DATABASE_BUSY", TIZEN_ERROR_ACCOUNT | 0x10, "SQLite busy handler expired"), -#endif -#if defined(TIZEN_ERROR_APPLICATION) - ERR_ENTRY("APP_ERROR_INVALID_CONTEXT", TIZEN_ERROR_APPLICATION | 0x01, "Invalid application context"), - ERR_ENTRY("ALARM_ERROR_INVALID_TIME", TIZEN_ERROR_APPLICATION | 0x05, "Invalid time"), - ERR_ENTRY("ALARM_ERROR_INVALID_DATE", TIZEN_ERROR_APPLICATION | 0x06, "Invalid date"), - ERR_ENTRY("ALARM_ERROR_CONNECTION_FAIL", TIZEN_ERROR_APPLICATION | 0x07, "The alarm service connection failed"), - ERR_ENTRY("ALARM_ERROR_NOT_PERMITTED_APP", TIZEN_ERROR_APPLICATION | 0x08, "Application is not permitted"), - ERR_ENTRY("APP_CONTROL_ERROR_APP_NOT_FOUND", TIZEN_ERROR_APPLICATION | 0x21, "The application is not found"), - ERR_ENTRY("APP_CONTROL_ERROR_INVALID_DATA_TYPE", TIZEN_ERROR_APPLICATION | 0x22, "Invalid data type"), - ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_REJECTED", TIZEN_ERROR_APPLICATION | 0x23, "The application cannot be launched now"), - ERR_ENTRY("APP_CONTROL_ERROR_LAUNCH_FAILED", TIZEN_ERROR_APPLICATION | 0x24, "Internal launch error"), - ERR_ENTRY("PREFERENCE_ERROR_NO_KEY", TIZEN_ERROR_APPLICATION | 0x30, "Required key not available"), -#endif -#if defined(TIZEN_ERROR_APPLICATION_MANAGER) - ERR_ENTRY("APP_MANAGER_ERROR_NO_SUCH_APP", TIZEN_ERROR_APPLICATION_MANAGER | 0x01, "No such application"), - ERR_ENTRY("APP_MANAGER_ERROR_DB_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x03, "Database error"), - ERR_ENTRY("APP_MANAGER_ERROR_INVALID_PACKAGE", TIZEN_ERROR_APPLICATION_MANAGER | 0x04, "Invalid package name"), - ERR_ENTRY("APP_MANAGER_ERROR_APP_NO_RUNNING", TIZEN_ERROR_APPLICATION_MANAGER | 0x05, "App is not running"), - ERR_ENTRY("APP_MANAGER_ERROR_REQUEST_FAILED", TIZEN_ERROR_APPLICATION_MANAGER | 0x06, "Internal aul request error"), -#endif -#if defined(TIZEN_ERROR_BADGE) - ERR_ENTRY("BADGE_ERROR_FROM_DB", TIZEN_ERROR_BADGE | 0x01, "Error from DB"), - ERR_ENTRY("BADGE_ERROR_ALREADY_EXIST", TIZEN_ERROR_BADGE | 0x02, "Already exist"), - ERR_ENTRY("BADGE_ERROR_FROM_DBUS", TIZEN_ERROR_BADGE | 0x03, "Error from DBus"), - ERR_ENTRY("BADGE_ERROR_NOT_EXIST", TIZEN_ERROR_BADGE | 0x04, "Not exist"), - ERR_ENTRY("BADGE_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_BADGE | 0x05, "Error service not ready"), -#endif -#if defined(TIZEN_ERROR_MESSAGE_PORT) - ERR_ENTRY("MESSAGE_PORT_ERROR_PORT_NOT_FOUND", TIZEN_ERROR_MESSAGE_PORT | 0x01, "The message port of the remote application is not found"), - ERR_ENTRY("MESSAGE_PORT_ERROR_CERTIFICATE_NOT_MATCH", TIZEN_ERROR_MESSAGE_PORT | 0x02, "The remote application is not signed with the same certificate"), - ERR_ENTRY("MESSAGE_PORT_ERROR_MAX_EXCEEDED", TIZEN_ERROR_MESSAGE_PORT | 0x03, "The size of the message has exceeded the maximum limit"), - ERR_ENTRY("MESSAGE_PORT_ERROR_RESOURCE_UNAVAILABLE", TIZEN_ERROR_MESSAGE_PORT | 0x04, "Resource is temporarily unavailable"), -#endif -#if defined(TIZEN_ERROR_NOTIFICATION) - ERR_ENTRY("NOTIFICATION_ERROR_FROM_DB", TIZEN_ERROR_NOTIFICATION | 0x01, "Error from DB"), - ERR_ENTRY("NOTIFICATION_ERROR_ALREADY_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x02, "Already exist private ID"), - ERR_ENTRY("NOTIFICATION_ERROR_FROM_DBUS", TIZEN_ERROR_NOTIFICATION | 0x03, "Error from DBus"), - ERR_ENTRY("NOTIFICATION_ERROR_NOT_EXIST_ID", TIZEN_ERROR_NOTIFICATION | 0x04, "Not exist private ID "), - ERR_ENTRY("NOTIFICATION_ERROR_SERVICE_NOT_READY", TIZEN_ERROR_NOTIFICATION | 0x05, "No reponse from notification service"), -#endif - -#if defined(TIZEN_ERROR_PACKAGE_MANAGER) - ERR_ENTRY("PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE", TIZEN_ERROR_PACKAGE_MANAGER | 0x71, "No such package"), - ERR_ENTRY("PACKAGE_MANAGER_ERROR_SYSTEM_ERROR", TIZEN_ERROR_PACKAGE_MANAGER | 0x72, "Severe system error "), -#endif - -#if defined(TIZEN_ERROR_SHORTCUT) - ERR_ENTRY("SHORTCUT_ERROR_NO_SPACE", TIZEN_ERROR_SHORTCUT | 0x0001, "There is no space to add a new shortcut"), - ERR_ENTRY("SHORTCUT_ERROR_EXIST", TIZEN_ERROR_SHORTCUT | 0x0002, "Shortcut is already added"), - ERR_ENTRY("SHORTCUT_ERROR_FAULT", TIZEN_ERROR_SHORTCUT | 0x0004, "Failed to add a shortcut. Unrecoverable error"), - ERR_ENTRY("SHORTCUT_ERROR_COMM", TIZEN_ERROR_SHORTCUT | 0x0040, "Connection is not established. or there is a problem in the communication"), -#endif -#if defined(TIZEN_ERROR_BUNDLE) - ERR_ENTRY("BUNDLE_ERROR_KEY_EXISTS", TIZEN_ERROR_BUNDLE | 0x01, "Key exists"), -#endif -#if defined(TIZEN_ERROR_DATA_CONTROL) - ERR_ENTRY("DATA_CONTROL_ERROR_MAX_EXCEEDED", TIZEN_ERROR_DATA_CONTROL | 0x01, "Too long argument"), -#endif -#if defined(TIZEN_ERROR_SERVICE_APPLICATION) -#endif -#if defined(TIZEN_ERROR_UTILITY_ICU) - ERR_ENTRY("I18N_ERROR_MISSING_RESOURCE", TIZEN_ERROR_UTILITY_ICU | 0x01, "The requested resource cannot be found"), - ERR_ENTRY("I18N_ERROR_INVALID_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x02, "Data format is not what is expected "), - ERR_ENTRY("I18N_ERROR_FILE_ACCESS", TIZEN_ERROR_UTILITY_ICU | 0x03, "The requested file cannot be found"), - ERR_ENTRY("I18N_ERROR_INTERNAL_PROGRAM", TIZEN_ERROR_UTILITY_ICU | 0x04, "Indicates a bug in the library code"), - ERR_ENTRY("I18N_ERROR_INDEX_OUTOFBOUNDS", TIZEN_ERROR_UTILITY_ICU | 0x05, "Trying to access the index that is out of bounds"), - ERR_ENTRY("I18N_ERROR_INVALID_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x6, "Character conversion: Unmappable input sequence. In other APIs: Invalid character"), - ERR_ENTRY("I18N_ERROR_BUFFER_OVERFLOW", TIZEN_ERROR_UTILITY_ICU | 0x07, "A result would not fit in the supplied buffer"), - ERR_ENTRY("I18N_ERROR_COLLATOR_VERSION_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x08, "Collator version is not compatible with the base version"), - ERR_ENTRY("I18N_ERROR_USELESS_COLLATOR", TIZEN_ERROR_UTILITY_ICU | 0x09, "Collator is options only and no base is specified"), - ERR_ENTRY("I18N_ERROR_NO_WRITE_PERMISSION", TIZEN_ERROR_UTILITY_ICU | 0x0A, "Attempt to modify read-only or constant data"), - ERR_ENTRY("I18N_ERROR_RESOURCE_TYPE_MISMATCH", TIZEN_ERROR_UTILITY_ICU | 0x0B, "An operation is requested over a resource that does not support it"), - ERR_ENTRY("I18N_ERROR_TOO_MANY_ALIASES", TIZEN_ERROR_UTILITY_ICU | 0x0C, "Too many aliases in the path to the requested resource"), - - ERR_ENTRY("I18N_ERROR_MESSAGE_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0D, "Unable to parse a message (message format)"), - ERR_ENTRY("I18N_ERROR_PARSE", TIZEN_ERROR_UTILITY_ICU | 0x0E, "Equivalent to Java ParseException"), - ERR_ENTRY("I18N_ERROR_TRUNCATED_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x0F, "Character conversion: Incomplete input sequence"), - ERR_ENTRY("I18N_ERROR_ILLEGAL_CHAR_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x10, "Character conversion: Illegal input sequence/combination of input units"), - ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FORMAT", TIZEN_ERROR_UTILITY_ICU | 0x11, "Conversion table file found, but corrupted"), - ERR_ENTRY("I18N_ERROR_INVALID_TABLE_FILE", TIZEN_ERROR_UTILITY_ICU | 0x12, "Conversion table file not found"), - ERR_ENTRY("I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x13, "ISO-2022 illlegal escape sequence"), - ERR_ENTRY("I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE", TIZEN_ERROR_UTILITY_ICU | 0x14, "ISO-2022 unsupported escape sequence"), - ERR_ENTRY("I18N_ERROR_NO_SPACE_AVAILABLE", TIZEN_ERROR_UTILITY_ICU | 0x15, "No space available for in-buffer expansion for Arabic shaping"), - ERR_ENTRY("I18N_ERROR_CE_NOT_FOUND", TIZEN_ERROR_UTILITY_ICU | 0x16, "Currently used only while setting variable top, but can be used generally"), - ERR_ENTRY("I18N_ERROR_PRIMARY_TOO_LONG", TIZEN_ERROR_UTILITY_ICU | 0x17, "User tried to set variable top to a primary that is longer than two bytes"), - ERR_ENTRY("I18N_ERROR_STATE_TOO_OLD", TIZEN_ERROR_UTILITY_ICU | 0x18, "ICU cannot construct a service from this state, as it is no longer supported"), - ERR_ENTRY("I18N_ERROR_ENUM_OUT_OF_SYNC", TIZEN_ERROR_UTILITY_ICU | 0x19, "UEnumeration out of sync with underlying collection"), - ERR_ENTRY("I18N_ERROR_INVARIANT_CONVERSION", TIZEN_ERROR_UTILITY_ICU | 0x1A, "Unable to convert a UChar* string to char* with the invariant converter"), - ERR_ENTRY("I18N_ERROR_INVALID_STATE", TIZEN_ERROR_UTILITY_ICU | 0x1B, "Requested operation can not be completed with ICU in its current state"), - ERR_ENTRY("I18N_ERROR_MALFORMED_SET", TIZEN_ERROR_UTILITY_ICU | 0x1C, "A UnicodeSet pattern is invalid. @if MOBILE"), - ERR_ENTRY("I18N_WARNING_STRING_NOT_TERMINATED", TIZEN_ERROR_UTILITY_ICU | 0x1D, "String not terminated with NULL. @if MOBILE"), - ERR_ENTRY("I18N_ERROR_STD3_ASCII_RULES", TIZEN_ERROR_UTILITY_ICU | 0x1E, "Argument does not satisfy STD3 rules"), - ERR_ENTRY("I18N_ERROR_UNASSIGNED", TIZEN_ERROR_UTILITY_ICU | 0x1F, "Unassigned code points are found"), - ERR_ENTRY("I18N_WARNING_SORT_KEY_TOO_SHORT", TIZEN_ERROR_UTILITY_ICU | 0x20, "Number of levels requested in getBound is higher than the number of levels in the sort key"), - -#endif -#if defined(TIZEN_ERROR_MIME_TYPE) -#endif -#if defined(TIZEN_ERROR_MEDIA_CONTENT) - ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_FAILED", TIZEN_ERROR_MEDIA_CONTENT | 0x01, "DB operation failed "), - ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_BUSY", TIZEN_ERROR_MEDIA_CONTENT | 0x02, "DB operation BUSY"), - ERR_ENTRY("MEDIA_CONTENT_ERROR_NETWORK", TIZEN_ERROR_MEDIA_CONTENT | 0x03, "Network Fail"), - ERR_ENTRY("MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT", TIZEN_ERROR_MEDIA_CONTENT | 0x04, "Unsupported content "), -#endif -#if defined(TIZEN_ERROR_EMAIL_SERVICE) - ERR_ENTRY("EMAILS_ERROR_SERVER_NOT_READY", TIZEN_ERROR_EMAIL_SERVICE | 0x200, "Server not ready"), - ERR_ENTRY("EMAILS_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x201, "Communication with server failed"), - ERR_ENTRY("EMAILS_ERROR_OPERATION_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x202, "Operation failed"), - ERR_ENTRY("EMAILS_ERROR_ACCOUNT_NOT_FOUND", TIZEN_ERROR_EMAIL_SERVICE | 0x203, "Email account not found"), - ERR_ENTRY("EMAILS_ERROR_DB_FAILED", TIZEN_ERROR_EMAIL_SERVICE | 0x204, "Email database failed"), -#endif -#if defined(TIZEN_ERROR_MESSAGING_SERVICE) - ERR_ENTRY("MESSAGES_ERROR_SERVER_NOT_READY", TIZEN_ERROR_MESSAGING_SERVICE | 0x501, "Server is not read"), - ERR_ENTRY("MESSAGES_ERROR_COMMUNICATION_WITH_SERVER_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x502, "Communication with server failed"), - ERR_ENTRY("MESSAGES_ERROR_OUT_OF_RANGE", TIZEN_ERROR_MESSAGING_SERVICE | 0x503, "Index out of range"), - ERR_ENTRY("MESSAGES_ERROR_SENDING_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x504, "Sending a message failed"), - ERR_ENTRY("MESSAGES_ERROR_OPERATION_FAILED", TIZEN_ERROR_MESSAGING_SERVICE | 0x505, "Messaging operation failed"), - ERR_ENTRY("MESSAGES_ERROR_NO_SIM_CARD", TIZEN_ERROR_MESSAGING_SERVICE | 0x506, "No SIM Card"), - ERR_ENTRY("MESSAGES_ERROR_NO_DATA", TIZEN_ERROR_MESSAGING_SERVICE | 0x507, "No data available"), -#endif -#if defined(TIZEN_ERROR_PUSH) -#endif -#if defined(TIZEN_ERROR_AUDIO_IO) - ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_OPENED", TIZEN_ERROR_AUDIO_IO | 0x01, "Device open error"), - ERR_ENTRY("AUDIO_IO_ERROR_DEVICE_NOT_CLOSED", TIZEN_ERROR_AUDIO_IO | 0x02, "Device close error"), - ERR_ENTRY("AUDIO_IO_ERROR_INVALID_BUFFER", TIZEN_ERROR_AUDIO_IO | 0x03, "Invalid buffer pointer"), - ERR_ENTRY("AUDIO_IO_ERROR_SOUND_POLICY", TIZEN_ERROR_AUDIO_IO | 0x04, "Sound policy error"), - ERR_ENTRY("AUDIO_IO_ERROR_INVALID_STATE", TIZEN_ERROR_AUDIO_IO | 0x05, "Invalid statea"), - ERR_ENTRY("AUDIO_IO_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_AUDIO_IO | 0x06, "Not supported stream type"), -#endif -#if defined(TIZEN_ERROR_CAMERA) - ERR_ENTRY("CAMERA_ERROR_INVALID_STATE", TIZEN_ERROR_CAMERA | 0x02, "Invalid state"), - ERR_ENTRY("CAMERA_ERROR_DEVICE", TIZEN_ERROR_CAMERA | 0x04, "Device error"), - ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY", TIZEN_ERROR_CAMERA | 0x06, "Blocked by Audio Session Manager"), - ERR_ENTRY("CAMERA_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_CAMERA | 0x07, "Restricted by security system policy"), - ERR_ENTRY("CAMERA_ERROR_DEVICE_BUSY", TIZEN_ERROR_CAMERA | 0x08, "The device is using another application or working on some operation"), - ERR_ENTRY("CAMERA_ERROR_DEVICE_NOT_FOUND", TIZEN_ERROR_CAMERA | 0x09, "No camera device "), - ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_CAMERA | 0x0a, "Blocked by Audio Session Manager - CALL"), - ERR_ENTRY("CAMERA_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_CAMERA | 0x0b, "Blocked by Audio Session Manager - ALARM"), - ERR_ENTRY("CAMERA_ERROR_ESD", TIZEN_ERROR_CAMERA | 0x0c, "ESD situation"), - ERR_ENTRY("CAMERA_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_CAMERA | 0x0d, "Blocked by resource conflict"), - -#endif -#if defined(TIZEN_ERROR_IMAGE_UTIL) - ERR_ENTRY("IMAGE_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_IMAGE_UTIL | 0x01, "Not supported format"), -#endif -#if defined(TIZEN_ERROR_METADATA_EXTRACTOR) - ERR_ENTRY("METADATA_EXTRACTOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EXTRACTOR | 0x01, "Invalid internal operation"), -#endif -#if defined(TIZEN_ERROR_PLAYER) - ERR_ENTRY("PLAYER_ERROR_SEEK_FAILED", TIZEN_ERROR_PLAYER | 0x21, "Seek operation failure"), - ERR_ENTRY("PLAYER_ERROR_INVALID_STATE", TIZEN_ERROR_PLAYER | 0x22, "Invalid state"), - ERR_ENTRY("PLAYER_ERROR_NOT_SUPPORTED_FILE", TIZEN_ERROR_PLAYER | 0x23, "File format not supported"), - ERR_ENTRY("PLAYER_ERROR_INVALID_URI", TIZEN_ERROR_PLAYER | 0x24, "Invalid URI"), - ERR_ENTRY("PLAYER_ERROR_SOUND_POLICY", TIZEN_ERROR_PLAYER | 0x25, "Sound policy error "), - ERR_ENTRY("PLAYER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_PLAYER | 0x26, "Streaming connection failed"), - ERR_ENTRY("PLAYER_ERROR_VIDEO_CAPTURE_FAILED", TIZEN_ERROR_PLAYER | 0x27, "Video capture failed"), - ERR_ENTRY("PLAYER_ERROR_DRM_EXPIRED", TIZEN_ERROR_PLAYER | 0x28, "Expired license"), - ERR_ENTRY("PLAYER_ERROR_DRM_NO_LICENSE", TIZEN_ERROR_PLAYER | 0x29, "No license "), - ERR_ENTRY("PLAYER_ERROR_DRM_FUTURE_USE", TIZEN_ERROR_PLAYER | 0x2a, "License for future use"), - ERR_ENTRY("PLAYER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_PLAYER | 0x2b, "Format not permitted"), - ERR_ENTRY("PLAYER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_PLAYER | 0x2c, "Resource limit"), - ERR_ENTRY("PLAYER_ERROR_SERVICE_DISCONNECTED", TIZEN_ERROR_PLAYER | 0x2d, "Socket connection lost"), - -#endif -#if defined(TIZEN_ERROR_RECORDER) - 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"), - ERR_ENTRY("RECORDER_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_RECORDER | 0x17, "Restricted by security system policy"), - ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_CALL", TIZEN_ERROR_RECORDER | 0x18, "Blocked by Audio Session Manager - CALL"), - ERR_ENTRY("RECORDER_ERROR_SOUND_POLICY_BY_ALARM", TIZEN_ERROR_RECORDER | 0x19, "Blocked by Audio Session Manager - ALARM"), - ERR_ENTRY("RECORDER_ERROR_ESD", TIZEN_ERROR_RECORDER | 0x1a, "ESD situation"), - ERR_ENTRY("RECORDER_ERROR_OUT_OF_STORAGE", TIZEN_ERROR_RECORDER | 0x1b, "Out of storage"), - ERR_ENTRY("RECORDER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_RECORDER | 0x1c, "Blocked by resource conflict"), -#endif -#if defined(TIZEN_ERROR_SOUND_MANAGER) - - ERR_ENTRY("SOUND_MANAGER_ERROR_INTERNAL", TIZEN_ERROR_SOUND_MANAGER | 0x01, "Internal error inside the sound system"), - ERR_ENTRY("SOUND_MANAGER_ERROR_POLICY", TIZEN_ERROR_SOUND_MANAGER | 0x02, "Noncompliance with the sound system policy"), - ERR_ENTRY("SOUND_MANAGER_ERROR_NO_PLAYING_SOUND", TIZEN_ERROR_SOUND_MANAGER | 0x03, "No playing sound"), - ERR_ENTRY("SOUND_MANAGER_ERROR_INVALID_STATE", TIZEN_ERROR_SOUND_MANAGER | 0x04, "Invalid state"), -#endif -#if defined(TIZEN_ERROR_TONE_PLAYER) - ERR_ENTRY("TONE_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_TONE_PLAYER | 0x01, "Not supported"), -#endif -#if defined(TIZEN_ERROR_VIDEO_UTIL) - ERR_ENTRY("VIDEO_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_VIDEO_UTIL | 0x01, "Not supported format"), -#endif -#if defined(TIZEN_ERROR_WAV_PLAYER) - ERR_ENTRY("WAV_PLAYER_ERROR_FORMAT_NOT_SUPPORTED", TIZEN_ERROR_WAV_PLAYER | 0x01, "Format not supported"), - ERR_ENTRY("WAV_PLAYER_ERROR_NOT_SUPPORTED_TYPE", TIZEN_ERROR_WAV_PLAYER | 0x02, "Not supported"), -#endif -#if defined(TIZEN_ERROR_RADIO) - ERR_ENTRY("RADIO_ERROR_INVALID_STATE", TIZEN_ERROR_RADIO | 0x01, "Invalid state"), - ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02, "Sound policy error"), - ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03, "No Antenna error"), - -#endif -#if defined(TIZEN_ERROR_MEDIACODEC) - ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIACODEC | 0x01, "Invalid state"), - ERR_ENTRY("MEDIACODEC_ERROR_INVALID_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x02, "Invalid input buffer"), - ERR_ENTRY("MEDIACODEC_ERROR_INVALID_OUTBUFFER", TIZEN_ERROR_MEDIACODEC | 0x03, "Invalid output buffer"), - ERR_ENTRY("MEDIACODEC_ERROR_INTERNAL", TIZEN_ERROR_MEDIACODEC | 0x04, "Invalid output buffer"), - ERR_ENTRY("MEDIACODEC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_MEDIACODEC | 0x05, "Internal error"), - ERR_ENTRY("MEDIACODEC_ERROR_INVALID_STREAM", TIZEN_ERROR_MEDIACODEC | 0x06, "Not initialized mediacodec"), - ERR_ENTRY("MEDIACODEC_ERROR_CODEC_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x07, "Cannot find codec"), - ERR_ENTRY("MEDIACODEC_ERROR_DECODE", TIZEN_ERROR_MEDIACODEC | 0x08, "Error while decoding data"), - ERR_ENTRY("MEDIACODEC_ERROR_NO_FREE_SPACE", TIZEN_ERROR_MEDIACODEC | 0x09, "Out of storage"), - ERR_ENTRY("MEDIACODEC_ERROR_STREAM_NOT_FOUND", TIZEN_ERROR_MEDIACODEC | 0x0a, "Cannot find stream"), - ERR_ENTRY("MEDIACODEC_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIACODEC | 0x0b, "Not supported format "), - ERR_ENTRY("MEDIACODEC_ERROR_BUFFER_NOT_AVAILABLE", TIZEN_ERROR_MEDIACODEC | 0x0c, "Not available buffer"), - ERR_ENTRY("MEDIACODEC_ERROR_OVERFLOW_INBUFFER", TIZEN_ERROR_MEDIACODEC | 0x0d, "Overflow input buffer"), - ERR_ENTRY("MEDIACODEC_ERROR_RESOURCE_OVERLOADED", TIZEN_ERROR_MEDIACODEC | 0x0e, "Exceed the instance limit"), -#endif -#if defined(TIZEN_ERROR_BLUETOOTH) - ERR_ENTRY("BT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_BLUETOOTH | 0x0101, "Local adapter not initialized"), - ERR_ENTRY("BT_ERROR_NOT_ENABLED", TIZEN_ERROR_BLUETOOTH | 0x0102, "Local adapter not enabled"), - ERR_ENTRY("BT_ERROR_ALREADY_DONE", TIZEN_ERROR_BLUETOOTH | 0x0103, "Operation already done"), - ERR_ENTRY("BT_ERROR_OPERATION_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0104, "Operation failed"), - ERR_ENTRY("BT_ERROR_NOT_IN_PROGRESS", TIZEN_ERROR_BLUETOOTH | 0x0105, "Operation not in progress"), - ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_BONDED", TIZEN_ERROR_BLUETOOTH | 0x0106, "Remote device not bonde"), - ERR_ENTRY("BT_ERROR_AUTH_REJECTED", TIZEN_ERROR_BLUETOOTH | 0x0107, "Authentication rejected"), - ERR_ENTRY("BT_ERROR_AUTH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x0108, "Authentication failed"), - ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x0109, "Remote device not found "), - ERR_ENTRY("BT_ERROR_SERVICE_SEARCH_FAILED", TIZEN_ERROR_BLUETOOTH | 0x010A, "Service search failed"), - ERR_ENTRY("BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED", TIZEN_ERROR_BLUETOOTH | 0x010B, "Remote device is not connected"), - ERR_ENTRY("BT_ERROR_AGAIN", TIZEN_ERROR_BLUETOOTH | 0x010C, "Resource temporarily unavailable "), - ERR_ENTRY("BT_ERROR_SERVICE_NOT_FOUND", TIZEN_ERROR_BLUETOOTH | 0x010D, "Service not found"), -#endif -#if defined(TIZEN_ERROR_CONNECTION) - ERR_ENTRY("CONNECTION_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONNECTION | 0x0401, "Operation failed"), - ERR_ENTRY("CONNECTION_ERROR_ITERATOR_END", TIZEN_ERROR_CONNECTION | 0x0402, "End of iteration"), - ERR_ENTRY("CONNECTION_ERROR_NO_CONNECTION", TIZEN_ERROR_CONNECTION | 0x0403, "There is no connection"), - ERR_ENTRY("CONNECTION_ERROR_ALREADY_EXISTS", TIZEN_ERROR_CONNECTION | 0x0404, "Already exists"), - ERR_ENTRY("CONNECTION_ERROR_OPERATION_ABORTED", TIZEN_ERROR_CONNECTION | 0x0405, "Operation is aborted"), - ERR_ENTRY("CONNECTION_ERROR_DHCP_FAILED", TIZEN_ERROR_CONNECTION | 0x0406, "DHCP failed"), - ERR_ENTRY("CONNECTION_ERROR_INVALID_KEY", TIZEN_ERROR_CONNECTION | 0x0407, "Invalid key"), - ERR_ENTRY("CONNECTION_ERROR_NO_REPLY", TIZEN_ERROR_CONNECTION | 0x0408, "No reply"), -#endif -#if defined(TIZEN_ERROR_NFC) - ERR_ENTRY("NFC_ERROR_OPERATION_FAILED", TIZEN_ERROR_NFC | 0x01, "Operation failed"), - ERR_ENTRY("NFC_ERROR_INVALID_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x02, "Invalid NDEF message"), - ERR_ENTRY("NFC_ERROR_INVALID_RECORD_TYPE", TIZEN_ERROR_NFC | 0x03, "Invalid record type"), - ERR_ENTRY("NFC_ERROR_NO_DEVICE", TIZEN_ERROR_NFC | 0x04, "No device"), - ERR_ENTRY("NFC_ERROR_NOT_ACTIVATED", TIZEN_ERROR_NFC | 0x05, "NFC is not activated"), - ERR_ENTRY("NFC_ERROR_ALREADY_ACTIVATED", TIZEN_ERROR_NFC | 0x06, "Already activated"), - ERR_ENTRY("NFC_ERROR_ALREADY_DEACTIVATED", TIZEN_ERROR_NFC | 0x07, "Already deactivated"), - ERR_ENTRY("NFC_ERROR_READ_ONLY_NDEF", TIZEN_ERROR_NFC | 0x08, "Read only tag"), - ERR_ENTRY("NFC_ERROR_NO_SPACE_ON_NDEF", TIZEN_ERROR_NFC | 0x09, "No enough space on tag"), - ERR_ENTRY("NFC_ERROR_NO_NDEF_MESSAGE", TIZEN_ERROR_NFC | 0x0a, "No NDEF Message on Tag"), - ERR_ENTRY("NFC_ERROR_NOT_NDEF_FORMAT", TIZEN_ERROR_NFC | 0x0b, "Not NDEF format Tag "), - ERR_ENTRY("NFC_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_NFC | 0x0c, "Restricted by access control"), - ERR_ENTRY("NFC_ERROR_ILLEGAL_STATE", TIZEN_ERROR_NFC | 0x0d, "The state is wrong"), - ERR_ENTRY("NFC_ERROR_NOT_INITIALIZED", TIZEN_ERROR_NFC | 0x0e, "NFC is not initialized"), - ERR_ENTRY("NFC_ERROR_TAG_NOT_SUPPORTED", TIZEN_ERROR_NFC | 0x0f, "Tag is not supported"), - ERR_ENTRY("NFC_ERROR_AID_ALREADY_REGISTERED", TIZEN_ERROR_NFC | 0x10, "AID already registered"), -#endif -#if defined(TIZEN_ERROR_TETHERING) - ERR_ENTRY("TETHERING_ERROR_NOT_ENABLED", TIZEN_ERROR_TETHERING | 0x0501, "Not enabled"), - ERR_ENTRY("TETHERING_ERROR_OPERATION_FAILED", TIZEN_ERROR_TETHERING | 0x0502, "Operation failed"), -#endif -#if defined(TIZEN_ERROR_WIFI) - ERR_ENTRY("WIFI_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI | 0x0301, "Operation failed"), - ERR_ENTRY("WIFI_ERROR_NO_CONNECTION", TIZEN_ERROR_WIFI | 0x0302, "There is no connected AP"), - ERR_ENTRY("WIFI_ERROR_ALREADY_EXISTS", TIZEN_ERROR_WIFI | 0x0303, "Already exists"), - ERR_ENTRY("WIFI_ERROR_OPERATION_ABORTED", TIZEN_ERROR_WIFI | 0x0304, "Operation is aborted "), - ERR_ENTRY("WIFI_ERROR_DHCP_FAILED", TIZEN_ERROR_WIFI | 0x0306, "DHCP failed"), - ERR_ENTRY("WIFI_ERROR_INVALID_KEY", TIZEN_ERROR_WIFI | 0x0307, "Invalid key"), - ERR_ENTRY("WIFI_ERROR_NO_REPLY", TIZEN_ERROR_WIFI | 0x0308, "No reply"), - ERR_ENTRY("WIFI_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_WIFI | 0x0309, "Restricted by security system policy"), -#endif -#if defined(TIZEN_ERROR_WIFI_DIRECT) - ERR_ENTRY("WIFI_DIRECT_ERROR_NOT_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x01, "Not initialized"), - ERR_ENTRY("WIFI_DIRECT_ERROR_COMMUNICATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x02, "I/O error"), - ERR_ENTRY("WIFI_DIRECT_ERROR_WIFI_USED", TIZEN_ERROR_WIFI_DIRECT | 0x03, "WiFi is being used"), - ERR_ENTRY("WIFI_DIRECT_ERROR_MOBILE_AP_USED", TIZEN_ERROR_WIFI_DIRECT | 0x04, "Mobile AP is being used"), - ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x05, "Mobile AP is being used"), - ERR_ENTRY("WIFI_DIRECT_ERROR_AUTH_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x06, "Authentication failed"), - ERR_ENTRY("WIFI_DIRECT_ERROR_OPERATION_FAILED", TIZEN_ERROR_WIFI_DIRECT | 0x07, "Operation failed"), - ERR_ENTRY("WIFI_DIRECT_ERROR_TOO_MANY_CLIENT", TIZEN_ERROR_WIFI_DIRECT | 0x08, "Many client"), - ERR_ENTRY("WIFI_DIRECT_ERROR_ALREADY_INITIALIZED", TIZEN_ERROR_WIFI_DIRECT | 0x09, "Already initialized client"), - ERR_ENTRY("WIFI_DIRECT_ERROR_CONNECTION_CANCELED", TIZEN_ERROR_WIFI_DIRECT | 0x10, "Connection canceled by local device"), -#endif -#if defined(TIZEN_ERROR_KEY_MANAGER) - ERR_ENTRY("CKMC_ERROR_SOCKET", TIZEN_ERROR_KEY_MANAGER | 0x01, "Socket error between client and Central Key Manager"), - ERR_ENTRY("CKMC_ERROR_BAD_REQUEST", TIZEN_ERROR_KEY_MANAGER | 0x02, "Invalid request from client "), - ERR_ENTRY("CKMC_ERROR_BAD_RESPONSE", TIZEN_ERROR_KEY_MANAGER | 0x03, "Invalid response from Central Key Manager"), - ERR_ENTRY("CKMC_ERROR_SEND_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x04, "Transmitting request failed"), - ERR_ENTRY("CKMC_ERROR_RECV_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x05, "Receiving response failed"), - ERR_ENTRY("CKMC_ERROR_AUTHENTICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x06, "Authentication between client and manager failed"), - ERR_ENTRY("CKMC_ERROR_BUFFER_TOO_SMALL", TIZEN_ERROR_KEY_MANAGER | 0x07, "The output buffer size which is passed as parameter is too small"), - ERR_ENTRY("CKMC_ERROR_SERVER_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x08, "Central Key Manager has been failed for some reason"), - ERR_ENTRY("CKMC_ERROR_DB_LOCKED", TIZEN_ERROR_KEY_MANAGER | 0x09, "The database was not unlocked - user did not login"), - ERR_ENTRY("CKMC_ERROR_DB_ERROR", TIZEN_ERROR_KEY_MANAGER | 0x0A, "An internal error inside the database"), - ERR_ENTRY("CKMC_ERROR_DB_ALIAS_EXISTS", TIZEN_ERROR_KEY_MANAGER | 0x0B, "Provided alias already exists in the database"), - ERR_ENTRY("CKMC_ERROR_DB_ALIAS_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0x0C, "No data for given alias"), - ERR_ENTRY("CKMC_ERROR_VERIFICATION_FAILED", TIZEN_ERROR_KEY_MANAGER | 0x0D, "CA certificate(s) were unknown and chain could not be created"), - ERR_ENTRY("CKMC_ERROR_INVALID_FORMAT", TIZEN_ERROR_KEY_MANAGER | 0x0E, "A provided file doesn't exists or cannot be accessed in the file system"), - ERR_ENTRY("CKMC_ERROR_FILE_ACCESS_DENIED", TIZEN_ERROR_KEY_MANAGER | 0x0F, "A provided file or binary has not a valid format"), - ERR_ENTRY("CKMC_ERROR_NOT_EXPORTABLE", TIZEN_ERROR_KEY_MANAGER | 0x10, "Key is not exportable. It could not be returned to client"), - ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key\/certificate\/pkcs12 failed because of file system error"), - ERR_ENTRY("CKMC_ERROR_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0xFF, "The error with unknown reason"), -#endif -#if defined(TIZEN_ERROR_CALENDAR) - ERR_ENTRY("CALENDAR_ERROR_DB_FAILED", TIZEN_ERROR_CALENDAR | 0x02, "No access to the database"), - ERR_ENTRY("CALENDAR_ERROR_ITERATOR_END", TIZEN_ERROR_CALENDAR | 0x04, "Iterator is on the last position"), - 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"), -#endif -#if defined(TIZEN_ERROR_CONTACTS) - ERR_ENTRY("CONTACTS_ERROR_DB_LOCKED", TIZEN_ERROR_CONTACTS | 0x81, "Database table locked or file locked"), - ERR_ENTRY("CONTACTS_ERROR_DB", TIZEN_ERROR_CONTACTS | 0x9F, "Unknown DB error"), - ERR_ENTRY("CONTACTS_ERROR_IPC_NOT_AVALIABLE", TIZEN_ERROR_CONTACTS | 0xB1, "IPC server is not available"), - ERR_ENTRY("CONTACTS_ERROR_IPC", TIZEN_ERROR_CONTACTS | 0xBF, "Unknown IPC error"), - ERR_ENTRY("CONTACTS_ERROR_SYSTEM", TIZEN_ERROR_CONTACTS | 0xEF, "Internal system module error"), - ERR_ENTRY("CONTACTS_ERROR_INTERNAL", TIZEN_ERROR_CONTACTS | 0xFF, "Implementation Error, Temporary Use"), -#endif -#if defined(TIZEN_ERROR_STORAGE) - ERR_ENTRY("STORAGE_ERROR_OPERATION_FAILED", TIZEN_ERROR_SYSTEM_CLASS | 0x12, "Operation failed"), -#endif -#if defined(TIZEN_ERROR_DEVICE) - ERR_ENTRY("DEVICE_ERROR_NOT_INITIALIZED", TIZEN_ERROR_DEVICE | 0x13, "Not initialized"), -#endif -#if defined(TIZEN_ERROR_DLOG) -#endif -#if defined(TIZEN_ERROR_MEDIA_KEY) - ERR_ENTRY("MEDIA_KEY_ERROR_OPERATION_FAILED", TIZEN_ERROR_MEDIA_KEY | 0x01, "Reserve/Release failed"), -#endif -#if defined(TIZEN_ERROR_RUNTIME_INFORMATION) -#endif -#if defined(TIZEN_ERROR_SENSOR) - ERR_ENTRY("SENSOR_ERROR_NOT_NEED_CALIBRATION", TIZEN_ERROR_SENSOR | 0x03, "Sensor doesn't need calibration"), - ERR_ENTRY("SENSOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_SENSOR | 0x06, "Operation failed"), -#endif -#if defined(TIZEN_ERROR_SYSTEM_INFORMATION) -#endif -#if defined(TIZEN_ERROR_SYSTEM_SETTING) - ERR_ENTRY("SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE", TIZEN_ERROR_SYSTEM_SETTING | 0x01, "Current lock screen app set 'password' type"), -#endif -#if defined(TIZEN_ERROR_SYSTEM_RESOURCE) -#endif -#if defined(TIZEN_ERROR_CONTEXT) - ERR_ENTRY("ACTIVITY_ERROR_ALREADY_STARTED", TIZEN_ERROR_CONTEXT | 0x01, "Recognition is already started"), - ERR_ENTRY("ACTIVITY_ERROR_NOT_STARTED", TIZEN_ERROR_CONTEXT | 0x02, "Recognition is not started"), - ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"), - ERR_ENTRY("ACTIVITY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"), -#endif -#if defined(TIZEN_ERROR_TELEPHONY) - ERR_ENTRY("TELEPHONY_ERROR_OPERATION_FAILED", TIZEN_ERROR_TELEPHONY | 0x0001, "Operation failed"), - ERR_ENTRY("TELEPHONY_ERROR_SIM_NOT_AVAILABLE", TIZEN_ERROR_TELEPHONY | 0x1001, "SIM is not available"), -#endif -#if defined(TIZEN_ERROR_EFL_UTIL) - ERR_ENTRY("EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE", TIZEN_ERROR_EFL_UTIL | 0x01, "Window type not supported"), - ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_INIT_FAIL", TIZEN_ERROR_EFL_UTIL | 0x02, "Screenshot initialization fail"), - ERR_ENTRY("EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL", TIZEN_ERROR_EFL_UTIL | 0x03, "Screenshot execution fail"), -#endif -#if defined(TIZEN_ERROR_TBM) -#endif -#if defined(TIZEN_ERROR_DOWNLOAD) - ERR_ENTRY("DOWNLOAD_ERROR_INVALID_STATE", TIZEN_ERROR_DOWNLOAD | 0x21, "Invalid state"), - ERR_ENTRY("DOWNLOAD_ERROR_CONNECTION_FAILED", TIZEN_ERROR_DOWNLOAD | 0x22, "Connection failed"), - ERR_ENTRY("DOWNLOAD_ERROR_INVALID_URL", TIZEN_ERROR_DOWNLOAD | 0x24, "Invalid URL"), - ERR_ENTRY("DOWNLOAD_ERROR_INVALID_DESTINATION", TIZEN_ERROR_DOWNLOAD | 0x25, "Invalid destination"), - ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_DOWNLOADS", TIZEN_ERROR_DOWNLOAD | 0x26, "Too many simultaneous downloads"), - ERR_ENTRY("DOWNLOAD_ERROR_QUEUE_FULL", TIZEN_ERROR_DOWNLOAD | 0x27, "Download server queue is full"), - ERR_ENTRY("DOWNLOAD_ERROR_ALREADY_COMPLETED", TIZEN_ERROR_DOWNLOAD | 0x28, "The download is already completed"), - ERR_ENTRY("DOWNLOAD_ERROR_FILE_ALREADY_EXISTS", TIZEN_ERROR_DOWNLOAD | 0x29, "Failed to rename the downloaded file"), - ERR_ENTRY("DOWNLOAD_ERROR_CANNOT_RESUME", TIZEN_ERROR_DOWNLOAD | 0x2a, "Cannot resume"), - ERR_ENTRY("DOWNLOAD_ERROR_FIELD_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x2b, "Specified field not found"), - ERR_ENTRY("DOWNLOAD_ERROR_TOO_MANY_REDIRECTS", TIZEN_ERROR_DOWNLOAD | 0x30, "Too many redirects from HTTP response header"), - ERR_ENTRY("DOWNLOAD_ERROR_UNHANDLED_HTTP_CODE", TIZEN_ERROR_DOWNLOAD | 0x31, "The download cannot handle the HTTP status value"), - ERR_ENTRY("DOWNLOAD_ERROR_REQUEST_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x32, "No action after client creates a download ID"), - ERR_ENTRY("DOWNLOAD_ERROR_RESPONSE_TIMEOUT", TIZEN_ERROR_DOWNLOAD | 0x33, "No call to start API for some time although the download is created"), - ERR_ENTRY("DOWNLOAD_ERROR_SYSTEM_DOWN", TIZEN_ERROR_DOWNLOAD | 0x34, "No response from client after rebooting download daemon"), - ERR_ENTRY("DOWNLOAD_ERROR_ID_NOT_FOUND", TIZEN_ERROR_DOWNLOAD | 0x35, "Download ID does not exist in download service module"), - ERR_ENTRY("DOWNLOAD_ERROR_INVALID_NETWORK_TYPE", TIZEN_ERROR_DOWNLOAD | 0x36, "Network bonding is set but network type is not set as DOWNLOAD_NETWORK_ALL"), -#endif -#if defined(TIZEN_ERROR_WEBVIEW) -#endif -#if defined(TIZEN_ERROR_LOCATION_MANAGER) - ERR_ENTRY("LOCATIONS_ERROR_INCORRECT_METHOD", TIZEN_ERROR_LOCATION_MANAGER | 0x01, "Location manager contains incorrect method for a given call"), - ERR_ENTRY("LOCATIONS_ERROR_NETWORK_FAILED", TIZEN_ERROR_LOCATION_MANAGER | 0x02, "Network unavailable"), - ERR_ENTRY("LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_LOCATION_MANAGER | 0x03, "Location service is not available"), - ERR_ENTRY("LOCATIONS_ERROR_GPS_SETTING_OFF", TIZEN_ERROR_LOCATION_MANAGER | 0x04, "GPS/WPS setting is not enabled"), - ERR_ENTRY("LOCATIONS_ERROR_SECURITY_RESTRICTED", TIZEN_ERROR_LOCATION_MANAGER | 0x05, "Restricted by security system policy"), - ERR_ENTRY("LOCATION_BOUNDS_ERROR_INCORRECT_TYPE", TIZEN_ERROR_LOCATION_MANAGER | 0x21, "Incorrect bounds type for a given call"), - ERR_ENTRY("LOCATION_BOUNDS_ERROR_IS_ADDED", TIZEN_ERROR_LOCATION_MANAGER | 0x22, "Cannot remove bounds handle from location manager"), -#endif -#if defined(TIZEN_ERROR_STT) - ERR_ENTRY("STT_ERROR_INVALID_STATE", TIZEN_ERROR_STT | 0x01, "Invalid state"), - ERR_ENTRY("STT_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_STT | 0x02, "Invalid language"), - ERR_ENTRY("STT_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_STT | 0x03, "No available engine"), - ERR_ENTRY("STT_ERROR_OPERATION_FAILED", TIZEN_ERROR_STT | 0x04, "Operation failed"), - ERR_ENTRY("STT_ERROR_NOT_SUPPORTED_FEATURE", TIZEN_ERROR_STT | 0x05, "Not supported feature of current engine"), -#endif -#if defined(TIZEN_ERROR_TTS) - ERR_ENTRY("TTS_ERROR_INVALID_STATE", TIZEN_ERROR_TTS | 0x01, "Invalid state"), - ERR_ENTRY("TTS_ERROR_INVALID_VOICE", TIZEN_ERROR_TTS | 0x02, "Invalid voice"), - ERR_ENTRY("TTS_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_TTS | 0x03, "No available engine"), - ERR_ENTRY("TTS_ERROR_OPERATION_FAILED", TIZEN_ERROR_TTS | 0x04, "Operation failed"), - ERR_ENTRY("TTS_ERROR_AUDIO_POLICY_BLOCKED", TIZEN_ERROR_TTS | 0x05, "Audio policy blocked"), -#endif -#if defined(TIZEN_ERROR_SMARTCARD) - ERR_ENTRY("SMARTCARD_ERROR_GENERAL", TIZEN_ERROR_SMARTCARD | 0x01, "A general error occurred"), - ERR_ENTRY("SMARTCARD_ERROR_NO_SUCH_ELEMENT", TIZEN_ERROR_SMARTCARD | 0x02, "No such element error"), - ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_STATE", TIZEN_ERROR_SMARTCARD | 0x03, "Illegal state of execution error"), - ERR_ENTRY("SMARTCARD_ERROR_ILLEGAL_REFERENCE", TIZEN_ERROR_SMARTCARD | 0x04, "Illegal reference"), - ERR_ENTRY("SMARTCARD_ERROR_OPERATION_NOT_SUPPORTED", TIZEN_ERROR_SMARTCARD | 0x05, "Operation not supported from SE"), - ERR_ENTRY("SMARTCARD_ERROR_CHANNEL_NOT_AVAILABLE", TIZEN_ERROR_SMARTCARD | 0x06, "No channel available"), - ERR_ENTRY("SMARTCARD_ERROR_NOT_INITIALIZED", TIZEN_ERROR_SMARTCARD | 0x07, "Smartcard service not initialized"), -#endif -#if defined(TIZEN_ERROR_HEALTH) - ERR_ENTRY("HEALTH_ERROR_DATA_TYPE_NOT_FOUND", TIZEN_ERROR_HEALTH | 0x01, "Maifest for the data type specified not found"), - ERR_ENTRY("HEALTH_ERROR_MANDATORY_DATA_REQURIED", TIZEN_ERROR_HEALTH | 0x02, "Mandatory property is missing"), - ERR_ENTRY("HEALTH_ERROR_INVALID_DATA", TIZEN_ERROR_HEALTH | 0x03, "Data is out of range or invalid type"), -#endif -#if defined(TIZEN_ERROR_VOICE_CONTROL) - ERR_ENTRY("VC_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x011, "Invalid state"), - ERR_ENTRY("VC_ERROR_INVALID_LANGUAGE", TIZEN_ERROR_VOICE_CONTROL | 0x012, "Invalid language"), - ERR_ENTRY("VC_ERROR_ENGINE_NOT_FOUND", TIZEN_ERROR_VOICE_CONTROL | 0x013, "No available engine"), - ERR_ENTRY("VC_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x014, "Operation failed"), - ERR_ENTRY("VC_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x015, "Operation rejected"), - ERR_ENTRY("VC_ERROR_ITERATION_END", TIZEN_ERROR_VOICE_CONTROL | 0x016, "List reached end"), - ERR_ENTRY("VC_ERROR_EMPTY", TIZEN_ERROR_VOICE_CONTROL | 0x017, "List empty"), - //voice ui control - ERR_ENTRY("VC_ELM_ERROR_INVALID_STATE", TIZEN_ERROR_VOICE_CONTROL | 0x021, " Invalid state"), - ERR_ENTRY("VC_ELM_ERROR_INVALID_LANGUAG", TIZEN_ERROR_VOICE_CONTROL | 0x022, "Invalid language"), - ERR_ENTRY("VC_ELM_ERROR_OPERATION_FAILED", TIZEN_ERROR_VOICE_CONTROL | 0x023, "Operation failed"), - ERR_ENTRY("VC_ELM_ERROR_OPERATION_REJECTED", TIZEN_ERROR_VOICE_CONTROL | 0x024, "Operation rejected"), -#endif -#if defined(TIZEN_ERROR_FEEDBACK) - ERR_ENTRY("FEEDBACK_ERROR_NOT_INITIALIZED", TIZEN_ERROR_FEEDBACK | 0x01, "Not initialized"), -#endif -#if defined(TIZEN_ERROR_EOM) - ERR_ENTRY("EOM_ERROR_CONNECTION_FAILURE", TIZEN_ERROR_EOM | 0x01, "Connection failure"), - ERR_ENTRY("EOM_ERROR_MESSAGE_SENDING_FAILURE", TIZEN_ERROR_EOM | 0x02, "Message sending failure"), - ERR_ENTRY("EOM_ERROR_MESSAGE_OPERATION_FAILURE", TIZEN_ERROR_EOM | 0x03, "Message operation failure"), -#endif -#if defined(TIZEN_ERROR_WIDGET) - ERR_ENTRY("WIDGET_ERROR_FAULT", TIZEN_ERROR_WIDGET | 0x0001, "Fault - Unable to recover from the error"), - ERR_ENTRY("WIDGET_ERROR_ALREADY_EXIST", TIZEN_ERROR_WIDGET | 0x0002, "Already exists"), - ERR_ENTRY("WIDGET_ERROR_ALREADY_STARTED", TIZEN_ERROR_WIDGET | 0x0004, "Operation is already started"), - ERR_ENTRY("WIDGET_ERROR_NOT_EXIST", TIZEN_ERROR_WIDGET | 0x0008, "Not exists"), - ERR_ENTRY("WIDGET_ERROR_DISABLED", TIZEN_ERROR_WIDGET | 0x00010, "Disabled"), -#endif -#if defined(TIZEN_ERROR_MINICONTROL) - ERR_ENTRY("MINICONTROL_ERROR_IPC_FAILURE", TIZEN_ERROR_MINICONTROL | 0x02, " IPC error"), - ERR_ENTRY("MINICONTROL_ERROR_ELM_FAILURE", TIZEN_ERROR_MINICONTROL | 0x03, " Some error occued on elementary"), -#endif -#if defined(TIZEN_ERROR_IME) - ERR_ENTRY("IME_ERROR_NO_CALLBACK_FUNCTION", TIZEN_ERROR_IME | 0x0001, "Necessary callback function is not set"), - ERR_ENTRY("IME_ERROR_NOT_RUNNING", TIZEN_ERROR_IME | 0x0002, "IME main loop isn't started yet "), - ERR_ENTRY("IME_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0003, "Operation failed"), - ERR_ENTRY("IME_MANAGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_IME | 0x0010, "Operation failed"), -#endif -#if defined(TIZEN_ERROR_MAPS_SERVICE) - ERR_ENTRY("MAPS_ERROR_SERVICE_NOT_AVAILABLE", TIZEN_ERROR_MAPS_SERVICE | 0x01, "Service unavailable"), - ERR_ENTRY("MAPS_ERROR_NOT_FOUND", TIZEN_ERROR_MAPS_SERVICE | 0x02, "Result not found "), -#endif -#if defined(TIZEN_ERROR_GEOFENCE_MANAGER) - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_NOT_INITIALIZED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x01, "Geofence Manager is not initialized"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_INVALID_ID", TIZEN_ERROR_GEOFENCE_MANAGER | 0x02, "Invalid Geofence ID"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_EXCEPTION", TIZEN_ERROR_GEOFENCE_MANAGER | 0x03, "exception is occurred"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_ALREADY_STARTED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x04, "Geofence is already started"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_TOO_MANY_GEOFENCE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x05, "Too many Geofence"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_IPC", TIZEN_ERROR_GEOFENCE_MANAGER | 0x06, "Error occurred in GPS/Wi-Fi/BT"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_DATABASE", TIZEN_ERROR_GEOFENCE_MANAGER | 0x07, "DB error occurred in the server side"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_PLACE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x08, "Access to specified place is denied"), - ERR_ENTRY("GEOFENCE_MANAGER_ERROR_GEOFENCE_ACCESS_DENIED", TIZEN_ERROR_GEOFENCE_MANAGER | 0x09, "Access to specified geofence is denied"), -#endif -#if defined(TIZEN_ERROR_SYNC_MANAGER) - ERR_ENTRY("SYNC_ERROR_SYSTEM", TIZEN_ERROR_SYNC_MANAGER | 0x01, "System error"), - ERR_ENTRY("SYNC_ERROR_SYNC_ADAPTER_NOT_FOUND", TIZEN_ERROR_SYNC_MANAGER | 0x02, "Sync adater is not registered"), -#endif -#if defined(TIZEN_ERROR_SERVICE_ADAPTOR) - ERR_ENTRY("SERVICE_ADAPTOR_ERROR_IPC_UNSTABLE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x01, "IPC Connection unstabled"), - ERR_ENTRY("SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x02, "The error occured from Plugin"), - ERR_ENTRY("SERVICE_ADAPTOR_ERROR_NOT_AUTHORIZED", TIZEN_ERROR_SERVICE_ADAPTOR | 0x03, "Need Autholization "), - ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INVALID_STATE", TIZEN_ERROR_SERVICE_ADAPTOR | 0x04, "The handle state is invalid for processing API"), - ERR_ENTRY("SERVICE_ADAPTOR_ERROR_SYSTEM", TIZEN_ERROR_SERVICE_ADAPTOR | 0x05, "Internal system module error"), - ERR_ENTRY("SERVICE_ADAPTOR_ERROR_INTERNAL", TIZEN_ERROR_SERVICE_ADAPTOR | 0x06, "Implementation Error"), -#endif -#if defined(TIZEN_ERROR_ACCOUNT_OAUTH) - ERR_ENTRY("OAUTH2_ERROR_PARSE_FAILED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x01, "Response parse failed"), - ERR_ENTRY("OAUTH2_ERROR_NETWORK_ERROR", TIZEN_ERROR_ACCOUNT_OAUTH | 0x02, "Network error"), - ERR_ENTRY("OAUTH2_ERROR_SERVER", TIZEN_ERROR_ACCOUNT_OAUTH | 0x03, "Server error"), - ERR_ENTRY("OAUTH2_ERROR_USER_CANCELLED", TIZEN_ERROR_ACCOUNT_OAUTH | 0x04, "User cancelled the operation"), - ERR_ENTRY("OAUTH2_ERROR_VALUE_NOT_FOUND", TIZEN_ERROR_ACCOUNT_OAUTH | 0x05, "Value not found"), -#endif -#if defined(TIZEN_ERROR_CONTEXT) - ERR_ENTRY("CONTEXT_HISTORY_ERROR_OUT_OF_RANGE", TIZEN_ERROR_CONTEXT | 0x03, "Out of range"), - ERR_ENTRY("CONTEXT_HISTORY_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"), -#endif -#if defined(TIZEN_ERROR_CONTEXT) - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_OPERATION_FAILED", TIZEN_ERROR_CONTEXT | 0x04, "Operation failed"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_ENABLED", TIZEN_ERROR_CONTEXT | 0x05, "Rule is enabled"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_ENABLED", TIZEN_ERROR_CONTEXT | 0x06, "Rule is not enabled"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_INVALID_RULE", TIZEN_ERROR_CONTEXT | 0x07, "Invalid rule"), - ERR_ENTRY("CONTEXT_TRIGGER_ERROR_RULE_NOT_EXIST", TIZEN_ERROR_CONTEXT | 0x08, "Rule does not exist"), -#endif -#if defined(TIZEN_ERROR_MEDIA_VISION) - ERR_ENTRY("MEDIA_VISION_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_MEDIA_VISION | 0x01, "Not supported format"), - ERR_ENTRY("MEDIA_VISION_ERROR_INTERNAL", TIZEN_ERROR_MEDIA_VISION | 0x02, "Internal error"), - ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_DATA", TIZEN_ERROR_MEDIA_VISION | 0x03, "Invalid data"), - ERR_ENTRY("MEDIA_VISION_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_VISION | 0x04, "Invalid path"), -#endif -#if defined(TIZEN_ERROR_METADATA_EDITOR) - ERR_ENTRY("METADATA_EDITOR_ERROR_OPERATION_FAILED", TIZEN_ERROR_METADATA_EDITOR | 0x01, "Invalid internal operation"), -#endif -#if defined(TIZEN_ERROR_PHONENUMBER_UTILS) - ERR_ENTRY("PHONE_NUMBER_ERROR_SYSTEM", TIZEN_ERROR_PHONENUMBER_UTILS | 0xEF, "Internal error"), -#endif -#if defined(TIZEN_ERROR_PANEL) - ERR_ENTRY("SHARE_PANEL_ERROR_ALREADY_EXISTS", TIZEN_ERROR_PANEL | 0x01, "There is already a panel in the conformant"), - ERR_ENTRY("SHARE_PANEL_ERROR_NOT_INITIALIZED", TIZEN_ERROR_PANEL | 0x02, "The panel is not initialized yet"), - ERR_ENTRY("SHARE_PANEL_ERROR_INVALID_OPERATION", TIZEN_ERROR_PANEL | 0x03, "Not supported content category"), - ERR_ENTRY("ATTACH_PANEL_ERROR_ALREADY_DESTROYED", TIZEN_ERROR_PANEL | 0x05, "The panel is already removed"), -#endif -#if defined(TIZEN_ERROR_IOTCON) - ERR_ENTRY("IOTCON_ERROR_IOTIVITY", TIZEN_ERROR_IOTCON | 0x01, "Internal error"), - ERR_ENTRY("IOTCON_ERROR_REPRESENTATION", TIZEN_ERROR_IOTCON | 0x02, "Representation errors"), - ERR_ENTRY("IOTCON_ERROR_INVALID_TYPE", TIZEN_ERROR_IOTCON | 0x03, "Invalid type"), - ERR_ENTRY("IOTCON_ERROR_ALREADY", TIZEN_ERROR_IOTCON | 0x04, "Already"), - ERR_ENTRY("IOTCON_ERROR_DBUS", TIZEN_ERROR_IOTCON | 0x05, "D-Bus errors"), - ERR_ENTRY("IOTCON_ERROR_SYSTEM", TIZEN_ERROR_IOTCON | 0x06, "System errors"), -#endif -#if defined(TIZEN_ERROR_MEDIA_STREAMER) - ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_STREAMER | 0x01, "Invalid state"), - ERR_ENTRY("MEDIA_STREAMER_ERROR_CONNECTION_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x02, "Connection failed"), - ERR_ENTRY("MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT", TIZEN_ERROR_MEDIA_STREAMER | 0x03, "Resource conflict"), - ERR_ENTRY("MEDIA_STREAMER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_STREAMER | 0x04, "Seek operation failure"), -#endif -#if defined(TIZEN_ERROR_MEDIA_DEMUXER) - ERR_ENTRY("MEDIA_STREAMER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"), - ERR_ENTRY("MEDIADEMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_DEMUXER | 0x02, "Invalid path"), - ERR_ENTRY("MEDIADEMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_DEMUXER | 0x03, "Resource limit"), - ERR_ENTRY("MEDIADEMUXER_ERROR_SEEK_FAILED", TIZEN_ERROR_MEDIA_DEMUXER | 0x04, "Seek operation failure"), - ERR_ENTRY("MEDIADEMUXER_ERROR_DRM_NOT_PERMITTED", TIZEN_ERROR_MEDIA_DEMUXER | 0x05, "Not permitted format"), -#endif -#if defined(TIZEN_ERROR_MEDIA_MUXER) - ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_STATE", TIZEN_ERROR_MEDIA_DEMUXER | 0x01, "Invalid state"), - ERR_ENTRY("MEDIAMUXER_ERROR_INVALID_PATH", TIZEN_ERROR_MEDIA_MUXER | 0x02, "Invalid path"), - ERR_ENTRY("MEDIAMUXER_ERROR_RESOURCE_LIMIT", TIZEN_ERROR_MEDIA_MUXER | 0x03, "Resource limit"), -#endif - {0, NULL, NULL} -}; static __thread int tizen_last_error = TIZEN_ERROR_NONE; diff --git a/tool/error_msg_template.xml b/tool/error_msg_template.xml new file mode 100644 index 0000000..e770d96 --- /dev/null +++ b/tool/error_msg_template.xml @@ -0,0 +1,20 @@ + + + + TIZEN_ERROR_PANEL | 0x01 + There is already a panel in the conformant + + + TIZEN_ERROR_PANEL | 0x02 + The panel is not initialized yet + + + TIZEN_ERROR_PANEL | 0x03 + Not supported content category + + + TIZEN_ERROR_PANEL | 0x05 + The panel is already removed + + + diff --git a/tool/make_msg_header.py b/tool/make_msg_header.py new file mode 100644 index 0000000..d2bdac2 --- /dev/null +++ b/tool/make_msg_header.py @@ -0,0 +1,55 @@ +#python xml library import +from xml.etree.ElementTree import parse +import os +import sys +import shutil + +curpath = os.path.dirname( os.path.abspath( __file__ ) ) +msgpath = os.path.join( curpath, "../error_messages/" ) +headerpath = os.path.join( curpath, "tizen_error_private.h" ) + +shutil.copy( os.path.join( curpath, "tizen_error_private_template.h" ), headerpath ) +fp = open( headerpath, 'a' ) + +fp.write( "\n#ifndef __TIZEN_COMMON_ERROR_PRIVATE_H__\n" ) +fp.write( "#define __TIZEN_COMMON_ERROR_PRIVATE_H__\n\n" ) + +fp.write( "#ifdef __cplusplus\n" ) +fp.write( "extern \"C\" {\n" ) +fp.write( "#endif\n\n" ) + +fp.write( "#define ERR_ENTRY(name, value, msg) {value, name, msg}\n\n" ) +fp.write( "typedef struct tizen_err_info {\n" ) +fp.write( "\tint value;\n" ) +fp.write( "\tconst char *name;\n" ) +fp.write( "\tconst char *msg;\n" ) +fp.write( "} err_info;\n\n" ) + +fp.write( "static err_info err_list[] = {\n" ); +for root, dirs, files in os.walk( msgpath ): + for file in files: + targetXML = open( os.path.join( msgpath, file ) ) + tree = parse( targetXML ) + errorroot = tree.getroot() + + for error in errorroot.findall( "error" ): + fp.write( "\tERR_ENTRY(\"" ) + fp.write( error.get( "name" ) + "\", ") + fp.write( error.findtext( "value" ) + ", \"" ) + fp.write( error.findtext( "msg" ) + "\"),\n" ) + +fp.write( "\t{0, NULL, NULL}\n" ) +fp.write( "};\n" ) + +fp.write( "\n#ifdef __cplusplus\n" ) +fp.write( "}\n" ) +fp.write( "#endif\n\n" ) +fp.write( "#endif\t/**<__TIZEN_COMMON_ERROR_PRIVATE_H__ */\n" ) +fp.close() + +privatepath = os.path.join( curpath, "../include/private/" ) +if not os.path.isdir( privatepath ): + os.mkdir( privatepath ) + +os.remove( privatepath + "tizen_error_private.h" ) +shutil.move( headerpath, privatepath ) \ No newline at end of file diff --git a/tool/tizen_error_private_template.h b/tool/tizen_error_private_template.h new file mode 100644 index 0000000..96c53a8 --- /dev/null +++ b/tool/tizen_error_private_template.h @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +