/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/ |
D | HdmiPortInfoTest.java | 47 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/ |
D | HdmiPortInfo.java | 37 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 …]
|
D | HdmiPortInfo.aidl | 19 parcelable HdmiPortInfo;
|
D | HdmiSwitchClient.java | 192 public List<HdmiPortInfo> getPortInfo() { 197 return Collections.<HdmiPortInfo>emptyList();
|
D | HdmiControlServiceWrapper.java | 39 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()
|
D | IHdmiControlService.aidl | 20 import android.hardware.hdmi.HdmiPortInfo; 60 List<HdmiPortInfo> getPortInfo(); in getPortInfo()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiMhlControllerStub.java | 19 import android.hardware.hdmi.HdmiPortInfo; 33 private static final HdmiPortInfo[] EMPTY_PORT_INFO = new HdmiPortInfo[0]; 51 HdmiPortInfo[] getPortInfos() { in getPortInfos()
|
D | HdmiCecNetwork.java | 25 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 …]
|
D | HdmiCecController.java | 21 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 …]
|
D | HdmiCecLocalDeviceSource.java | 21 import android.hardware.hdmi.HdmiPortInfo; 95 HdmiPortInfo portInfo = mService.getPortInfo(portId); in onHotplug() 96 if (portInfo != null && portInfo.getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
|
D | HdmiCecLocalDeviceTv.java | 39 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/ |
D | FakeNativeWrapper.java | 19 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()
|
D | HdmiCecAtomLoggingTvTest.java | 37 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()
|
D | PowerStatusMonitorActionTest.java | 34 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()
|
D | SystemAudioAutoInitiationActionTest.java | 33 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()
|
D | HdmiCecPowerStatusControllerTest.java | 30 import android.hardware.hdmi.HdmiPortInfo; 109 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp() 111 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
|
D | HdmiCecNetworkTest.java | 28 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()
|
D | RoutingControlActionTest.java | 36 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()
|
D | HdmiCecAtomLoggingTest.java | 42 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()
|
D | DeviceSelectActionFromTvTest.java | 37 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()
|
D | HdmiCecLocalDeviceAudioSystemTest.java | 34 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()
|
D | BaseAbsoluteVolumeBehaviorTest.java | 43 import android.hardware.hdmi.HdmiPortInfo; 181 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in setUp() 183 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in setUp()
|
D | HdmiCecLocalDeviceTest.java | 44 import android.hardware.hdmi.HdmiPortInfo; 191 HdmiPortInfo[] hdmiPortInfos = new HdmiPortInfo[1]; in SetUp() 193 new HdmiPortInfo.Builder(1, HdmiPortInfo.PORT_OUTPUT, 0x0000) in SetUp()
|
D | HdmiControlServiceTest.java | 58 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/ |
D | PhoneMediaDevice.java | 39 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()
|