OSDN Git Service

android: Add missing HAL IPC error status definitions
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 22 Oct 2013 06:54:12 +0000 (08:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 22 Oct 2013 07:02:21 +0000 (10:02 +0300)
android/hal-msg.h

index 1f77586..6266903 100644 (file)
@@ -47,6 +47,15 @@ struct hal_msg_hdr {
 /* Core Service */
 
 #define HAL_ERROR_FAILED               0x01
+#define HAL_ERROR_NOT_READY            0x02
+#define HAL_ERROR_NOMEM                        0x03
+#define HAL_ERROR_BUSY                 0x04
+#define HAL_ERROR_DONE                 0x05
+#define HAL_ERROR_UNSUPPORTED          0x06
+#define HAL_ERROR_INVALID              0x07
+#define HAL_ERROR_UNHANDLED            0x08
+#define HAL_ERROR_AUTH_FAILURE         0x09
+#define HAL_ERROR_REMOTE_DEVICE_DOWN   0x0a
 
 #define HAL_MSG_OP_ERROR               0x00
 struct hal_msg_rsp_error {