Home
last modified time | relevance | path

Searched refs:HdmiDeviceInfo (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java19 import android.hardware.hdmi.HdmiDeviceInfo;
33 HdmiDeviceInfo.DEVICE_TV, // ADDR_TV
34 HdmiDeviceInfo.DEVICE_RECORDER, // ADDR_RECORDER_1
35 HdmiDeviceInfo.DEVICE_RECORDER, // ADDR_RECORDER_2
36 HdmiDeviceInfo.DEVICE_TUNER, // ADDR_TUNER_1
37 HdmiDeviceInfo.DEVICE_PLAYBACK, // ADDR_PLAYBACK_1
38 HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM, // ADDR_AUDIO_SYSTEM
39 HdmiDeviceInfo.DEVICE_TUNER, // ADDR_TUNER_2
40 HdmiDeviceInfo.DEVICE_TUNER, // ADDR_TUNER_3
41 HdmiDeviceInfo.DEVICE_PLAYBACK, // ADDR_PLAYBACK_2
[all …]
DHdmiCecLocalDeviceTv.java34 import android.hardware.hdmi.HdmiDeviceInfo;
99 private List<HdmiDeviceInfo> mSafeAllDeviceInfos = Collections.emptyList();
102 private List<HdmiDeviceInfo> mSafeExternalInputs = Collections.emptyList();
107 private final SparseArray<HdmiDeviceInfo> mDeviceInfos = new SparseArray<>();
141 HdmiDeviceInfo info = tvInfo.getHdmiDeviceInfo();
181 super(service, HdmiDeviceInfo.DEVICE_TV); in HdmiCecLocalDeviceTv()
251 HdmiDeviceInfo targetDevice = mDeviceInfos.get(id); in deviceSelect()
355 HdmiDeviceInfo info = getCecDeviceInfo(activeSource.logicalAddress); in updateActiveInput()
361 info = new HdmiDeviceInfo(path, getActivePortId()); in updateActiveInput()
455 HdmiDeviceInfo info = getDeviceInfoByPath(getActivePath()); in findKeyReceiverAddress()
[all …]
DHdmiMhlLocalDeviceStub.java3 import android.hardware.hdmi.HdmiDeviceInfo;
11 private static final HdmiDeviceInfo INFO = new HdmiDeviceInfo(
24 HdmiDeviceInfo getInfo() { in getInfo()
DPowerStatusMonitorAction.java20 import android.hardware.hdmi.HdmiDeviceInfo;
107 private void resetPowerStatus(List<HdmiDeviceInfo> deviceInfos) { in resetPowerStatus()
109 for (HdmiDeviceInfo info : deviceInfos) { in resetPowerStatus()
115 List<HdmiDeviceInfo> deviceInfos = tv().getDeviceInfoList(false); in queryPowerStatus()
117 for (HdmiDeviceInfo info : deviceInfos) { in queryPowerStatus()
DConstants.java19 import android.hardware.hdmi.HdmiDeviceInfo;
83 public static final int ADDR_INTERNAL = HdmiDeviceInfo.ADDR_INTERNAL;
187 static final int INVALID_PORT_ID = HdmiDeviceInfo.PORT_INVALID;
188 static final int INVALID_PHYSICAL_ADDRESS = HdmiDeviceInfo.PATH_INVALID;
189 static final int PATH_INTERNAL = HdmiDeviceInfo.PATH_INTERNAL;
DHotplugDetectionAction.java19 import android.hardware.hdmi.HdmiDeviceInfo;
159 HdmiDeviceInfo avr = tv().getAvrDeviceInfo(); in checkHotplug()
186 private static BitSet infoListToBitSet(List<HdmiDeviceInfo> infoList, boolean audioOnly) { in infoListToBitSet()
188 for (HdmiDeviceInfo info : infoList) { in infoListToBitSet()
190 if (info.getDeviceType() == HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) { in infoListToBitSet()
232 HdmiDeviceInfo info = tv().getCecDeviceInfo(address); in mayChangeRoutingPath()
261 if (HdmiUtils.getTypeFromAddress(address) != HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) { in mayDisableSystemAudioAndARC()
DRequestArcAction.java19 import android.hardware.hdmi.HdmiDeviceInfo;
43 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in RequestArcAction()
44 HdmiUtils.verifyAddressType(avrAddress, HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in RequestArcAction()
DDeviceDiscoveryAction.java19 import android.hardware.hdmi.HdmiDeviceInfo;
64 void onDeviceDiscoveryDone(List<HdmiDeviceInfo> deviceInfos); in onDeviceDiscoveryDone()
76 private int mDeviceType = HdmiDeviceInfo.DEVICE_INACTIVE;
82 private HdmiDeviceInfo toHdmiDeviceInfo() { in toHdmiDeviceInfo()
83 return new HdmiDeviceInfo(mLogicalAddress, mPhysicalAddress, mPortId, mDeviceType, in toHdmiDeviceInfo()
323 ArrayList<HdmiDeviceInfo> result = new ArrayList<>();
325 HdmiDeviceInfo cecDeviceInfo = info.toHdmiDeviceInfo();
DHdmiControlService.java40 import android.hardware.hdmi.HdmiDeviceInfo;
256 private UnmodifiableSparseArray<HdmiDeviceInfo> mPortDeviceMap;
285 private List<HdmiDeviceInfo> mMhlDevices;
595 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress()
646 SparseArray<HdmiDeviceInfo> portDeviceMap = new SparseArray<>(); in initPortInfo()
650 portDeviceMap.put(info.getId(), new HdmiDeviceInfo(info.getAddress(), info.getId())); in initPortInfo()
758 HdmiDeviceInfo getDeviceInfo(int logicalAddress) { in getDeviceInfo()
764 HdmiDeviceInfo getDeviceInfoByPort(int port) { in getDeviceInfoByPort()
982 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo()
985 return new HdmiDeviceInfo(logicalAddress, in createDeviceInfo()
[all …]
DSetArcTransmissionStateAction.java19 import android.hardware.hdmi.HdmiDeviceInfo;
47 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in SetArcTransmissionStateAction()
48 HdmiUtils.verifyAddressType(avrAddress, HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in SetArcTransmissionStateAction()
DNewDeviceAction.java18 import android.hardware.hdmi.HdmiDeviceInfo;
175 HdmiDeviceInfo deviceInfo = new HdmiDeviceInfo( in addDeviceInfo()
185 == HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) { in addDeviceInfo()
DSystemAudioActionFromTv.java19 import android.hardware.hdmi.HdmiDeviceInfo;
40 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in SystemAudioActionFromTv()
DSystemAudioActionFromAvr.java19 import android.hardware.hdmi.HdmiDeviceInfo;
40 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in SystemAudioActionFromAvr()
DDeviceSelectAction.java19 import android.hardware.hdmi.HdmiDeviceInfo;
61 private final HdmiDeviceInfo mTarget;
75 HdmiDeviceInfo target, IHdmiControlCallback callback) { in DeviceSelectAction()
DActiveSourceHandler.java21 import android.hardware.hdmi.HdmiDeviceInfo;
65 HdmiDeviceInfo device = mService.getDeviceInfo(newActive.logicalAddress); in process()
DDelayedMessageBuffer.java19 import android.hardware.hdmi.HdmiDeviceInfo;
116 && !mDevice.isInputReady(HdmiDeviceInfo.idForCecDevice(address))) { in processMessagesForDevice()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java33 public class HdmiDeviceInfo implements Parcelable { class
84 public static final HdmiDeviceInfo INACTIVE_DEVICE = new HdmiDeviceInfo();
119 public static final Parcelable.Creator<HdmiDeviceInfo> CREATOR =
120 new Parcelable.Creator<HdmiDeviceInfo>() {
122 public HdmiDeviceInfo createFromParcel(Parcel source) {
134 return new HdmiDeviceInfo(logicalAddress, physicalAddress, portId,
139 return new HdmiDeviceInfo(physicalAddress, portId, adopterId, deviceId);
141 return new HdmiDeviceInfo(physicalAddress, portId);
143 return HdmiDeviceInfo.INACTIVE_DEVICE;
150 public HdmiDeviceInfo[] newArray(int size) {
[all …]
DHdmiControlManager.java272 mHasTvDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_TV); in HdmiControlManager()
273 mHasPlaybackDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiControlManager()
302 case HdmiDeviceInfo.DEVICE_TV: in getClient()
304 case HdmiDeviceInfo.DEVICE_PLAYBACK: in getClient()
322 return (HdmiPlaybackClient) getClient(HdmiDeviceInfo.DEVICE_PLAYBACK); in getPlaybackClient()
336 return (HdmiTvClient) getClient(HdmiDeviceInfo.DEVICE_TV); in getTvClient()
DIHdmiControlService.aidl19 import android.hardware.hdmi.HdmiDeviceInfo;
41 HdmiDeviceInfo getActiveSource(); in getActiveSource()
61 List<HdmiDeviceInfo> getInputDevices(); in getInputDevices()
62 List<HdmiDeviceInfo> getDeviceList(); in getDeviceList()
DIHdmiInputChangeListener.aidl19 import android.hardware.hdmi.HdmiDeviceInfo;
28 void onChanged(in HdmiDeviceInfo device); in onChanged()
DIHdmiDeviceEventListener.aidl19 import android.hardware.hdmi.HdmiDeviceInfo;
39 void onStatusChanged(in HdmiDeviceInfo deviceInfo, in int status); in onStatusChanged()
DHdmiTvClient.java58 return HdmiDeviceInfo.DEVICE_TV; in getDeviceType()
127 void onChanged(HdmiDeviceInfo info);
149 public void onChanged(HdmiDeviceInfo info) {
161 public List<HdmiDeviceInfo> getDeviceList() {
166 return Collections.<HdmiDeviceInfo>emptyList();
DHdmiPlaybackClient.java92 return HdmiDeviceInfo.DEVICE_PLAYBACK; in getDeviceType()
114 mService.sendStandby(getDeviceType(), HdmiDeviceInfo.idForCecDevice(ADDR_TV)); in sendStandby()
/frameworks/base/media/java/android/media/tv/
DITvInputService.aidl19 import android.hardware.hdmi.HdmiDeviceInfo;
38 void notifyHdmiDeviceAdded(in HdmiDeviceInfo deviceInfo); in notifyHdmiDeviceAdded()
39 void notifyHdmiDeviceRemoved(in HdmiDeviceInfo deviceInfo); in notifyHdmiDeviceRemoved()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java27 import android.hardware.hdmi.HdmiDeviceInfo;
83 private final List<HdmiDeviceInfo> mHdmiDeviceList = new LinkedList<>();
182 for (Iterator<HdmiDeviceInfo> it = mHdmiDeviceList.iterator(); it.hasNext();) { in onDeviceUnavailable()
183 HdmiDeviceInfo deviceInfo = it.next(); in onDeviceUnavailable()
245 public List<HdmiDeviceInfo> getHdmiDeviceList() { in getHdmiDeviceList()
488 HdmiDeviceInfo deviceInfo = (HdmiDeviceInfo) msg.obj; in processPendingHdmiDeviceEventsLocked()
1033 void onHdmiDeviceAdded(HdmiDeviceInfo device); in onHdmiDeviceAdded()
1034 void onHdmiDeviceRemoved(HdmiDeviceInfo device); in onHdmiDeviceRemoved()
1035 void onHdmiDeviceUpdated(String inputId, HdmiDeviceInfo device); in onHdmiDeviceUpdated()
1066 HdmiDeviceInfo info = (HdmiDeviceInfo) msg.obj; in handleMessage()
[all …]

12