Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java125 int portId = source.readInt();
134 return new HdmiDeviceInfo(logicalAddress, physicalAddress, portId,
139 return new HdmiDeviceInfo(physicalAddress, portId, adopterId, deviceId);
141 return new HdmiDeviceInfo(physicalAddress, portId);
167 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
171 mPortId = portId; in HdmiDeviceInfo()
195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
197 this(logicalAddress, physicalAddress, portId, deviceType, in HdmiDeviceInfo()
208 public HdmiDeviceInfo(int physicalAddress, int portId) { in HdmiDeviceInfo() argument
211 mPortId = portId; in HdmiDeviceInfo()
[all …]
DHdmiTvClient.java107 public void portSelect(int portId, @NonNull SelectCallback callback) {
112 mService.portSelect(portId, getCallbackWrapper(callback));
384 void onReceived(int portId, int offset, int length, byte[] data);
407 public void onReceived(int portId, int offset, int length, byte[] data) {
408 listener.onReceived(portId, offset, length, data);
422 public void sendMhlVendorCommand(int portId, int offset, int length, byte[] data) {
434 mService.sendMhlVendorCommand(portId, offset, length, data);
DIHdmiControlService.aidl48 void portSelect(int portId, IHdmiControlCallback callback); in portSelect() argument
72 void sendMhlVendorCommand(int portId, int offset, int length, in byte[] data); in sendMhlVendorCommand() argument
DIHdmiMhlVendorCommandListener.aidl25 void onReceived(int portId, int offset, int length, in byte[] data); in onReceived() argument
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java150 public UsbPortStatus getPortStatus(String portId) { in getPortStatus() argument
152 final PortInfo portInfo = mPorts.get(portId); in getPortStatus()
157 public void setPortRoles(String portId, int newPowerRole, int newDataRole, in setPortRoles() argument
160 final PortInfo portInfo = mPorts.get(portId); in setPortRoles()
163 pw.println("No such USB port: " + portId); in setPortRoles()
171 + "role combination: portId=" + portId in setPortRoles()
218 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId in setPortRoles()
226 SimulatedPortInfo sim = mSimulatedPorts.get(portId); in setPortRoles()
234 final File portDir = new File(SYSFS_CLASS, portId); in setPortRoles()
236 logAndPrint(Log.ERROR, pw, "USB port not found: portId=" + portId); in setPortRoles()
[all …]
DUsbService.java359 public UsbPortStatus getPortStatus(String portId) { in getPortStatus() argument
360 Preconditions.checkNotNull(portId, "portId must not be null"); in getPortStatus()
365 return mPortManager != null ? mPortManager.getPortStatus(portId) : null; in getPortStatus()
372 public void setPortRoles(String portId, int powerRole, int dataRole) { in setPortRoles() argument
373 Preconditions.checkNotNull(portId, "portId must not be null"); in setPortRoles()
380 mPortManager.setPortRoles(portId, powerRole, dataRole, null); in setPortRoles()
419 final String portId = args[1]; in dump() local
451 mPortManager.setPortRoles(portId, powerRole, dataRole, pw); in dump()
461 final String portId = args[1]; in dump() local
481 mPortManager.addSimulatedPort(portId, supportedModes, pw); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlControllerStub.java60 HdmiMhlLocalDeviceStub getLocalDevice(int portId) { in getLocalDevice() argument
82 HdmiMhlLocalDeviceStub removeLocalDevice(int portId) { in removeLocalDevice() argument
98 void sendVendorCommand(int portId, int offset, int length, byte[] data) { in sendVendorCommand() argument
110 int getMhlVersion(int portId) { in getMhlVersion() argument
119 int getPeerMhlVersion(int portId) { in getPeerMhlVersion() argument
127 int getSupportedFeatures(int portId) { in getSupportedFeatures() argument
135 int getEcbusDeviceRoles(int portId) { in getEcbusDeviceRoles() argument
DHdmiControlService.java712 HdmiPortInfo getPortInfo(int portId) { in getPortInfo() argument
713 return mPortInfoMap.get(portId, null); in getPortInfo()
720 int portIdToPath(int portId) { in portIdToPath() argument
721 HdmiPortInfo portInfo = getPortInfo(portId); in portIdToPath()
723 Slog.e(TAG, "Cannot find the port info: " + portId); in portIdToPath()
740 boolean isValidPortId(int portId) { in isValidPortId() argument
741 return getPortInfo(portId) != null; in isValidPortId()
804 int portId = pathToPortId(physicalAddress); in isConnectedToArcPort() local
805 if (portId != Constants.INVALID_PORT_ID) { in isConnectedToArcPort()
806 return mPortInfoMap.get(portId).isArcSupported(); in isConnectedToArcPort()
[all …]
DHdmiCecLocalDeviceTv.java357 void setPrevPortId(int portId) { in setPrevPortId() argument
359 mPrevPortId = portId; in setPrevPortId()
386 void doManualPortSwitching(int portId, IHdmiControlCallback callback) { in doManualPortSwitching() argument
389 if (!mService.isValidPortId(portId)) { in doManualPortSwitching()
393 if (portId == getActivePortId()) { in doManualPortSwitching()
399 setActivePortId(portId); in doManualPortSwitching()
410 int newPath = mService.portIdToPath(portId); in doManualPortSwitching()
527 int portId = getPrevPortId(); in handleInactiveSource() local
528 if (portId != Constants.INVALID_PORT_ID) { in handleInactiveSource()
535 if (mService.pathToPortId(inactiveSource.getPhysicalAddress()) == portId) { in handleInactiveSource()
[all …]
DHdmiMhlLocalDeviceStub.java16 protected HdmiMhlLocalDeviceStub(HdmiControlService service, int portId) { in HdmiMhlLocalDeviceStub() argument
18 mPortId = portId; in HdmiMhlLocalDeviceStub()
DHdmiCecMessageValidator.java270 int portId = mService.pathToPortId(path); in isValidPhysicalAddress() local
271 if (portId == Constants.INVALID_PORT_ID) { in isValidPhysicalAddress()
DHdmiCecLocalDevice.java759 void onHotplug(int portId, boolean connected) { in onHotplug() argument
822 void setActivePortId(int portId) { in setActivePortId() argument
825 setActivePath(mService.portIdToPath(portId)); in setActivePortId()
DHdmiCecLocalDevicePlayback.java152 void onHotplug(int portId, boolean connected) { in onHotplug() argument
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl115 UsbPortStatus getPortStatus(in String portId); in getPortStatus() argument
118 void setPortRoles(in String portId, int powerRole, int dataRole); in setPortRoles() argument