Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiPortInfo.java33 public final class HdmiPortInfo implements Parcelable { class
57 public HdmiPortInfo(int id, int type, int address, boolean cec, boolean mhl, boolean arc) { in HdmiPortInfo() method in HdmiPortInfo
133 public static final @android.annotation.NonNull Parcelable.Creator<HdmiPortInfo> CREATOR =
134 new Parcelable.Creator<HdmiPortInfo>() {
136 public HdmiPortInfo createFromParcel(Parcel source) {
143 return new HdmiPortInfo(id, type, address, cec, mhl, arc);
147 public HdmiPortInfo[] newArray(int size) {
148 return new HdmiPortInfo[size];
186 if (!(o instanceof HdmiPortInfo)) { in equals()
189 final HdmiPortInfo other = (HdmiPortInfo) o; in equals()
DHdmiControlServiceWrapper.java38 private List<HdmiPortInfo> mInfoList = null;
120 public List<HdmiPortInfo> getPortInfo() {
299 public void setPortInfo(@NonNull List<HdmiPortInfo> infoList) { in setPortInfo()
309 public List<HdmiPortInfo> getPortInfo() { in getPortInfo()
DIHdmiControlService.aidl20 import android.hardware.hdmi.HdmiPortInfo;
57 List<HdmiPortInfo> getPortInfo(); in getPortInfo()
DHdmiPortInfo.aidl19 parcelable HdmiPortInfo;
DHdmiSwitchClient.java194 public List<HdmiPortInfo> getPortInfo() {
199 return Collections.<HdmiPortInfo>emptyList();
DHdmiControlManager.java361 List<HdmiPortInfo> ports = new ArrayList<>(); in onReceived()
373 for (HdmiPortInfo port : ports) { in onReceived()
375 if (port.getType() == HdmiPortInfo.PORT_OUTPUT) { in onReceived()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakeNativeWrapper.java18 import android.hardware.hdmi.HdmiPortInfo;
52 private HdmiPortInfo[] mHdmiPortInfo = null;
97 public HdmiPortInfo[] nativeGetPortInfos() { in nativeGetPortInfos()
99 mHdmiPortInfo = new HdmiPortInfo[1]; in nativeGetPortInfos()
100 mHdmiPortInfo[0] = new HdmiPortInfo(1, 1, 0x1000, true, true, true); in nativeGetPortInfos()
141 protected void setPortInfo(HdmiPortInfo[] hdmiPortInfo) { in setPortInfo()
142 mHdmiPortInfo = new HdmiPortInfo[hdmiPortInfo.length]; in setPortInfo()
DHdmiControlServiceTest.java35 import android.hardware.hdmi.HdmiPortInfo;
125 private HdmiPortInfo[] mHdmiPortInfo;
166 mHdmiPortInfo = new HdmiPortInfo[4]; in setUp()
168 new HdmiPortInfo(1, HdmiPortInfo.PORT_INPUT, 0x2100, true, false, false); in setUp()
170 new HdmiPortInfo(2, HdmiPortInfo.PORT_INPUT, 0x2200, true, false, false); in setUp()
172 new HdmiPortInfo(3, HdmiPortInfo.PORT_INPUT, 0x2000, true, false, false); in setUp()
174 new HdmiPortInfo(4, HdmiPortInfo.PORT_INPUT, 0x3000, true, false, false); in setUp()
DHdmiControlServiceBinderAPITest.java24 import android.hardware.hdmi.HdmiPortInfo;
108 private HdmiPortInfo[] mHdmiPortInfo;
168 mHdmiPortInfo = new HdmiPortInfo[1]; in SetUp()
170 new HdmiPortInfo(1, HdmiPortInfo.PORT_INPUT, 0x2100, true, false, false); in SetUp()
DHdmiCecLocalDeviceAudioSystemTest.java34 import android.hardware.hdmi.HdmiPortInfo;
80 private HdmiPortInfo[] mHdmiPortInfo;
200 mHdmiPortInfo = new HdmiPortInfo[4]; in setUp()
202 new HdmiPortInfo( in setUp()
203 0, HdmiPortInfo.PORT_INPUT, SELF_PHYSICAL_ADDRESS, true, false, false); in setUp()
205 new HdmiPortInfo( in setUp()
206 2, HdmiPortInfo.PORT_INPUT, HDMI_1_PHYSICAL_ADDRESS, true, false, false); in setUp()
208 new HdmiPortInfo( in setUp()
209 1, HdmiPortInfo.PORT_INPUT, HDMI_2_PHYSICAL_ADDRESS, true, false, false); in setUp()
211 new HdmiPortInfo( in setUp()
[all …]
/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()
DHdmiCecController.java19 import android.hardware.hdmi.HdmiPortInfo;
269 HdmiPortInfo[] getPortInfos() { in getPortInfos()
727 HdmiPortInfo[] nativeGetPortInfos(); in nativeGetPortInfos()
742 private static native HdmiPortInfo[] nativeGetPortInfos(long controllerPtr); in nativeGetPortInfos()
852 public HdmiPortInfo[] nativeGetPortInfos() { in nativeGetPortInfos()
854 ArrayList<android.hardware.tv.cec.V1_0.HdmiPortInfo> hdmiPortInfos = in nativeGetPortInfos()
856 HdmiPortInfo[] hdmiPortInfo = new HdmiPortInfo[hdmiPortInfos.size()]; in nativeGetPortInfos()
858 for (android.hardware.tv.cec.V1_0.HdmiPortInfo portInfo : hdmiPortInfos) { in nativeGetPortInfos()
859 hdmiPortInfo[i] = new HdmiPortInfo(portInfo.portId, in nativeGetPortInfos()
DHdmiControlService.java42 import android.hardware.hdmi.HdmiPortInfo;
339 private List<HdmiPortInfo> mPortInfo = null;
345 private UnmodifiableSparseArray<HdmiPortInfo> mPortInfoMap;
890 HdmiPortInfo[] cecPortInfo = null; in initPortInfo()
905 SparseArray<HdmiPortInfo> portInfoMap = new SparseArray<>(); in initPortInfo()
908 for (HdmiPortInfo info : cecPortInfo) { in initPortInfo()
920 HdmiPortInfo[] mhlPortInfo = mMhlController.getPortInfos(); in initPortInfo()
922 for (HdmiPortInfo info : mhlPortInfo) { in initPortInfo()
934 ArrayList<HdmiPortInfo> result = new ArrayList<>(cecPortInfo.length); in initPortInfo()
935 for (HdmiPortInfo info : cecPortInfo) { in initPortInfo()
[all …]
DHdmiCecLocalDeviceSource.java22 import android.hardware.hdmi.HdmiPortInfo;
81 if (mService.getPortInfo(portId).getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
DHdmiCecLocalDeviceTv.java35 import android.hardware.hdmi.HdmiPortInfo;
199 List<HdmiPortInfo> ports = mService.getPortInfo(); in onAddressAllocated()
200 for (HdmiPortInfo port : ports) { in onAddressAllocated()
DHdmiCecLocalDeviceAudioSystem.java27 import android.hardware.hdmi.HdmiPortInfo;
327 if (mService.getPortInfo(portId).getType() == HdmiPortInfo.PORT_OUTPUT) { in onHotplug()
/frameworks/base/services/core/jni/
Dcom_android_server_hdmi_HdmiCecController.cpp37 using ::android::hardware::tv::cec::V1_0::HdmiPortInfo;
266 hidl_vec<HdmiPortInfo> ports; in getPortInfos()
267 Return<void> ret = mHdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { in getPortInfos()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java219 public List<HdmiPortInfo> getPortInfo() { in getPortInfo()
/frameworks/base/api/
Dtest-current.txt1400 …@BinderThread public void setPortInfo(@NonNull java.util.List<android.hardware.hdmi.HdmiPortInfo>);
1404 public final class HdmiPortInfo implements android.os.Parcelable {
1405 ctor public HdmiPortInfo(int, int, int, boolean, boolean, boolean);
1413 …Null public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR;
1420 method @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo();
Dsystem-current.txt2691 public final class HdmiPortInfo implements android.os.Parcelable {
2692 ctor public HdmiPortInfo(int, int, int, boolean, boolean, boolean);
2701 …Null public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR;
2750 method @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo();
/frameworks/base/non-updatable-api/
Dsystem-current.txt2639 public final class HdmiPortInfo implements android.os.Parcelable {
2640 ctor public HdmiPortInfo(int, int, int, boolean, boolean, boolean);
2649 …Null public static final android.os.Parcelable.Creator<android.hardware.hdmi.HdmiPortInfo> CREATOR;
2698 method @NonNull public java.util.List<android.hardware.hdmi.HdmiPortInfo> getPortInfo();