Home
last modified time | relevance | path

Searched refs:isDesktopModeSupported (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DDesktopModeStatus.java152 public static boolean isDesktopModeSupported(@NonNull Context context) { in isDesktopModeSupported() method in DesktopModeStatus
160 return (!enforceDeviceRestrictions() || isDesktopModeSupported(context)) && isEnabled(); in canEnterDesktopMode()
/frameworks/base/services/core/java/com/android/server/wm/
DDesktopModeLaunchParamsModifier.java213 static boolean isDesktopModeSupported(@NonNull Context context) { in isDesktopModeSupported() method in DesktopModeLaunchParamsModifier
222 && (!enforceDeviceRestrictions() || isDesktopModeSupported(context)); in canEnterDesktopMode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDesktopModeLaunchParamsModifierTests.java430 private void setupDesktopModeLaunchParamsModifier(boolean isDesktopModeSupported, in setupDesktopModeLaunchParamsModifier() argument
432 doReturn(isDesktopModeSupported) in setupDesktopModeLaunchParamsModifier()
433 .when(() -> DesktopModeLaunchParamsModifier.isDesktopModeSupported(any())); in setupDesktopModeLaunchParamsModifier()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModelTests.kt464 doReturn(false).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in testWindowDecor_desktopModeUnsupportedOnDevice_decorNotCreated()
485 doReturn(false).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in testWindowDecor_desktopModeUnsupportedOnDevice_deviceRestrictionsOverridden_decorCreated()
510 doReturn(true).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in testWindowDecor_deviceSupportsDesktopMode_decorCreated()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksControllerTest.kt192 doReturn(true).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in <lambda>()
/frameworks/base/services/
Dart-wear-profile26491 HSPLcom/android/server/wm/DesktopModeLaunchParamsModifier;->isDesktopModeSupported()Z