Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java35 private final int mSupportedModes; field in UsbPort
118 mSupportedModes = supportedModes; in UsbPort()
140 return mSupportedModes; in getSupportedModes()
270 if ((mSupportedModes & mode) == mode) return true; in isModeSupported()
277 return "UsbPort{id=" + mId + ", supportedModes=" + modeToString(mSupportedModes) + "}"; in toString()
288 dest.writeInt(mSupportedModes); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java165 private final SparseArray<DisplayModeRecord> mSupportedModes = new SparseArray<>(); field in LocalDisplayAdapter.LocalDisplayDevice
258 boolean recordsChanged = records.size() != mSupportedModes.size() || modesAdded; in updatePhysicalDisplayInfoLocked()
266 mSupportedModes.clear(); in updatePhysicalDisplayInfoLocked()
268 mSupportedModes.put(record.mMode.getModeId(), record); in updatePhysicalDisplayInfoLocked()
279 if (mSupportedModes.indexOfKey(mActiveModeId) < 0) { in updatePhysicalDisplayInfoLocked()
346 for (int i = 0; i < mSupportedModes.size(); i++) { in findDisplayModeRecord()
347 DisplayModeRecord record = mSupportedModes.valueAt(i); in findDisplayModeRecord()
372 mInfo.supportedModes = new Display.Mode[mSupportedModes.size()]; in getDisplayDeviceInfoLocked()
373 for (int i = 0; i < mSupportedModes.size(); i++) { in getDisplayDeviceInfoLocked()
374 DisplayModeRecord record = mSupportedModes.valueAt(i); in getDisplayDeviceInfoLocked()
[all …]