/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiUtils.java | 19 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 …]
|
D | HdmiCecLocalDeviceTv.java | 34 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 …]
|
D | HdmiMhlLocalDeviceStub.java | 3 import android.hardware.hdmi.HdmiDeviceInfo; 11 private static final HdmiDeviceInfo INFO = new HdmiDeviceInfo( 24 HdmiDeviceInfo getInfo() { in getInfo()
|
D | PowerStatusMonitorAction.java | 20 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()
|
D | Constants.java | 19 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;
|
D | HotplugDetectionAction.java | 19 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()
|
D | RequestArcAction.java | 19 import android.hardware.hdmi.HdmiDeviceInfo; 43 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in RequestArcAction() 44 HdmiUtils.verifyAddressType(avrAddress, HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in RequestArcAction()
|
D | DeviceDiscoveryAction.java | 19 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();
|
D | HdmiControlService.java | 40 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 …]
|
D | SetArcTransmissionStateAction.java | 19 import android.hardware.hdmi.HdmiDeviceInfo; 47 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in SetArcTransmissionStateAction() 48 HdmiUtils.verifyAddressType(avrAddress, HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in SetArcTransmissionStateAction()
|
D | NewDeviceAction.java | 18 import android.hardware.hdmi.HdmiDeviceInfo; 175 HdmiDeviceInfo deviceInfo = new HdmiDeviceInfo( in addDeviceInfo() 185 == HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) { in addDeviceInfo()
|
D | SystemAudioActionFromTv.java | 19 import android.hardware.hdmi.HdmiDeviceInfo; 40 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in SystemAudioActionFromTv()
|
D | SystemAudioActionFromAvr.java | 19 import android.hardware.hdmi.HdmiDeviceInfo; 40 HdmiUtils.verifyAddressType(getSourceAddress(), HdmiDeviceInfo.DEVICE_TV); in SystemAudioActionFromAvr()
|
D | DeviceSelectAction.java | 19 import android.hardware.hdmi.HdmiDeviceInfo; 61 private final HdmiDeviceInfo mTarget; 75 HdmiDeviceInfo target, IHdmiControlCallback callback) { in DeviceSelectAction()
|
D | ActiveSourceHandler.java | 21 import android.hardware.hdmi.HdmiDeviceInfo; 65 HdmiDeviceInfo device = mService.getDeviceInfo(newActive.logicalAddress); in process()
|
D | DelayedMessageBuffer.java | 19 import android.hardware.hdmi.HdmiDeviceInfo; 116 && !mDevice.isInputReady(HdmiDeviceInfo.idForCecDevice(address))) { in processMessagesForDevice()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiDeviceInfo.java | 33 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 …]
|
D | HdmiControlManager.java | 272 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()
|
D | IHdmiControlService.aidl | 19 import android.hardware.hdmi.HdmiDeviceInfo; 41 HdmiDeviceInfo getActiveSource(); in getActiveSource() 61 List<HdmiDeviceInfo> getInputDevices(); in getInputDevices() 62 List<HdmiDeviceInfo> getDeviceList(); in getDeviceList()
|
D | IHdmiInputChangeListener.aidl | 19 import android.hardware.hdmi.HdmiDeviceInfo; 28 void onChanged(in HdmiDeviceInfo device); in onChanged()
|
D | IHdmiDeviceEventListener.aidl | 19 import android.hardware.hdmi.HdmiDeviceInfo; 39 void onStatusChanged(in HdmiDeviceInfo deviceInfo, in int status); in onStatusChanged()
|
D | HdmiTvClient.java | 58 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();
|
D | HdmiPlaybackClient.java | 92 return HdmiDeviceInfo.DEVICE_PLAYBACK; in getDeviceType() 114 mService.sendStandby(getDeviceType(), HdmiDeviceInfo.idForCecDevice(ADDR_TV)); in sendStandby()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputService.aidl | 19 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/ |
D | TvInputHardwareManager.java | 27 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 …]
|