Searched refs:isDesktopModeSupported (Results 1 – 6 of 6) sorted by relevance
152 public static boolean isDesktopModeSupported(@NonNull Context context) { in isDesktopModeSupported() method in DesktopModeStatus160 return (!enforceDeviceRestrictions() || isDesktopModeSupported(context)) && isEnabled(); in canEnterDesktopMode()
213 static boolean isDesktopModeSupported(@NonNull Context context) { in isDesktopModeSupported() method in DesktopModeLaunchParamsModifier222 && (!enforceDeviceRestrictions() || isDesktopModeSupported(context)); in canEnterDesktopMode()
430 private void setupDesktopModeLaunchParamsModifier(boolean isDesktopModeSupported, in setupDesktopModeLaunchParamsModifier() argument432 doReturn(isDesktopModeSupported) in setupDesktopModeLaunchParamsModifier()433 .when(() -> DesktopModeLaunchParamsModifier.isDesktopModeSupported(any())); in setupDesktopModeLaunchParamsModifier()
464 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()
192 doReturn(true).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in <lambda>()
26491 HSPLcom/android/server/wm/DesktopModeLaunchParamsModifier;->isDesktopModeSupported()Z