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.java191 protected void onAddressAllocated(int logicalAddress, int reason) { in onAddressAllocated() argument
260 && targetAddress == active.logicalAddress) { in deviceSelect()
285 if (mService.isControlEnabled() && mActiveSource.logicalAddress != mAddress) { in handleSelectInternalSource()
298 void updateActiveSource(int logicalAddress, int physicalAddress) { in updateActiveSource() argument
300 updateActiveSource(ActiveSource.of(logicalAddress, physicalAddress)); in updateActiveSource()
311 int logicalAddress = newActive.logicalAddress; in updateActiveSource() local
312 if (getCecDeviceInfo(logicalAddress) != null && logicalAddress != mAddress) { in updateActiveSource()
355 HdmiDeviceInfo info = getCecDeviceInfo(activeSource.logicalAddress); in updateActiveInput()
433 int logicalAddress = findKeyReceiverAddress(); in sendKeyEvent() local
434 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.java589 public void onAllocated(int deviceType, int logicalAddress) { in allocateLogicalAddress() argument
590 if (logicalAddress == Constants.ADDR_UNREGISTERED) { in allocateLogicalAddress()
595 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress()
599 mCecController.addLogicalAddress(logicalAddress); in allocateLogicalAddress()
758 HdmiDeviceInfo getDeviceInfo(int logicalAddress) { in getDeviceInfo() argument
760 return tv() == null ? null : tv().getCecDeviceInfo(logicalAddress); in getDeviceInfo()
982 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo() argument
985 return new HdmiDeviceInfo(logicalAddress, in createDeviceInfo()
1207 return new HdmiDeviceInfo(activeSource.logicalAddress, in getActiveSource()
DNewDeviceAction.java214 return (mDeviceLogicalAddress == activeSource.logicalAddress) in isActionOf()
DHdmiCecLocalDevicePlayback.java72 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()