Follow up send message errors of hdmi_cec.h in service side

Change-Id: Icc64e6324250230c939b04ab37c999f50afe7bf2
This commit is contained in:
Jungshik Jang
2014-07-21 17:55:25 +09:00
parent 970d4132ea
commit 30a356a419

View File

@@ -179,10 +179,11 @@ final class Constants {
static final int INVALID_PORT_ID = -1;
static final int INVALID_PHYSICAL_ADDRESS = 0xFFFF;
// Send result codes.
// Send result codes. It should be consistent with hdmi_cec.h's send_message error code.
static final int SEND_RESULT_SUCCESS = 0;
static final int SEND_RESULT_NAK = -1;
static final int SEND_RESULT_FAILURE = -2;
static final int SEND_RESULT_NAK = 1;
static final int SEND_RESULT_BUSY = 2;
static final int SEND_RESULT_FAILURE = 3;
// Strategy for device polling.
// Should use "OR(|) operation of POLL_STRATEGY_XXX and POLL_ITERATION_XXX.