Home
last modified time | relevance | path

Searched refs:supportedModes (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DParcelableUsbPort.java38 private ParcelableUsbPort(@NonNull String id, int supportedModes, in ParcelableUsbPort() argument
43 mSupportedModes = supportedModes; in ParcelableUsbPort()
97 int supportedModes = in.readInt();
102 return new ParcelableUsbPort(id, supportedModes,
DUsbPort.java66 public UsbPort(@NonNull UsbManager usbManager, @NonNull String id, int supportedModes, in UsbPort() argument
71 Preconditions.checkFlagsArgument(supportedModes, in UsbPort()
76 mSupportedModes = supportedModes; in UsbPort()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java481 public void addSimulatedPort(String portId, int supportedModes, IndentingPrintWriter pw) { in addSimulatedPort() argument
489 + ", supportedModes=" + UsbPort.modeToString(supportedModes)); in addSimulatedPort()
491 new RawPortInfo(portId, supportedModes)); in addSimulatedPort()
512 if ((portInfo.supportedModes & mode) == 0) { in connectSimulatedPort()
640 current.supportedModes, CONTAMINANT_PROTECTION_NONE, in notifyPortStatusChange()
677 current.supportedModes, CONTAMINANT_PROTECTION_NONE, in notifyPortStatusChange_1_1()
713 current.status_1_1.supportedModes, in notifyPortStatusChange_1_2()
807 addOrUpdatePortLocked(portInfo.portId, portInfo.supportedModes, in updatePortsLocked()
819 addOrUpdatePortLocked(currentPortInfo.portId, currentPortInfo.supportedModes, in updatePortsLocked()
854 private void addOrUpdatePortLocked(String portId, int supportedModes, in addOrUpdatePortLocked() argument
[all …]
DUsbService.java673 final int supportedModes; in dump() local
676 supportedModes = MODE_UFP; in dump()
679 supportedModes = MODE_DFP; in dump()
682 supportedModes = MODE_DUAL; in dump()
685 supportedModes = 0; in dump()
692 mPortManager.addSimulatedPort(portId, supportedModes, pw); in dump()
/frameworks/base/core/java/android/view/
DDisplayInfo.java198 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; field in DisplayInfo
375 supportedModes = Arrays.copyOf(other.supportedModes, other.supportedModes.length); in copyFrom()
415 supportedModes = new Display.Mode[nModes]; in readFromParcel()
417 supportedModes[i] = Display.Mode.CREATOR.createFromParcel(source); in readFromParcel()
462 dest.writeInt(supportedModes.length); in writeToParcel()
463 for (int i = 0; i < supportedModes.length; i++) { in writeToParcel()
464 supportedModes[i].writeToParcel(dest, flags); in writeToParcel()
498 for (int i = 0; i < supportedModes.length; i++) { in findMode()
499 if (supportedModes[i].getModeId() == id) { in findMode()
500 return supportedModes[i]; in findMode()
[all …]
DDisplay.java868 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java196 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; field in DisplayDeviceInfo
337 || !Arrays.equals(supportedModes, other.supportedModes) in diff()
370 supportedModes = other.supportedModes; in copyFrom()
399 sb.append(", supportedModes ").append(Arrays.toString(supportedModes)); in toString()
DLogicalDisplay.java282 mBaseDisplayInfo.supportedModes = Arrays.copyOf( in updateLocked()
283 deviceInfo.supportedModes, deviceInfo.supportedModes.length); in updateLocked()
DDisplayModeDirector.java252 private int[] filterModes(Display.Mode[] supportedModes, in filterModes() argument
255 for (Display.Mode mode : supportedModes) { in filterModes()
741 modes.put(displayId, info.supportedModes); in observe()
784 if (!Arrays.equals(mSupportedModesByDisplay.get(displayId), info.supportedModes)) { in updateDisplayModes()
785 mSupportedModesByDisplay.put(displayId, info.supportedModes); in updateDisplayModes()
DOverlayDisplayAdapter.java300 mInfo.supportedModes = mModes; in getDisplayDeviceInfoLocked()
DVirtualDisplayAdapter.java348 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java640 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked()
DLocalDisplayAdapter.java396 mInfo.supportedModes = getDisplayModes(mSupportedModes); in getDisplayDeviceInfoLocked()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java38 info.supportedModes = new Mode[] { in WindowManagerImpl()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRefreshRatePolicyTest.java53 di.supportedModes = new Mode[] { in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowController.java129 Display.Mode[] supportedModes = context.getDisplay().getSupportedModes(); in StatusBarWindowController() local
137 mKeyguardDisplayMode = Arrays.stream(supportedModes).filter(mode -> in StatusBarWindowController()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java2736 final @SmartSuggestionMode int supportedModes = mService in triggerAugmentedAutofillLocked() local
2738 if (supportedModes == 0) { in triggerAugmentedAutofillLocked()
2754 if ((supportedModes & FLAG_SMART_SUGGESTION_SYSTEM) != 0) { in triggerAugmentedAutofillLocked()
2757 Slog.w(TAG, "Unsupported Smart Suggestion mode: " + supportedModes); in triggerAugmentedAutofillLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt74285 Landroid/view/DisplayInfo;->supportedModes:[Landroid/view/Display$Mode;