/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | RawPortInfo.java | 32 public int currentMode; field in RawPortInfo 70 int currentMode, boolean canChangeMode, in RawPortInfo() argument 81 currentMode, canChangeMode, in RawPortInfo() 92 int currentMode, boolean canChangeMode, in RawPortInfo() argument 110 this.currentMode = currentMode; in RawPortInfo() 142 dest.writeInt(currentMode); in writeToParcel() 173 int currentMode = in.readInt(); 196 supportedContaminantProtectionModes, currentMode, canChangeMode,
|
D | UsbPortHidl.java | 419 current.currentMode, in notifyPortStatusChange() 457 current.currentMode, in notifyPortStatusChange_1_1() 494 current.status_1_1.currentMode, in notifyPortStatusChange_1_2()
|
D | UsbPortAidl.java | 682 toPortMode(current.currentMode), in notifyPortStatusChange()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 88 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in onCreate() local 91 if (currentMode.getModeId() == mDisplayModes[i].getModeId()) { in onCreate() 102 Mode currentMode = getWindowManager().getDefaultDisplay().getMode(); in updateOptionsMenu() local 103 updateDisplayMode(menuItem, currentMode); in updateOptionsMenu() 161 Mode currentMode = mDisplayModes[mCurrentModeIndex]; in sameSizeMode() local 162 return currentMode.getPhysicalHeight() == mode.getPhysicalHeight() in sameSizeMode() 163 && currentMode.getPhysicalWidth() == mode.getPhysicalWidth(); in sameSizeMode()
|
/frameworks/base/core/java/android/service/controls/templates/ |
D | TemperatureControlTemplate.java | 165 @Mode int currentMode, in TemperatureControlTemplate() argument 172 if (currentMode < 0 || currentMode >= NUM_MODES) { in TemperatureControlTemplate() 173 Log.e(TAG, "Invalid current mode:" + currentMode); in TemperatureControlTemplate() 176 mCurrentMode = currentMode; in TemperatureControlTemplate()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPortStatus.java | 466 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 474 mCurrentMode = currentMode; in UsbPortStatus() 503 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 508 this(currentMode, currentPowerRole, currentDataRole, supportedRoleCombinations, in UsbPortStatus() 515 public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole, in UsbPortStatus() argument 518 this(currentMode, currentPowerRole, currentDataRole, supportedRoleCombinations, in UsbPortStatus() 748 int currentMode = in.readInt(); 766 return new UsbPortStatus(currentMode, currentPowerRole, currentDataRole, 817 public Builder setCurrentMode(@UsbPortMode int currentMode) { in setCurrentMode() argument 818 mCurrentMode = currentMode; in setCurrentMode()
|
/frameworks/base/core/java/android/print/ |
D | PrinterCapabilitiesInfo.java | 221 final int currentMode = (1 << Integer.numberOfTrailingZeros(current)); in enforceValidMask() local 222 current &= ~currentMode; in enforceValidMask() 223 enforceSingle.accept(currentMode); in enforceValidMask() 234 (currentMode) -> PrintAttributes.enforceValidColorMode(currentMode)); in PrinterCapabilitiesInfo() 238 (currentMode) -> PrintAttributes.enforceValidDuplexMode(currentMode)); in PrinterCapabilitiesInfo() 567 (currentMode) -> PrintAttributes.enforceValidColorMode(currentMode)); in setColorModes() 594 (currentMode) -> PrintAttributes.enforceValidDuplexMode(currentMode)); in setDuplexModes()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 610 final int currentMode = portInfo.mUsbPortStatus.getCurrentMode(); in setPortRoles() local 628 newMode = currentMode; in setPortRoles() 633 + ", currentMode=" + UsbPort.modeToString(currentMode) in setPortRoles() 643 sim.currentMode = newMode; in setPortRoles() 648 if (currentMode != newMode) { in setPortRoles() 821 portInfo.currentMode = mode; in connectSimulatedPort() 907 portInfo.currentMode = 0; in disconnectSimulatedPort() 977 portInfo.currentMode, portInfo.canChangeMode, in updatePortsLocked() 998 currentPortInfo.currentMode, currentPortInfo.canChangeMode, in updatePortsLocked() 1048 int currentMode, boolean canChangeMode, in addOrUpdatePortLocked() argument [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationProcessor.java | 166 int currentMode = getControllingMode(displayId); in transitionModeIfNeeded() local 171 if (currentMode == config.getMode() && !mController.hasDisableMagnificationCallback( in transitionModeIfNeeded() 255 int currentMode = getControllingMode(displayId); in getCurrentMagnificationRegion() local 256 if (currentMode == MAGNIFICATION_MODE_FULLSCREEN) { in getCurrentMagnificationRegion() 258 } else if (currentMode == MAGNIFICATION_MODE_WINDOW) { in getCurrentMagnificationRegion()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 246 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() local 248 if (currentMode == PowerManager.POWER_SAVE_MODE_TRIGGER_DYNAMIC) { in revertScheduleToNoneIfNeeded()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationProcessorTest.java | 255 int currentMode = mMagnificationProcessor.getControllingMode(TEST_DISPLAY); in getCurrentMode_configDefaultMode_returnActivatedMode() local 257 assertEquals(MAGNIFICATION_MODE_WINDOW, currentMode); in getCurrentMode_configDefaultMode_returnActivatedMode() 265 int currentMode = mMagnificationProcessor.getControllingMode(TEST_DISPLAY); in getCurrentMode_changeOtherDisplayMode_returnDefaultModeOnDefaultDisplay() local 271 assertEquals(MAGNIFICATION_MODE_FULLSCREEN, currentMode); in getCurrentMode_changeOtherDisplayMode_returnDefaultModeOnDefaultDisplay()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerShellCommand.java | 99 final String currentMode = gameModeIntToString( in runListGameModes() local 105 pw.println(packageName + " current mode: " + currentMode + ", available game modes: [" + sj in runListGameModes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationsQSContainerController.kt | 129 val currentMode: Int = in <lambda>() constant 133 isGestureNavigation = QuickStepContract.isGesturalMode(currentMode) in <lambda>()
|
D | NotificationPanelViewController.java | 943 int currentMode = navigationModeController.addListener( in NotificationPanelViewController() local 945 mIsGestureNavigation = QuickStepContract.isGesturalMode(currentMode); in NotificationPanelViewController()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | UserIconDrawable.java | 334 PorterDuff.Mode currentMode = porterDuffColorFilter.getMode(); in shouldUpdateColorFilter() local 335 return currentColor != color || currentMode != mode; in shouldUpdateColorFilter()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 1109 final int currentMode = mAppOps.unsafeCheckOpRawNoThrow( in start() local 1111 if (currentMode == AppOpsManager.MODE_DEFAULT) { in start() 1151 final int currentMode = mAppOps.unsafeCheckOpRawNoThrow( in stop() local 1153 if (currentMode == AppOpsManager.MODE_ALLOWED) { in stop()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 1095 final int currentMode = mAppOpsManager.unsafeCheckOpRaw(AppOpsManager.opToPublicName( in setUidModeIgnoredIfNotAllowed() local 1097 if (currentMode != MODE_ALLOWED) { in setUidModeIgnoredIfNotAllowed() 1098 if (currentMode != MODE_IGNORED) { in setUidModeIgnoredIfNotAllowed()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 1197 Display.Mode currentMode = info.getMode(); in getDisplayInfoForFrameRateOverride() 1198 float numPeriods = currentMode.getRefreshRate() / frameRateHz; in getDisplayInfoForFrameRateOverride() 1203 frameRateHz = currentMode.getRefreshRate() / numPeriodsRound; in getDisplayInfoForFrameRateOverride() 1208 if (!mode.equalsExceptRefreshRate(currentMode)) { in getDisplayInfoForFrameRateOverride() 1233 currentMode.getPhysicalWidth(), currentMode.getPhysicalHeight(), in getDisplayInfoForFrameRateOverride() 1235 currentMode.getVsyncRate(), in getDisplayInfoForFrameRateOverride() 1236 new float[0], currentMode.getSupportedHdrTypes()); in getDisplayInfoForFrameRateOverride()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 1203 String currentMode = mContext.getString(getStringDescriptionResourceForRingerMode( in updateSelectedRingerContainerDescription() 1216 currentMode += ", "; in updateSelectedRingerContainerDescription() 1220 mSelectedRingerContainer.setContentDescription(currentMode + tapToSelect); in updateSelectedRingerContainerDescription()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Task.java | 4687 final int currentMode = getWindowingMode(); 4701 if (currentMode == windowingMode) { 4723 if (currentMode == WINDOWING_MODE_PINNED) { 4758 if (currentMode == WINDOWING_MODE_PINNED && topActivity != null) { 4818 if (topActivity != null && currentMode == WINDOWING_MODE_FULLSCREEN
|
D | Transition.java | 1143 final int currentMode = ar.getTask().getWindowingMode(); in checkEnterPipOnFinish() local 1144 if (prevMode == WINDOWING_MODE_FULLSCREEN && currentMode == WINDOWING_MODE_PINNED in checkEnterPipOnFinish()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 6194 const auto currentMode = display->getPowerMode(); in setPowerModeInternal() local 6195 if (currentMode == mode) { in setPowerModeInternal() 6212 if (currentMode == hal::PowerMode::OFF) { in setPowerModeInternal() 6257 const bool currentModeNotDozeSuspend = (currentMode != hal::PowerMode::DOZE_SUSPEND); in setPowerModeInternal() 6298 if (currentMode == hal::PowerMode::DOZE_SUSPEND && in setPowerModeInternal() 6614 ui::ColorMode currentMode = display->getCompositionDisplay()->getState().colorMode; in dumpWideColorInfo() local 6616 decodeColorMode(currentMode).c_str(), fmt::underlying(currentMode)); in dumpWideColorInfo()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 402 final int currentMode = userState.getMagnificationModeLocked(displayId); in changeMagnificationMode() local 403 if (magnificationMode != currentMode) { in changeMagnificationMode()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 20120 final int currentMode = ConnectivitySettingsManager.getPrivateDnsMode(mContext); 20121 switch (currentMode) { 20550 int currentMode = appOpsMgr.unsafeCheckOpNoThrow(appOp, uid, packageName); 20553 if (currentMode != newMode) {
|