/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | PowerStatusMonitorAction.java | 99 int logicalAddress = mPowerStatus.keyAt(i); in handleTimeout() local 100 updatePowerStatus(logicalAddress, POWER_STATUS_UNKNOWN, false); in handleTimeout() 117 final int logicalAddress = info.getLogicalAddress(); in queryPowerStatus() local 119 logicalAddress), in queryPowerStatus() local 126 updatePowerStatus(logicalAddress, POWER_STATUS_UNKNOWN, true); in queryPowerStatus() 139 private void updatePowerStatus(int logicalAddress, int newStatus, boolean remove) { in updatePowerStatus() argument 140 tv().updateDevicePowerStatus(logicalAddress, newStatus); in updatePowerStatus() 143 mPowerStatus.delete(logicalAddress); in updatePowerStatus()
|
D | HdmiCecLocalDevice.java | 70 int logicalAddress; field in HdmiCecLocalDevice.ActiveSource 78 logicalAddress = logical; in ActiveSource() 83 return new ActiveSource(source.logicalAddress, source.physicalAddress); in of() 91 return HdmiUtils.isValidAddress(logicalAddress); in isValid() 95 logicalAddress = Constants.ADDR_INVALID; in invalidate() 100 return logicalAddress == logical && physicalAddress == physical; in equals() 107 return that.logicalAddress == logicalAddress in equals() 115 return logicalAddress * 29 + physicalAddress; in hashCode() 122 (logicalAddress == Constants.ADDR_INVALID) in toString() 124 : String.format("0x%02x", logicalAddress); in toString() [all …]
|
D | HdmiCecLocalDeviceTv.java | 197 protected void onAddressAllocated(int logicalAddress, int reason) { in onAddressAllocated() argument 283 && targetAddress == active.logicalAddress) { in deviceSelect() 308 if (mService.isControlEnabled() && getActiveSource().logicalAddress != mAddress) { in handleSelectInternalSource() 321 void updateActiveSource(int logicalAddress, int physicalAddress) { in updateActiveSource() argument 323 updateActiveSource(ActiveSource.of(logicalAddress, physicalAddress)); in updateActiveSource() 334 int logicalAddress = newActive.logicalAddress; in updateActiveSource() local 335 if (getCecDeviceInfo(logicalAddress) != null && logicalAddress != mAddress) { in updateActiveSource() 374 HdmiDeviceInfo info = getCecDeviceInfo(activeSource.logicalAddress); in updateActiveInput() 440 return getActiveSource().logicalAddress; in findKeyReceiverAddress() 453 int logicalAddress = message.getSource(); in handleActiveSource() local [all …]
|
D | ActiveSourceHandler.java | 65 HdmiDeviceInfo device = mService.getDeviceInfo(newActive.logicalAddress); in process() 84 if (current.logicalAddress == getSourceAddress()) { in process() 86 current.logicalAddress, current.physicalAddress); in process()
|
D | HdmiCecLocalDeviceSource.java | 119 int logicalAddress = message.getSource(); in handleActiveSource() local 121 ActiveSource activeSource = ActiveSource.of(logicalAddress, physicalAddress); in handleActiveSource() 126 updateDevicePowerStatus(logicalAddress, HdmiControlManager.POWER_STATUS_ON); in handleActiveSource() 208 protected void updateDevicePowerStatus(int logicalAddress, int newPowerStatus) { in updateDevicePowerStatus() argument
|
D | HdmiCecController.java | 78 void onAllocated(int deviceType, int logicalAddress); in onAllocated() argument 215 int logicalAddress = Constants.ADDR_UNREGISTERED; in handleAllocateLogicalAddress() local 231 logicalAddress = curAddress; in handleAllocateLogicalAddress() 237 final int assignedAddress = logicalAddress; in handleAllocateLogicalAddress() 698 int nativeAddLogicalAddress(int logicalAddress); in nativeAddLogicalAddress() argument 763 public int nativeAddLogicalAddress(int logicalAddress) { in nativeAddLogicalAddress() argument 765 return mHdmiCec.addLogicalAddress(logicalAddress); in nativeAddLogicalAddress()
|
D | HdmiControlService.java | 745 public void onAllocated(int deviceType, int logicalAddress) { in allocateLogicalAddress() argument 746 if (logicalAddress == Constants.ADDR_UNREGISTERED) { in allocateLogicalAddress() 751 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress() 755 mCecController.addLogicalAddress(logicalAddress); in allocateLogicalAddress() 961 HdmiDeviceInfo getDeviceInfo(int logicalAddress) { in getDeviceInfo() argument 963 return tv() == null ? null : tv().getCecDeviceInfo(logicalAddress); in getDeviceInfo() 1198 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo() argument 1200 return new HdmiDeviceInfo(logicalAddress, in createDeviceInfo() 1488 if (info.getLogicalAddress() == activeSource.logicalAddress) { in getActiveSource() 1495 return new HdmiDeviceInfo(activeSource.logicalAddress, in getActiveSource() [all …]
|
D | HdmiCecLocalDeviceAudioSystem.java | 271 HdmiDeviceInfo getCecDeviceInfo(int logicalAddress) { in getCecDeviceInfo() argument 273 return mDeviceInfos.get(HdmiDeviceInfo.idForCecDevice(logicalAddress)); in getCecDeviceInfo() 344 protected void onAddressAllocated(int logicalAddress, int reason) { in onAddressAllocated() argument 371 return getActiveSource().logicalAddress; in findKeyReceiverAddress() 1227 protected void updateDevicePowerStatus(int logicalAddress, int newPowerStatus) { in updateDevicePowerStatus() argument 1228 HdmiDeviceInfo info = getCecDeviceInfo(logicalAddress); in updateDevicePowerStatus() 1230 Slog.w(TAG, "Can not update power status of non-existing device:" + logicalAddress); in updateDevicePowerStatus()
|
D | DeviceDiscoveryAction.java | 84 private DeviceInfo(int logicalAddress) { in DeviceInfo() argument 85 mLogicalAddress = logicalAddress; in DeviceInfo()
|
D | NewDeviceAction.java | 214 return (mDeviceLogicalAddress == activeSource.logicalAddress) in isActionOf()
|
D | HdmiUtils.java | 141 static void verifyAddressType(int logicalAddress, int deviceType) { in verifyAddressType() argument 142 int actualDeviceType = getTypeFromAddress(logicalAddress); in verifyAddressType()
|
D | HdmiCecLocalDevicePlayback.java | 80 protected void onAddressAllocated(int logicalAddress, int reason) { in onAddressAllocated() argument
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiDeviceInfo.java | 131 int logicalAddress = source.readInt(); 136 return new HdmiDeviceInfo(logicalAddress, physicalAddress, portId, 169 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument 175 mId = idForCecDevice(logicalAddress); in HdmiDeviceInfo() 176 mLogicalAddress = logicalAddress; in HdmiDeviceInfo() 197 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument 199 this(logicalAddress, physicalAddress, portId, deviceType, in HdmiDeviceInfo()
|
D | HdmiSwitchClient.java | 72 public void selectDevice(int logicalAddress, @NonNull OnSelectListener listener) { 75 mService.deviceSelect(logicalAddress, getCallbackWrapper(listener)); 114 int logicalAddress, 119 mService.deviceSelect(logicalAddress,
|
D | IHdmiControlService.aidl | 68 void powerOffRemoteDevice(int logicalAddress, int powerStatus); in powerOffRemoteDevice() argument 69 void powerOnRemoteDevice(int logicalAddress, int powerStatus); in powerOnRemoteDevice() argument
|
D | IHdmiVendorCommandListener.aidl | 26 void onReceived(int logicalAddress, int destAddress, in byte[] operands, boolean hasVendorId); in onReceived() argument
|
D | HdmiTvClient.java | 81 public void deviceSelect(int logicalAddress, @NonNull SelectCallback callback) { in deviceSelect() argument 86 mService.deviceSelect(logicalAddress, getCallbackWrapper(callback)); in deviceSelect()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | FakeNativeWrapper.java | 74 public int nativeAddLogicalAddress(int logicalAddress) { in nativeAddLogicalAddress() argument 131 public void setPollAddressResponse(int logicalAddress, int response) { in setPollAddressResponse() argument 132 mPollAddressResponse[logicalAddress] = response; in setPollAddressResponse()
|
D | HdmiCecControllerTest.java | 77 public void onAllocated(int deviceType, int logicalAddress) { 78 mLogicalAddress = logicalAddress;
|
D | HdmiCecLocalDeviceTest.java | 71 protected void onAddressAllocated(int logicalAddress, int reason) {} in onAddressAllocated() argument
|
D | HdmiControlServiceTest.java | 60 protected void onAddressAllocated(int logicalAddress, int reason) {} in onAddressAllocated() argument
|
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/ |
D | HdmiAudioSystemClientTest.java | 347 public void powerOffRemoteDevice(int logicalAddress, int powerStatus) { in powerOffRemoteDevice() argument 351 public void powerOnRemoteDevice(int logicalAddress, int powerStatus) { in powerOnRemoteDevice() argument
|