/frameworks/base/core/java/android/hardware/usb/ |
D | ParcelableUsbPort.java | 38 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,
|
D | UsbPort.java | 66 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/ |
D | UsbPortManager.java | 481 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 …]
|
D | UsbService.java | 673 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/ |
D | DisplayInfo.java | 198 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 …]
|
D | Display.java | 868 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 196 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()
|
D | LogicalDisplay.java | 282 mBaseDisplayInfo.supportedModes = Arrays.copyOf( in updateLocked() 283 deviceInfo.supportedModes, deviceInfo.supportedModes.length); in updateLocked()
|
D | DisplayModeDirector.java | 252 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()
|
D | OverlayDisplayAdapter.java | 300 mInfo.supportedModes = mModes; in getDisplayDeviceInfoLocked()
|
D | VirtualDisplayAdapter.java | 348 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked()
|
D | WifiDisplayAdapter.java | 640 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked()
|
D | LocalDisplayAdapter.java | 396 mInfo.supportedModes = getDisplayModes(mSupportedModes); in getDisplayDeviceInfoLocked()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 38 info.supportedModes = new Mode[] { in WindowManagerImpl()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RefreshRatePolicyTest.java | 53 di.supportedModes = new Mode[] { in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowController.java | 129 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/ |
D | Session.java | 2736 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/ |
D | hiddenapi-greylist-max-o.txt | 74285 Landroid/view/DisplayInfo;->supportedModes:[Landroid/view/Display$Mode;
|