Searched refs:supportedModes (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 170 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; field in DisplayInfo 331 supportedModes = Arrays.copyOf(other.supportedModes, other.supportedModes.length); in copyFrom() 368 supportedModes = new Display.Mode[nModes]; in readFromParcel() 370 supportedModes[i] = Display.Mode.CREATOR.createFromParcel(source); in readFromParcel() 412 dest.writeInt(supportedModes.length); in writeToParcel() 413 for (int i = 0; i < supportedModes.length; i++) { in writeToParcel() 414 supportedModes[i].writeToParcel(dest, flags); in writeToParcel() 447 for (int i = 0; i < supportedModes.length; i++) { in findMode() 448 if (supportedModes[i].getModeId() == id) { in findMode() 449 return supportedModes[i]; in findMode() [all …]
|
D | Display.java | 714 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 282 public void addSimulatedPort(String portId, int supportedModes, IndentingPrintWriter pw) { in addSimulatedPort() argument 290 + ", supportedModes=" + UsbPort.modeToString(supportedModes)); in addSimulatedPort() 292 new SimulatedPortInfo(portId, supportedModes)); in addSimulatedPort() 423 final int supportedModes = readSupportedModes(portDir); in updatePortsLocked() local 430 addOrUpdatePortLocked(portId, supportedModes, in updatePortsLocked() 461 private void addOrUpdatePortLocked(String portId, int supportedModes, in addOrUpdatePortLocked() argument 468 if (supportedModes != UsbPort.MODE_DUAL) { in addOrUpdatePortLocked() 470 if (currentMode != 0 && currentMode != supportedModes) { in addOrUpdatePortLocked() 472 + "port driver: supportedModes=" + UsbPort.modeToString(supportedModes) in addOrUpdatePortLocked() 515 portInfo = new PortInfo(portId, supportedModes); in addOrUpdatePortLocked() [all …]
|
D | UsbService.java | 462 final int supportedModes; in dump() local 465 supportedModes = UsbPort.MODE_UFP; in dump() 468 supportedModes = UsbPort.MODE_DFP; in dump() 471 supportedModes = UsbPort.MODE_DUAL; in dump() 474 supportedModes = 0; in dump() 481 mPortManager.addSimulatedPort(portId, supportedModes, pw); in dump()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPort.java | 88 public UsbPort(String id, int supportedModes) { in UsbPort() argument 90 mSupportedModes = supportedModes; in UsbPort() 229 int supportedModes = in.readInt(); 230 return new UsbPort(id, supportedModes);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 161 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; field in DisplayDeviceInfo 297 || !Arrays.equals(supportedModes, other.supportedModes) in diff() 329 supportedModes = other.supportedModes; in copyFrom() 357 sb.append(", supportedModes ").append(Arrays.toString(supportedModes)); in toString()
|
D | LogicalDisplay.java | 237 mBaseDisplayInfo.supportedModes = Arrays.copyOf( in updateLocked() 238 deviceInfo.supportedModes, deviceInfo.supportedModes.length); in updateLocked()
|
D | LocalDisplayAdapter.java | 362 mInfo.supportedModes = new Display.Mode[mSupportedModes.size()]; in getDisplayDeviceInfoLocked() 365 mInfo.supportedModes[i] = record.mMode; in getDisplayDeviceInfoLocked()
|
D | VirtualDisplayAdapter.java | 305 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked()
|
D | OverlayDisplayAdapter.java | 300 mInfo.supportedModes = mModes; in getDisplayDeviceInfoLocked()
|
D | WifiDisplayAdapter.java | 640 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked()
|