/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiDeviceInfo.java | 125 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 …]
|
D | HdmiTvClient.java | 107 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);
|
D | IHdmiControlService.aidl | 48 void portSelect(int portId, IHdmiControlCallback callback); in portSelect() argument 72 void sendMhlVendorCommand(int portId, int offset, int length, in byte[] data); in sendMhlVendorCommand() argument
|
D | IHdmiMhlVendorCommandListener.aidl | 25 void onReceived(int portId, int offset, int length, in byte[] data); in onReceived() argument
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 142 public UsbPortStatus getPortStatus(String portId) { in getPortStatus() argument 144 final PortInfo portInfo = mPorts.get(portId); in getPortStatus() 149 public void setPortRoles(String portId, int newPowerRole, int newDataRole, in setPortRoles() argument 152 final PortInfo portInfo = mPorts.get(portId); in setPortRoles() 155 pw.println("No such USB port: " + portId); in setPortRoles() 163 + "role combination: portId=" + portId in setPortRoles() 210 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId in setPortRoles() 218 SimulatedPortInfo sim = mSimulatedPorts.get(portId); in setPortRoles() 226 final File portDir = new File(SYSFS_CLASS, portId); in setPortRoles() 228 logAndPrint(Log.ERROR, pw, "USB port not found: portId=" + portId); in setPortRoles() [all …]
|
D | UsbService.java | 359 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/ |
D | HdmiMhlControllerStub.java | 60 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
|
D | HdmiControlService.java | 692 HdmiPortInfo getPortInfo(int portId) { in getPortInfo() argument 693 return mPortInfoMap.get(portId, null); in getPortInfo() 700 int portIdToPath(int portId) { in portIdToPath() argument 701 HdmiPortInfo portInfo = getPortInfo(portId); in portIdToPath() 703 Slog.e(TAG, "Cannot find the port info: " + portId); in portIdToPath() 720 boolean isValidPortId(int portId) { in isValidPortId() argument 721 return getPortInfo(portId) != null; in isValidPortId() 784 int portId = pathToPortId(physicalAddress); in isConnectedToArcPort() local 785 if (portId != Constants.INVALID_PORT_ID) { in isConnectedToArcPort() 786 return mPortInfoMap.get(portId).isArcSupported(); in isConnectedToArcPort() [all …]
|
D | HdmiCecLocalDeviceTv.java | 340 void setPrevPortId(int portId) { in setPrevPortId() argument 342 mPrevPortId = portId; in setPrevPortId() 369 void doManualPortSwitching(int portId, IHdmiControlCallback callback) { in doManualPortSwitching() argument 372 if (!mService.isValidPortId(portId)) { in doManualPortSwitching() 376 if (portId == getActivePortId()) { in doManualPortSwitching() 382 setActivePortId(portId); in doManualPortSwitching() 393 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() 509 int portId = getPrevPortId(); in handleInactiveSource() local 510 if (portId != Constants.INVALID_PORT_ID) { in handleInactiveSource() 517 if (mService.pathToPortId(inactiveSource.getPhysicalAddress()) == portId) { in handleInactiveSource() [all …]
|
D | HdmiMhlLocalDeviceStub.java | 16 protected HdmiMhlLocalDeviceStub(HdmiControlService service, int portId) { in HdmiMhlLocalDeviceStub() argument 18 mPortId = portId; in HdmiMhlLocalDeviceStub()
|
D | HdmiCecMessageValidator.java | 270 int portId = mService.pathToPortId(path); in isValidPhysicalAddress() local 271 if (portId == Constants.INVALID_PORT_ID) { in isValidPhysicalAddress()
|
D | HdmiCecLocalDevice.java | 759 void onHotplug(int portId, boolean connected) { in onHotplug() argument 822 void setActivePortId(int portId) { in setActivePortId() argument 825 setActivePath(mService.portIdToPath(portId)); in setActivePortId()
|
D | HdmiCecLocalDevicePlayback.java | 148 void onHotplug(int portId, boolean connected) { in onHotplug() argument
|
/frameworks/base/core/java/android/hardware/usb/ |
D | IUsbManager.aidl | 115 UsbPortStatus getPortStatus(in String portId); in getPortStatus() argument 118 void setPortRoles(in String portId, int powerRole, int dataRole); in setPortRoles() argument
|