Merge "HDMI: Add new field eArcSupported"

This commit is contained in:
Treehugger Robot 2022-11-29 09:03:27 +00:00 committed by Gerrit Code Review
commit 45661bec3f
3 changed files with 3 additions and 0 deletions

View file

@ -38,5 +38,6 @@ parcelable HdmiPortInfo {
int portId;
boolean cecSupported;
boolean arcSupported;
boolean eArcSupported;
int physicalAddress;
}

View file

@ -27,6 +27,7 @@ parcelable HdmiPortInfo {
int portId; // Should start from 1 which corresponds to HDMI "port 1".
boolean cecSupported;
boolean arcSupported;
boolean eArcSupported;
// The physical address of the device connected to this port, valid range is 0x0000 to 0xFFFF
// (ref Sec 8.7.2 of HDMI 1.4b).
int physicalAddress;

View file

@ -166,6 +166,7 @@ HdmiMock::HdmiMock() {
.portId = static_cast<uint32_t>(1),
.cecSupported = true,
.arcSupported = false,
.eArcSupported = false,
.physicalAddress = mPhysicalAddress};
mPortConnectionStatus[0] = false;
mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(AIBinder_DeathRecipient_new(serviceDied));