Home
last modified time | relevance | path

Searched refs:logicalAddress (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DPowerStatusMonitorAction.java100 int logicalAddress = mPowerStatus.keyAt(i); in handleTimeout() local
101 updatePowerStatus(logicalAddress, POWER_STATUS_UNKNOWN, false); in handleTimeout()
118 final int logicalAddress = info.getLogicalAddress(); in queryPowerStatus() local
120 logicalAddress), in queryPowerStatus() local
127 updatePowerStatus(logicalAddress, POWER_STATUS_UNKNOWN, true); in queryPowerStatus()
140 private void updatePowerStatus(int logicalAddress, int newStatus, boolean remove) { in updatePowerStatus() argument
141 tv().updateDevicePowerStatus(logicalAddress, newStatus); in updatePowerStatus()
144 mPowerStatus.delete(logicalAddress); in updatePowerStatus()
DHdmiCecLocalDevice.java64 int logicalAddress; field in HdmiCecLocalDevice.ActiveSource
71 logicalAddress = logical; in ActiveSource()
75 return new ActiveSource(source.logicalAddress, source.physicalAddress); in of()
81 return HdmiUtils.isValidAddress(logicalAddress); in isValid()
84 logicalAddress = Constants.ADDR_INVALID; in invalidate()
88 return logicalAddress == logical && physicalAddress == physical; in equals()
94 return that.logicalAddress == logicalAddress && in equals()
101 return logicalAddress * 29 + physicalAddress; in hashCode()
106 String logicalAddressString = (logicalAddress == Constants.ADDR_INVALID) in toString()
107 ? "invalid" : String.format("0x%02x", logicalAddress); in toString()
[all …]
DHdmiCecLocalDeviceTv.java194 protected void onAddressAllocated(int logicalAddress, int reason) { in onAddressAllocated() argument
277 && targetAddress == active.logicalAddress) { in deviceSelect()
302 if (mService.isControlEnabled() && mActiveSource.logicalAddress != mAddress) { in handleSelectInternalSource()
315 void updateActiveSource(int logicalAddress, int physicalAddress) { in updateActiveSource() argument
317 updateActiveSource(ActiveSource.of(logicalAddress, physicalAddress)); in updateActiveSource()
328 int logicalAddress = newActive.logicalAddress; in updateActiveSource() local
329 if (getCecDeviceInfo(logicalAddress) != null && logicalAddress != mAddress) { in updateActiveSource()
372 HdmiDeviceInfo info = getCecDeviceInfo(activeSource.logicalAddress); in updateActiveInput()
450 int logicalAddress = findKeyReceiverAddress(); in sendKeyEvent() local
451 if (logicalAddress == mAddress) { in sendKeyEvent()
[all …]
DActiveSourceHandler.java65 HdmiDeviceInfo device = mService.getDeviceInfo(newActive.logicalAddress); in process()
84 if (current.logicalAddress == getSourceAddress()) { in process()
86 current.logicalAddress, current.physicalAddress); in process()
DHdmiCecController.java65 void onAllocated(int deviceType, int logicalAddress); in onAllocated() argument
185 int logicalAddress = Constants.ADDR_UNREGISTERED; in handleAllocateLogicalAddress() local
200 logicalAddress = curAddress; in handleAllocateLogicalAddress()
206 final int assignedAddress = logicalAddress; in handleAllocateLogicalAddress()
630 private static native int nativeAddLogicalAddress(long controllerPtr, int logicalAddress); in nativeAddLogicalAddress() argument
DHdmiUtils.java119 static void verifyAddressType(int logicalAddress, int deviceType) { in verifyAddressType() argument
120 int actualDeviceType = getTypeFromAddress(logicalAddress); in verifyAddressType()
DDeviceDiscoveryAction.java78 private DeviceInfo(int logicalAddress) { in DeviceInfo() argument
79 mLogicalAddress = logicalAddress; in DeviceInfo()
DHdmiControlService.java602 public void onAllocated(int deviceType, int logicalAddress) { in allocateLogicalAddress() argument
603 if (logicalAddress == Constants.ADDR_UNREGISTERED) { in allocateLogicalAddress()
608 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress()
612 mCecController.addLogicalAddress(logicalAddress); in allocateLogicalAddress()
778 HdmiDeviceInfo getDeviceInfo(int logicalAddress) { in getDeviceInfo() argument
780 return tv() == null ? null : tv().getCecDeviceInfo(logicalAddress); in getDeviceInfo()
1002 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo() argument
1005 return new HdmiDeviceInfo(logicalAddress, in createDeviceInfo()
1229 return new HdmiDeviceInfo(activeSource.logicalAddress, in getActiveSource()
DNewDeviceAction.java214 return (mDeviceLogicalAddress == activeSource.logicalAddress) in isActionOf()
DHdmiCecLocalDevicePlayback.java77 protected void onAddressAllocated(int logicalAddress, int reason) { in onAddressAllocated() argument
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java129 int logicalAddress = source.readInt();
134 return new HdmiDeviceInfo(logicalAddress, physicalAddress, portId,
167 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
173 mId = idForCecDevice(logicalAddress); in HdmiDeviceInfo()
174 mLogicalAddress = logicalAddress; in HdmiDeviceInfo()
195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
197 this(logicalAddress, physicalAddress, portId, deviceType, in HdmiDeviceInfo()
DIHdmiVendorCommandListener.aidl26 void onReceived(int logicalAddress, int destAddress, in byte[] operands, boolean hasVendorId); in onReceived() argument
DHdmiTvClient.java80 public void deviceSelect(int logicalAddress, @NonNull SelectCallback callback) { in deviceSelect() argument
85 mService.deviceSelect(logicalAddress, getCallbackWrapper(callback)); in deviceSelect()
/frameworks/base/services/core/jni/
Dcom_android_server_hdmi_HdmiCecController.cpp341 jint logicalAddress) { in nativeAddLogicalAddress() argument
343 return controller->addLogicalAddress(static_cast<cec_logical_address_t>(logicalAddress)); in nativeAddLogicalAddress()