/docs/source.android.com/src/devices/tv/ |
HDMI-CEC.jd | 1 page.title=HDMI-CEC Control Service 29 <p>The High-Definition Multimedia Interface Consumer Electronics Control (HDMI-CEC) standard allows mulitmedia consumer products to communicate and 30 exchange information with each other. HDMI-CEC supports many features, like 36 <p>Most manufacturers have adopted HDMI-CEC so their devices work with other 37 companies? devices. But because each manufacturer implements the HDMI-CEC 40 can?t safely assume that two products that claim CEC support are completely 46 <p>With the introduction of the Android TV Input Framework (TIF), HDMI-CEC brings 53 <li>A standard implementation of HDMI-CEC for all manufacturers, which will reduce 55 implementations of HDMI-CEC or use third-party solutions.</li> 56 <li>A service that is well-tested against numerous HDMI-CEC devices already in th [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiConfig.java | 29 // from the adjacent one so as not to place unnecessarily heavy load on the CEC line. 46 // CEC spec said that it should try retransmission at least once. 53 // Do not export the CEC devices connected to a legacy HDMI switch. The usage of legacy 54 // (non-CEC) switches is deprecated. They stop the correct operation of many mandatory 55 // CEC features. If set to true, do not pass the list of CEC devices behind the legacy
|
RoutingControlAction.java | 35 * <li> Routing change of a CEC switch other than TV 36 * <li> New CEC device at the tail of the active routing path 37 * <li> Removed CEC device from the active routing path 38 * <li> Routing at CEC enable time 71 // The latest routing path. Updated by each <Routing Information> from CEC switches. 158 Slog.w("CEC", "Timer in a wrong state. Ignored.");
|
SendKeyAction.java | 25 * User Control Release) to CEC bus. 27 * <p>This action is created when a new key event is passed to CEC service. It optionally 29 * If another key press event is received before the key in use is released, CEC service 64 // The time stamp when the last CEC key command was sent. Used to determine the press-and-hold 160 // Send key action doesn't need any incoming CEC command, hence does not consume it.
|
HdmiCecKeycode.java | 26 * Helper class to translate android keycode to hdmi cec keycode and vice versa. 33 // Hdmi CEC keycodes 162 * A mapping between Android and CEC keycode. 170 * However, some keys in CEC requires additional parameter. In order to use parameterized cec 171 * key, add unique android keycode (existing or custom) corresponding to a pair of cec keycode 238 // Note that order of entry is the same as above cec keycode definition. 258 // Note that both BACK and ESCAPE are mapped to EXIT of CEC keycode. 259 // This would be problematic when translates CEC keycode to Android keycode. 261 // If you'd like to map CEC EXIT to Android EXIT key, change order o [all...] |
VolumeControlAction.java | 52 * Scale a custom volume value to cec volume scale. 56 * @return a volume scaled to cec volume range 63 * Scale a cec volume which is in range of 0 to 100 to custom volume level. 65 * @param cecVolume volume value in cec volume scale. It should be in a range of [0-100]
|
HdmiUtils.java | 28 * Various utilities to handle HDMI CEC messages. 128 * Check if the given CEC message come from the given address. 130 * @param cmd the CEC message to check 133 * @return true if the CEC message comes from the given address 145 * Parse the parameter block of CEC message as [System Audio Status]. 147 * @param cmd the CEC message to parse
|
HdmiCecFeatureAction.java | 31 * Encapsulates a sequence of CEC command exchange for a certain feature. 33 * Many CEC features are accomplished by CEC devices on the bus exchanging more than one 95 * <p>CEC standard mandates each command transmission should be responded within
|
NewDeviceAction.java | 27 * This action is created when receiving <Report Physical Address>, a CEC command a newly 28 * connected HDMI-CEC device broadcasts to announce its advent. Additional commands are issued in 181 // Consume CEC messages we already got for this newly found device.
|
Constants.java | 22 * Defines constants related to HDMI-CEC protocol internal implementation. 164 // Constants related to operands of HDMI CEC commands. 165 // Refer to CEC Table 29 in HDMI Spec v1.4b. 240 // If set to disabled, all CEC commands are discarded. 243 // If set to disabled, system service yields control of CEC to sub-microcontroller.
|
/hardware/libhardware/include/hardware/ |
hdmi_cec.h | 68 * HDMI CEC messages 199 /* When set to false, all the CEC commands are discarded. Used when 200 * user changes the TV settings to disable CEC functionality. 206 * CEC service and yield the control over to the microprocessor that is 209 * handling the cec commands. This is called when system goes 211 * start/stop handling CEC commands on behalf of the system. 227 * Maximum length in bytes of cec message body (exclude header block), 228 * should not exceed 16 (spec CEC 6 Frame Description) 254 int opcode; /* CEC opcode */ 264 cec_message_t cec; member in union:hdmi_event::__anon30869 [all...] |
/frameworks/native/data/etc/ |
android.hardware.hdmi.cec.xml | 17 <!-- This is the standard feature indicating that the device includes HDMI-CEC. --> 19 <feature name="android.hardware.hdmi.cec" />
|
/device/asus/fugu/ |
ueventd.fugu.rc | 9 # hdmi cec
|
/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiPortInfo.java | 24 * HDMI-CEC, MHL, ARC(Audio Return Channel), and physical address assigned to each port. 49 * @param cec {@code true} if HDMI-CEC is supported on the port 53 public HdmiPortInfo(int id, int type, int address, boolean cec, boolean mhl, boolean arc) { 57 mCecSupported = cec; 90 * Returns {@code true} if the port supports HDMI-CEC signaling. 92 * @return {@code true} if the port supports HDMI-CEC signaling. 136 boolean cec = (source.readInt() == 1); 139 return new HdmiPortInfo(id, type, address, cec, mhl, arc); 170 s.append("cec: ").append(mCecSupported).append(", ") [all...] |
HdmiDeviceInfo.java | 24 * A class to encapsulate device information for HDMI devices including CEC and MHL. In terms of 25 * CEC, this container includes basic information such as logical address, physical address and 53 /** @hide Pure CEC switch device type. */ 105 // CEC only parameters. 156 * Constructor. Used to initialize the instance for CEC device. 158 * @param logicalAddress logical address of HDMI-CEC device 159 * @param physicalAddress physical address of HDMI-CEC device 185 * Constructor. Used to initialize the instance for CEC device. 187 * @param logicalAddress logical address of HDMI-CEC device 188 * @param physicalAddress physical address of HDMI-CEC devic [all...] |
HdmiControlManager.java | 29 * to attached CEC devices. 31 * <p>Provides various HDMI client instances that represent HDMI-CEC logical devices 34 * can host more than one logical CEC devices. If multiple types are configured they 160 // From here extra message for recording that is not mentioned in CEC spec 167 /** CEC is disabled. */ 225 /** CEC is disabled. */ 241 /** Clear timer error - CEC is disabled. */ 290 * Gets an object that represents an HDMI-CEC logical device of a specified type. 292 * @param type CEC device type 313 * Gets an object that represents an HDMI-CEC logical device of type playback on the system [all...] |
IHdmiDeviceEventListener.aidl | 23 * the CEC logical device status change event.
|
HdmiTvClient.java | 31 * HdmiTvClient represents HDMI-CEC logical device of type TV in the Android system 33 * devices on the CEC bus. 74 * Selects a CEC logical device to be a new active source. 156 * Returns all the CEC devices connected to TV. 158 * @return list of {@link HdmiDeviceInfo} for connected CEC devices.
|
/hardware/qcom/display/msm8996/hdmi_cec/ |
qhdmi_cec.cpp | 174 ssize_t err = write_int_to_node(ctx, "cec/logical_addr", addr); 185 write_int_to_node(ctx, "cec/logical_addr", 15); 244 snprintf(write_msg_path, sizeof(write_msg_path), "%s/cec/wr_msg", 253 ALOGE("%s: CEC line busy, retrying", __FUNCTION__); 265 ALOGE("%s: CEC line is busy, max retry count exceeded", 270 ALOGE("%s: Failed to send CEC message err: %zd - %s", 274 ALOGD_IF(DEBUG, "%s: Sent CEC message - %zd bytes written", 295 event.cec.length = msg[CEC_OFFSET_FRAME_LENGTH] - 1; 296 event.cec.initiator = (cec_logical_address_t) msg[CEC_OFFSET_SENDER_ID]; 297 event.cec.destination = (cec_logical_address_t) msg[CEC_OFFSET_RECEIVER_ID] [all...] |
qhdmi_cec.h | 45 // Function in HDMI service to call back on CEC messages 57 bool system_control; // If true, HAL/driver handle CEC messages
|
/hardware/qcom/display/msmcobalt/hdmi_cec/ |
qhdmi_cec.cpp | 174 ssize_t err = write_int_to_node(ctx, "cec/logical_addr", addr); 185 write_int_to_node(ctx, "cec/logical_addr", 15); 244 snprintf(write_msg_path, sizeof(write_msg_path), "%s/cec/wr_msg", 253 ALOGE("%s: CEC line busy, retrying", __FUNCTION__); 265 ALOGE("%s: CEC line is busy, max retry count exceeded", 270 ALOGE("%s: Failed to send CEC message err: %zd - %s", 274 ALOGD_IF(DEBUG, "%s: Sent CEC message - %zd bytes written", 295 event.cec.length = msg[CEC_OFFSET_FRAME_LENGTH] - 1; 296 event.cec.initiator = (cec_logical_address_t) msg[CEC_OFFSET_SENDER_ID]; 297 event.cec.destination = (cec_logical_address_t) msg[CEC_OFFSET_RECEIVER_ID] [all...] |
qhdmi_cec.h | 45 // Function in HDMI service to call back on CEC messages 57 bool system_control; // If true, HAL/driver handle CEC messages
|
/frameworks/base/services/core/jni/ |
com_android_server_hdmi_HdmiCecController.cpp | 56 // Get CEC version from driver. 91 mEvent.cec.initiator = event.cec.initiator; 92 mEvent.cec.destination = event.cec.destination; 93 mEvent.cec.length = event.cec.length; 94 std::memcpy(mEvent.cec.body, event.cec.body, event.cec.length) 106 const cec_message_t& cec() const { function in class:android::CecEventWrapper [all...] |
/frameworks/base/media/java/android/media/tv/ |
ITvInputHardware.aidl | 33 * trigger CEC commands for adjusting active HDMI source. Returns true on success. 44 * HDMI CEC commands. If the hardware is not representing an HDMI port, this method will fail.
|
/packages/apps/TvSettings/Settings/res/xml/ |
inputs.xml | 33 android:key="cec"
|