Home
last modified time | relevance | path

Searched refs:HdmiPortInfo (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiPortInfoTest.java47 new HdmiPortInfo.Builder(portId, portType, address) in testEquals()
53 new HdmiPortInfo.Builder(portId, portType, address) in testEquals()
60 new HdmiPortInfo.Builder(portId + 1, portType, address) in testEquals()
67 new HdmiPortInfo.Builder(portId, portType + 1, address) in testEquals()
74 new HdmiPortInfo.Builder(portId, portType, address + 1) in testEquals()
81 new HdmiPortInfo.Builder(portId, portType, address) in testEquals()
88 new HdmiPortInfo.Builder(portId, portType, address) in testEquals()
95 new HdmiPortInfo.Builder(portId, portType, address) in testEquals()
102 new HdmiPortInfo.Builder(portId, portType, address) in testEquals()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiPortInfo.java37 public final class HdmiPortInfo implements Parcelable { class
77 public HdmiPortInfo(int id, @PortType int type, in HdmiPortInfo() method in HdmiPortInfo
97 private HdmiPortInfo(Builder builder) { in HdmiPortInfo() method in HdmiPortInfo
171 public static final @android.annotation.NonNull Parcelable.Creator<HdmiPortInfo> CREATOR =
172 new Parcelable.Creator<HdmiPortInfo>() {
174 public HdmiPortInfo createFromParcel(Parcel source) {
191 public HdmiPortInfo[] newArray(int size) {
192 return new HdmiPortInfo[size];
232 if (!(o instanceof HdmiPortInfo)) { in equals()
235 final HdmiPortInfo other = (HdmiPortInfo) o; in equals()
[all …]
DHdmiPortInfo.aidl19 parcelable HdmiPortInfo;
DHdmiSwitchClient.java192 public List<HdmiPortInfo> getPortInfo() {
197 return Collections.<HdmiPortInfo>emptyList();
DHdmiControlServiceWrapper.java39 private List<HdmiPortInfo> mInfoList = null;
131 public List<HdmiPortInfo> getPortInfo() {
356 public void setPortInfo(@NonNull List<HdmiPortInfo> infoList) { in setPortInfo()
366 public List<HdmiPortInfo> getPortInfo() { in getPortInfo()
DIHdmiControlService.aidl20 import android.hardware.hdmi.HdmiPortInfo;
60 List<HdmiPortInfo> getPortInfo(); in getPortInfo()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlControllerStub.java19 import android.hardware.hdmi.HdmiPortInfo;
33 private static final HdmiPortInfo[] EMPTY_PORT_INFO = new HdmiPortInfo[0];
51 HdmiPortInfo[] getPortInfos() { in getPortInfos()
DHdmiCecNetwork.java25 import android.hardware.hdmi.HdmiPortInfo;
92 private List<HdmiPortInfo> mPortInfo = Collections.emptyList();
98 private UnmodifiableSparseArray<HdmiPortInfo> mPortInfoMap;
432 HdmiPortInfo[] cecPortInfo = null; in initPortInfo()
444 SparseArray<HdmiPortInfo> portInfoMap = new SparseArray<>(); in initPortInfo()
447 for (HdmiPortInfo info : cecPortInfo) { in initPortInfo()
460 HdmiPortInfo[] mhlPortInfo = mHdmiMhlController.getPortInfos(); in initPortInfo()
462 for (HdmiPortInfo info : mhlPortInfo) { in initPortInfo()
474 ArrayList<HdmiPortInfo> result = new ArrayList<>(cecPortInfo.length); in initPortInfo()
475 for (HdmiPortInfo info : cecPortInfo) { in initPortInfo()
[all …]
DHdmiCecController.java21 import android.hardware.hdmi.HdmiPortInfo;
311 HdmiPortInfo[] getPortInfos() { in getPortInfos()
922 HdmiPortInfo[] nativeGetPortInfos(); in nativeGetPortInfos()
1118 public HdmiPortInfo[] nativeGetPortInfos() { in nativeGetPortInfos()
1120 android.hardware.tv.hdmi.connection.HdmiPortInfo[] hdmiPortInfos = in nativeGetPortInfos()
1122 HdmiPortInfo[] hdmiPortInfo = new HdmiPortInfo[hdmiPortInfos.length]; in nativeGetPortInfos()
1124 for (android.hardware.tv.hdmi.connection.HdmiPortInfo portInfo : hdmiPortInfos) { in nativeGetPortInfos()
1125 hdmiPortInfo[i] = new HdmiPortInfo.Builder( in nativeGetPortInfos()
1308 public HdmiPortInfo[] nativeGetPortInfos() { in nativeGetPortInfos()
1310 ArrayList<android.hardware.tv.cec.V1_0.HdmiPortInfo> hdmiPortInfos = in nativeGetPortInfos()
[all …]
DHdmiCecLocalDeviceSource.java21 import android.hardware.hdmi.HdmiPortInfo;
95 HdmiPortInfo portInfo = mService.getPortInfo(portId); in onHotplug()
96 if (portInfo != null && portInfo.getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
DHdmiCecLocalDeviceTv.java39 import android.hardware.hdmi.HdmiPortInfo;
179 List<HdmiPortInfo> ports = mService.getPortInfo(); in onAddressAllocated()
180 for (HdmiPortInfo port : ports) { in onAddressAllocated()
1416 List<HdmiPortInfo> ports = mService.getPortInfo(); in forceDisableArcOnAllPins()
1417 for (HdmiPortInfo port : ports) { in forceDisableArcOnAllPins()
1688 List<HdmiPortInfo> ports = mService.getPortInfo(); in computeDeviceFeatures()
1689 for (HdmiPortInfo port : ports) { in computeDeviceFeatures()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakeNativeWrapper.java19 import android.hardware.hdmi.HdmiPortInfo;
61 private HdmiPortInfo[] mHdmiPortInfo = null;
115 public HdmiPortInfo[] nativeGetPortInfos() { in nativeGetPortInfos()
117 mHdmiPortInfo = new HdmiPortInfo[1]; in nativeGetPortInfos()
118 mHdmiPortInfo[0] = new HdmiPortInfo.Builder(1, 1, 0x1000) in nativeGetPortInfos()
232 protected void setPortInfo(HdmiPortInfo[] hdmiPortInfo) { in setPortInfo()
233 mHdmiPortInfo = new HdmiPortInfo[hdmiPortInfo.length]; in setPortInfo()
DHdmiCecAtomLoggingTvTest.java37 import android.hardware.hdmi.HdmiPortInfo;
127 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp()
129 new HdmiPortInfo.Builder(EARC_PORT_ID, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
219 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in testEarcStatusChanged_handleEarcStateChange_unSupportedPort_writesAtom()
221 new HdmiPortInfo.Builder(EARC_PORT_ID, HdmiPortInfo.PORT_OUTPUT, 0x0000) in testEarcStatusChanged_handleEarcStateChange_unSupportedPort_writesAtom()
DPowerStatusMonitorActionTest.java34 import android.hardware.hdmi.HdmiPortInfo;
100 HdmiPortInfo[] hdmiPortInfo = new HdmiPortInfo[2]; in setUp()
102 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, 0x1000) in setUp()
108 new HdmiPortInfo.Builder(2, HdmiPortInfo.PORT_INPUT, 0x2000) in setUp()
DSystemAudioAutoInitiationActionTest.java33 import android.hardware.hdmi.HdmiPortInfo;
102 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[2]; in setUp()
104 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, 0x1000) in setUp()
110 new HdmiPortInfo.Builder(2, HdmiPortInfo.PORT_INPUT, 0x2000) in setUp()
DHdmiCecPowerStatusControllerTest.java30 import android.hardware.hdmi.HdmiPortInfo;
109 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp()
111 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
DHdmiCecNetworkTest.java28 import android.hardware.hdmi.HdmiPortInfo;
64 private HdmiPortInfo[] mHdmiPortInfo;
96 mHdmiPortInfo = new HdmiPortInfo[5]; in setUp()
98 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, 0x2100) in setUp()
104 new HdmiPortInfo.Builder(2, HdmiPortInfo.PORT_INPUT, 0x2200) in setUp()
110 new HdmiPortInfo.Builder(3, HdmiPortInfo.PORT_INPUT, 0x2000) in setUp()
116 new HdmiPortInfo.Builder(4, HdmiPortInfo.PORT_INPUT, 0x3000) in setUp()
122 new HdmiPortInfo.Builder(5, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
DRoutingControlActionTest.java36 import android.hardware.hdmi.HdmiPortInfo;
197 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp()
199 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, PHYSICAL_ADDRESS_AVR) in setUp()
DHdmiCecAtomLoggingTest.java42 import android.hardware.hdmi.HdmiPortInfo;
82 private HdmiPortInfo[] mHdmiPortInfo;
133 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp()
135 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
DDeviceSelectActionFromTvTest.java37 import android.hardware.hdmi.HdmiPortInfo;
154 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[2]; in setUp()
156 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, PHYSICAL_ADDRESS_PLAYBACK_1) in setUp()
162 new HdmiPortInfo.Builder(2, HdmiPortInfo.PORT_INPUT, PHYSICAL_ADDRESS_PLAYBACK_2) in setUp()
DHdmiCecLocalDeviceAudioSystemTest.java34 import android.hardware.hdmi.HdmiPortInfo;
83 private HdmiPortInfo[] mHdmiPortInfo;
151 mHdmiPortInfo = new HdmiPortInfo[4]; in setUp()
153 new HdmiPortInfo.Builder(0, HdmiPortInfo.PORT_INPUT, SELF_PHYSICAL_ADDRESS) in setUp()
159 new HdmiPortInfo.Builder(2, HdmiPortInfo.PORT_INPUT, HDMI_1_PHYSICAL_ADDRESS) in setUp()
165 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, HDMI_2_PHYSICAL_ADDRESS) in setUp()
171 new HdmiPortInfo.Builder(4, HdmiPortInfo.PORT_INPUT, HDMI_3_PHYSICAL_ADDRESS) in setUp()
DBaseAbsoluteVolumeBehaviorTest.java43 import android.hardware.hdmi.HdmiPortInfo;
181 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp()
183 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
DHdmiCecLocalDeviceTest.java44 import android.hardware.hdmi.HdmiPortInfo;
191 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in SetUp()
193 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in SetUp()
DHdmiControlServiceTest.java58 import android.hardware.hdmi.HdmiPortInfo;
107 private HdmiPortInfo[] mHdmiPortInfo;
153 mHdmiPortInfo = new HdmiPortInfo[5]; in setUp()
155 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_INPUT, 0x2100) in setUp()
162 new HdmiPortInfo.Builder(2, HdmiPortInfo.PORT_INPUT, 0x2200) in setUp()
169 new HdmiPortInfo.Builder(PORT_ID_EARC_SUPPORTED, HdmiPortInfo.PORT_INPUT, 0x2000) in setUp()
176 new HdmiPortInfo.Builder(4, HdmiPortInfo.PORT_OUTPUT, 0x3000) in setUp()
183 new HdmiPortInfo.Builder(5, HdmiPortInfo.PORT_OUTPUT, 0x3000) in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DPhoneMediaDevice.java39 import android.hardware.hdmi.HdmiPortInfo;
165 HdmiPortInfo hdmiOutputPortInfo = null; in getHdmiOutDeviceName()
166 for (HdmiPortInfo hdmiPortInfo : hdmiControlManager.getPortInfo()) { in getHdmiOutDeviceName()
167 if (hdmiPortInfo.getType() == HdmiPortInfo.PORT_OUTPUT) { in getHdmiOutDeviceName()

12