Searched refs:mSupportedModes (Results 1 – 2 of 2) sorted by relevance
35 private final int mSupportedModes; field in UsbPort118 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()
165 private final SparseArray<DisplayModeRecord> mSupportedModes = new SparseArray<>(); field in LocalDisplayAdapter.LocalDisplayDevice258 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 …]