am 2142f849: am 0b6aeed0: am 68bc0359: Define a constant for HDMI-CEC logical address used for internal source
* commit '2142f8494c6496a21b508d85d16c2c34afe12c1f': Define a constant for HDMI-CEC logical address used for internal source
This commit is contained in:
@@ -57,7 +57,13 @@ public final class HdmiCecDeviceInfo implements Parcelable {
|
||||
// Value indicating the device is not an active source.
|
||||
public static final int DEVICE_INACTIVE = -1;
|
||||
|
||||
// Logical address, phsical address, device type, vendor id and display name
|
||||
/**
|
||||
* Logical address used to indicate the source comes from internal device.
|
||||
* The logical address of TV(0) is used.
|
||||
*/
|
||||
public static final int ADDR_INTERNAL = 0;
|
||||
|
||||
// Logical address, physical address, device type, vendor id and display name
|
||||
// are immutable value.
|
||||
private final int mLogicalAddress;
|
||||
private final int mPhysicalAddress;
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.server.hdmi;
|
||||
|
||||
import android.hardware.hdmi.HdmiCecDeviceInfo;
|
||||
|
||||
/**
|
||||
* Defines constants related to HDMI-CEC protocol internal implementation.
|
||||
* If a constant will be used in the public api, it should be located in
|
||||
@@ -78,7 +80,7 @@ final class Constants {
|
||||
public static final int ADDR_INVALID = -1;
|
||||
|
||||
/** Logical address used to indicate the source comes from internal device. */
|
||||
public static final int ADDR_INTERNAL = 0xFFFF;
|
||||
public static final int ADDR_INTERNAL = HdmiCecDeviceInfo.ADDR_INTERNAL;
|
||||
|
||||
static final int MESSAGE_FEATURE_ABORT = 0x00;
|
||||
static final int MESSAGE_IMAGE_VIEW_ON = 0x04;
|
||||
|
||||
Reference in New Issue
Block a user