Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afd6f342 authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Android (Google) Code Review
Browse files

Merge "Remove MHL related code." into lmp-dev

parents 9891bbea da6e9f10
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
package com.android.server.hdmi;

/**
 * Defines constants related to MHL protocol internal implementation.
 */
final class MhlConstants {
    // --------------------------------------------------
    // MHL sub command message types.
    static final int MSG_MSGE  = 0x02;
    static final int MSG_RCP   = 0x10;
    static final int MSG_RCPK  = 0x11;
    static final int MSG_RCPE  = 0x12;
    static final int MSG_RAP   = 0x20;
    static final int MSG_RAPK  = 0x21;

    // MHL RAP messages.
    static final int RAP_ACTION_POLL = 0x00;
    static final int RAP_ACTION_CONTENT_ON = 0x10;
    static final int RAP_ACTION_CONTENT_OFF = 0x11;

    // MHL RAPK messages.
    static final int RAPK_NO_ERROR = 0x00;
    static final int RAPK_UNRECOGNIZED_ACTION = 0x01;
    static final int RAPK_UNSUPPORTED_ACTION = 0x02;
    static final int RAPK_RESPONDER_BUSY = 0x03;

    static final int INVALID_ADOPTER_ID = -1;
    static final int INVALID_DEVICE_ID = -1;

    static final int CBUS_MODE_OCBUS = 1;
    static final int CBUS_MODE_ECBUS_S = 2;
    static final int CBUS_MODE_ECBUS_D = 3;

    // MHL RCPE messages
    static final int RCPE_NO_ERROR = 0x00;
    static final int RCPE_INEFFECTIVE_KEYCODE = 0x01;
    static final int RCPE_RESPONDER_BUSY = 0x02;

    private MhlConstants() { /* cannot be instantiated */ }
}