Home
last modified time | relevance | path

Searched refs:mSupportedModes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java34 private final int mSupportedModes; field in UsbPort
90 mSupportedModes = supportedModes; in UsbPort()
112 return mSupportedModes; in getSupportedModes()
210 return "UsbPort{id=" + mId + ", supportedModes=" + modeToString(mSupportedModes) + "}"; in toString()
221 dest.writeInt(mSupportedModes); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java146 private final SparseArray<DisplayModeRecord> mSupportedModes = new SparseArray<>(); field in LocalDisplayAdapter.LocalDisplayDevice
268 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded; in updatePhysicalDisplayInfoLocked()
277 mSupportedModes.clear(); in updatePhysicalDisplayInfoLocked()
279 mSupportedModes.put(record.mMode.getModeId(), record); in updatePhysicalDisplayInfoLocked()
301 if (mSupportedModes.indexOfKey(mActiveModeId) < 0) { in updatePhysicalDisplayInfoLocked()
325 for (int i = 0; i < mSupportedModes.size(); i++) { in findDisplayModeRecord()
326 DisplayModeRecord record = mSupportedModes.valueAt(i); in findDisplayModeRecord()
361 mInfo.supportedModes = new Display.Mode[mSupportedModes.size()]; in getDisplayDeviceInfoLocked()
362 for (int i = 0; i < mSupportedModes.size(); i++) { in getDisplayDeviceInfoLocked()
363 DisplayModeRecord record = mSupportedModes.valueAt(i); in getDisplayDeviceInfoLocked()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java313 if ((portInfo.mSupportedModes & mode) == 0) { in connectSimulatedPort()
408 addOrUpdatePortLocked(portInfo.mPortId, portInfo.mSupportedModes, in updatePortsLocked()
770 public final int mSupportedModes; field in UsbPortManager.SimulatedPortInfo
780 mSupportedModes = supportedModes; in SimulatedPortInfo()