Home
last modified time | relevance | path

Searched defs:robot (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAppCompatCameraOverridesTest.java69 runTestScenario((robot) -> { in testShouldRefreshActivityForCameraCompat_flagIsDisabled_returnsFalse() argument
80 runTestScenario((robot) -> { in testShouldRefreshActivityForCameraCompat_overrideEnabled_returnsFalse() argument
91 runTestScenario((robot) -> { in testShouldRefreshActivityForCameraCompat_propertyIsTrueAndOverride_returnsFalse() argument
102 runTestScenario((robot) -> { in testShouldRefreshActivityForCameraCompat_propertyIsFalse_returnsFalse() argument
113 runTestScenario((robot) -> { in testShouldRefreshActivityForCameraCompat_propertyIsTrue_returnsTrue() argument
126 runTestScenario((robot) -> { in testShouldRefreshActivityViaPauseForCameraCompat_flagIsDisabled_returnsFalse() argument
137 runTestScenario((robot) -> { in testShouldRefreshActivityViaPauseForCameraCompat_overrideEnabled_returnsTrue() argument
148 runTestScenario((robot) -> { in testShouldRefreshActivityViaPauseForCameraCompat_propertyFalseAndOverrideFalse() argument
159 runTestScenario((robot) -> { in testShouldRefreshActivityViaPauseForCameraCompat_propertyIsTrue_returnsTrue() argument
170 runTestScenario((robot) -> { in testShouldForceRotateForCameraCompat_flagIsDisabled_returnsFalse() argument
[all …]
DAppCompatAspectRatioOverridesTest.java67 runTestScenario((robot)-> { in testShouldApplyUserFullscreenOverride_trueProperty_returnsFalse() argument
79 runTestScenario((robot)-> { in testShouldApplyUserFullscreenOverride_falseFullscreenProperty_returnsFalse() argument
92 runTestScenario((robot)-> { in testShouldApplyUserFullscreenOverride_falseSettingsProperty_returnsFalse() argument
105 runTestScenario((robot)-> { in testShouldApplyUserFullscreenOverride_returnsTrue() argument
117 runTestScenario((robot)-> { in testShouldEnableUserAspectRatioSettings_falseProperty_returnsFalse() argument
130 runTestScenario((robot)-> { in testShouldEnableUserAspectRatioSettings_trueProperty_returnsTrue() argument
143 runTestScenario((robot)-> { in testShouldEnableUserAspectRatioSettings_ignoreOrientation_returnsFalse() argument
156 runTestScenario((robot)-> { in testShouldApplyUserMinAspectRatioOverride_falseProperty_returnsFalse() argument
169 runTestScenario((robot)-> { in testShouldApplyUserMinAspectRatioOverride_trueProperty_returnsFalse() argument
180 runTestScenario((robot)-> { in testShouldApplyUserMinAspectRatioOverride_disabledIgnoreOrientationRequest() argument
[all …]
DAppCompatOrientationPolicyTest.java79 runTestScenarioWithActivity((robot) -> { in testOverrideOrientationIfNeeded_mapInvokedOnRequest() argument
88 runTestScenarioWithActivity((robot) -> { in testOverrideOrientationIfNeeded_fullscreenOverrideEnabled_returnsUser() argument
98 runTestScenario((robot) -> { in testOverrideOrientationIfNeeded_fullscreenOverrideEnabled_optOut_isUnchanged() argument
113 runTestScenario((robot) -> { in testOverrideOrientationIfNeeded_fullscreenOverrides_optOutSystem_returnsUser() argument
130 runTestScenario((robot) -> { in testOverrideOrientationIfNeeded_fullscreenOverrides_optOutUser_returnsUser() argument
148 runTestScenarioWithActivity((robot) -> { in testOverrideOrientationIfNeeded_fullscreenOverrideEnabled_returnsUnchanged() argument
159 runTestScenario((robot) -> { in testOverrideOrientationIfNeeded_fullscreenAndUserOverrideEnabled_isUnchanged() argument
176 runTestScenarioWithActivity((robot) -> { in testOverrideOrientationIfNeeded_portraitOverrideEnabled_returnsPortrait() argument
186 runTestScenarioWithActivity((robot) -> { in testOverrideOrientationIfNeeded_portraitOverrideEnabled_returnsNosensor() argument
196 runTestScenarioWithActivity((robot) -> { in testOverrideOrientationIfNeeded_nosensorOverride_orientationFixed_isUnchanged() argument
[all …]
DAppCompatCameraPolicyTest.java61 runTestScenario((robot) -> { in testDisplayRotationCompatPolicy_presentWhenEnabled() argument
70 runTestScenario((robot) -> { in testDisplayRotationCompatPolicy_notPresentWhenDisabled() argument
79 runTestScenario((robot) -> { in testDisplayRotationCompatPolicy_startedWhenEnabled() argument
90 runTestScenario((robot) -> { in testCameraCompatFreeformPolicy_presentWhenEnabledAndDW() argument
100 runTestScenario((robot) -> { in testCameraCompatFreeformPolicy_notPresentWhenNoDW() argument
110 runTestScenario((robot) -> { in testCameraCompatFreeformPolicy_notPresentWhenNoFlag() argument
120 runTestScenario((robot) -> { in testCameraCompatFreeformPolicy_notPresentWhenNoFlagAndNoDW() argument
130 runTestScenario((robot) -> { in testCameraCompatFreeformPolicy_startedWhenEnabledAndDW() argument
141 runTestScenario((robot) -> { in testCameraStateManager_existsWhenCameraCompatFreeformExists() argument
152 runTestScenario((robot) -> { in testCameraStateManager_startedWhenCameraCompatFreeformExists() argument
[all …]
DCameraCompatFreeformPolicyTests.java112 runTestScenario((robot) -> { in testFeatureDisabled_cameraCompatFreeformPolicyNotCreated() argument
126 runTestScenario((robot) -> { in testIsCameraRunningAndWindowingModeEligible_disabledViaOverride_returnsFalse() argument
139 runTestScenario((robot) -> { in testIsCameraRunningAndWindowingModeEligible_cameraNotRunning_returnsFalse() argument
150 runTestScenario((robot) -> { in testIsCameraRunningAndWindowingModeEligible_notFreeformWindowing_returnsFalse() argument
164 runTestScenario((robot) -> { in testIsCameraRunningAndWindowingModeEligible_optInFreeformCameraRunning_true() argument
177 runTestScenario((robot) -> { in testIsCameraRunningAndWindowingModeEligible_freeformCameraRunning_true() argument
190 runTestScenario((robot) -> { in testIsFreeformLetterboxingForCameraAllowed_optInMechanism_notOptedIn_retFalse() argument
203 runTestScenario((robot) -> { in testIsFreeformLetterboxingForCameraAllowed_notOptedOut_returnsTrue() argument
216 runTestScenario((robot) -> { in testIsFreeformLetterboxingForCameraAllowed_cameraNotRunning_returnsFalse() argument
227 runTestScenario((robot) -> { in testIsFreeformLetterboxingForCameraAllowed_notFreeformWindowing_returnsFalse() argument
[all …]
DAppCompatResizeOverridesTest.java54 runTestScenario((robot) -> { in testShouldOverrideForceResizeApp_overrideEnabled_returnsTrue() argument
63 runTestScenario((robot) -> { in testShouldOverrideForceResizeApp_propertyTrue_overrideEnabled_returnsTrue() argument
73 runTestScenario((robot) -> { in testShouldOverrideForceResizeApp_propertyTrue_overrideDisabled_returnsFalse() argument
83 runTestScenario((robot) -> { in testShouldOverrideForceResizeApp_overrideDisabled_returnsFalse() argument
92 runTestScenario((robot) -> { in testShouldOverrideForceResizeApp_propertyFalse_overrideEnabled_returnsFalse() argument
102 runTestScenario((robot) -> { in testShouldOverrideForceResizeApp_propertyFalse_noOverride_returnsFalse() argument
113 runTestScenario((robot) -> { in testShouldOverrideForceNonResizeApp_overrideEnabled_returnsTrue() argument
122 runTestScenario((robot) -> { in testShouldOverrideForceNonResizeApp_propertyTrue_overrideEnabled_returnsTrue() argument
132 runTestScenario((robot) -> { in testShouldOverrideForceNonResizeApp_propertyTrue_overrideDisabled_returnsFalse() argument
142 runTestScenario((robot) -> { in testShouldOverrideForceNonResizeApp_overrideDisabled_returnsFalse() argument
[all …]
DDesktopAppCompatAspectRatioPolicyTests.java73 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_userAspectRatioEnabled_returnTrue() argument
89 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_overrideDisabled_returnsFalse() argument
99 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_overrideEnabled_propertyFalse_returnsFalse() argument
110 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_overrideDisabled_propertyTrue_returnsFalse() argument
121 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_overrideEnabled_nonPortraitActivity_returnsFalse() argument
135 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_splitScreenAspectRatioOverride_returnTrue() argument
149 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_largeMinAspectRatioOverride_returnTrue() argument
163 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_mediumMinAspectRatioOverride_returnTrue() argument
177 runTestScenario((robot)-> { in testHasMinAspectRatioOverride_smallMinAspectRatioOverride_returnTrue() argument
191 runTestScenario((robot)-> { in testCalculateAspectRatio_splitScreenAspectRatioOverride() argument
[all …]
DAppCompatReachabilityPolicyTest.java49 runTestScenario((robot) -> { in handleHorizontalDoubleTap_reachabilityDisabled_nothingHappen() argument
61 runTestScenario((robot) -> { in handleHorizontalDoubleTap_reachabilityEnabledInTransition_nothingHappen() argument
73 runTestScenario((robot) -> { in handleHorizontalDoubleTap_reachabilityDisabledNotInTransition_nothingHappen() argument
85 runTestScenario((robot) -> { in handleHorizontalDoubleTap_leftInnerFrame_moveToLeft() argument
103 runTestScenario((robot) -> { in handleHorizontalDoubleTap_rightInnerFrame_moveToRight() argument
121 runTestScenario((robot) -> { in handleHorizontalDoubleTap_intoInnerFrame_noMove() argument
140 runTestScenario((robot) -> { in handleVerticalDoubleTap_reachabilityDisabled_nothingHappen() argument
152 runTestScenario((robot) -> { in handleVerticalDoubleTap_reachabilityEnabledInTransition_nothingHappen() argument
163 runTestScenario((robot) -> { in handleVerticalDoubleTap_reachabilityDisabledNotInTransition_nothingHappen() argument
174 runTestScenario((robot) -> { in handleVerticalDoubleTap_topInnerFrame_moveToTop() argument
[all …]
DAppCompatLetterboxOverrideTest.java52 runTestScenario((robot) -> { in testIsLetterboxEducationEnabled() argument
65 runTestScenario((robot) -> { in testShouldLetterboxHaveRoundedCorners() argument
83 runTestScenario((robot) -> { in testHasWallpaperBackgroundForLetterbox() argument
103 runTestScenario((robot) -> { in testCheckWallpaperBackgroundForLetterbox() argument
127 runTestScenario((robot) -> { in testLetterboxActivityCornersRadius() argument
143 runTestScenario((robot) -> { in testLetterboxActivityCornersRaunded() argument
156 runTestScenario((robot) -> { in testLetterboxBackgroundType() argument
179 runTestScenario((robot) -> { in testLetterboxBackgroundWallpaperBlurRadiusPx() argument
195 runTestScenario((robot) -> { in testLetterboxBackgroundWallpaperDarkScrimAlpha() argument
216 final LetterboxOverridesRobotTest robot = in runTestScenario() local
DAppCompatFocusOverridesTest.java54 runTestScenario((robot) -> { in testShouldSendFakeFocus_overrideEnabled_inMultiWindow_returnsTrue() argument
68 runTestScenario((robot) -> { in testShouldSendFakeFocus_overrideEnabled_noMultiWindowMode_returnsFalse() argument
82 runTestScenario((robot) -> { in testShouldSendFakeFocus_overrideEnabled_pinnedWindowMode_returnsFalse() argument
96 runTestScenario((robot) -> { in testShouldSendFakeFocus_overrideEnabled_freeformMode_returnsFalse() argument
110 runTestScenario((robot) -> { in testShouldSendFakeFocus_overrideDisabled_returnsFalse() argument
123 runTestScenario((robot) -> { in testIsCompatFakeFocusEnabled_propertyDisabledAndOverrideOn_fakeFocusDisabled() argument
137 runTestScenario((robot) -> { in testIsCompatFakeFocusEnabled_propertyEnabled_noOverride_fakeFocusEnabled() argument
150 runTestScenario((robot) -> { in testIsCompatFakeFocusEnabled_propertyDisabled_fakeFocusDisabled() argument
163 runTestScenario((robot) -> { in testIsCompatFakeFocusEnabled_propertyEnabled_fakeFocusEnabled() argument
178 final FocusOverridesRobotTest robot = new FocusOverridesRobotTest(mWm, mAtm, mSupervisor); in runTestScenario() local
DTransparentPolicyTest.java52 runTestScenario((robot) -> { in testNotStartingWhenDisabled() argument
63 runTestScenario((robot) -> { in testNotStartingWithoutTask() argument
75 runTestScenario((robot) -> { in testPolicyRunningWhenTransparentIsUsed() argument
88 runTestScenario((robot) -> { in testCleanLetterboxConfigListenerWhenTranslucentIsDestroyed() argument
106 runTestScenario((robot) -> { in testApplyStrategyAgainWhenOpaqueIsDestroyed() argument
123 runTestScenario((robot) -> { in testResetOpaqueReferenceWhenOpaqueIsDestroyed() argument
138 runTestScenario((robot) -> { in testNotApplyStrategyAgainWhenOpaqueIsNotDestroyed() argument
155 runTestScenario((robot) -> { in testApplyStrategyToTranslucentActivities() argument
178 runTestScenario((robot) -> { in testApplyStrategyToTransparentActivitiesRetainsWindowConfigurationProperties() argument
193 runTestScenario((robot) -> { in testApplyStrategyToMultipleTranslucentActivities() argument
[all …]
DAppCompatSizeCompatTests.java58 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusEnabledUnsetProp() argument
76 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusEnabledTrueProp() argument
95 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusEnabledFalseProp() argument
114 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusDisabledUnsetProp() argument
132 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusDisabledTrueProp() argument
151 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusDisabledFalseProp() argument
170 runTestScenario((robot) -> { in testShouldSendFakeFocus_compatFakeFocusEnabledFeatureDisabled() argument
190 final SizeCompatRobotTest robot = new SizeCompatRobotTest(mWm, mAtm, mSupervisor); in runTestScenario() local
DAppCompatUtilsTest.java61 runTestScenario((robot) -> { in getLetterboxReasonString_inSizeCompatMode() argument
73 runTestScenario((robot) -> { in getLetterboxReasonString_fixedOrientation() argument
87 runTestScenario((robot) -> { in getLetterboxReasonString_isLetterboxedForDisplayCutout() argument
103 runTestScenario((robot) -> { in getLetterboxReasonString_isLetterboxedForSafeRegionOnly() argument
120 runTestScenario((robot) -> { in getLetterboxReasonString_aspectRatio() argument
136 runTestScenario((robot) -> { in getLetterboxReasonString_unknownReason() argument
153 runTestScenario((robot) -> { in testTopActivityEligibleForUserAspectRatioButton_eligible() argument
166 runTestScenario((robot) -> { in testTopActivityEligibleForUserAspectRatioButton_disabled_notEligible() argument
179 runTestScenario((robot) -> { in testTopActivityEligibleForUserAspectRatioButton_inSizeCompatMode_notEligible() argument
195 runTestScenario((robot) -> { in testTopActivityEligibleForUserAspectRatioButton_transparentTop_notEligible() argument
[all …]
DAppCompatOrientationOverridesTest.java68 runTestScenario((robot) -> { in testShouldIgnoreOrientationRequestLoop_overrideDisabled_returnsFalse() argument
84 runTestScenario((robot) -> { in testShouldIgnoreOrientationRequestLoop_propertyIsFalseAndOverride_returnsFalse() argument
102 runTestScenario((robot) -> { in testShouldIgnoreOrientationRequestLoop_isLetterboxed_returnsFalse() argument
118 runTestScenario((robot) -> { in testShouldIgnoreOrientationRequestLoop_noLoop_returnsFalse() argument
133 runTestScenario((robot) -> { in testShouldIgnoreOrientationRequestLoop_timeout_returnsFalse() argument
152 runTestScenario((robot) -> { in testShouldIgnoreOrientationRequestLoop_returnsTrue() argument
171 runTestScenario((robot) -> { in testShouldUseDisplayLandscapeNaturalOrientation_override_returnsTrue() argument
184 runTestScenario((robot) -> { in testShouldUseDisplayLandscapeNaturalOrientation_falseProperty_returnsFalse() argument
198 runTestScenario((robot) -> { in testShouldUseDisplayLandscapeNaturalOrientation_portrait_isFalse() argument
210 runTestScenario((robot) -> { in testShouldUseDisplayLandscapeNaturalOrientation_noIgnoreRequest_isFalse() argument
[all …]
DAppCompatLetterboxUtilsTest.java53 runTestScenario((robot) -> { in allEmptyWhenIsAppNotLetterboxed() argument
67 runTestScenario((robot) -> { in positionIsFromActivity() argument
80 runTestScenario((robot) -> { in outerBoundsWhenFixedRotationTransformDisplayBoundsIsAvailable() argument
93 runTestScenario((robot) -> { in outerBoundsNoFixedRotationTransformDisplayBoundsInMultiWindow() argument
106 runTestScenario((robot) -> { in outerBoundsNoFixedRotationTransformDisplayBoundsNotInMultiWindow() argument
119 runTestScenario((robot) -> { in innerBoundsTransparencyPolicyIsRunning() argument
132 runTestScenario((robot) -> { in innerBoundsTransparencyPolicyIsNotRunning() argument
150 final LetterboxUtilsRobotTest robot = new LetterboxUtilsRobotTest(mWm, mAtm, mSupervisor); in runTestScenario() local
DAppCompatLetterboxPolicyTest.java66 runTestScenario((robot) -> { in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds() argument
86 runTestScenario((robot) -> { in testGetCropBoundsIfNeeded_noCrop() argument
107 runTestScenario((robot) -> { in testGetCropBoundsIfNeeded_appliesCrop() argument
128 runTestScenario((robot) -> { in testGetCropBoundsIfNeeded_appliesCropWithSizeCompatScaling() argument
152 runTestScenario((robot) -> { in testGetRoundedCornersRadius_withRoundedCornersFromInsets() argument
178 runTestScenario((robot) -> { in testGetRoundedCornersRadius_withLetterboxActivityCornersRadius() argument
198 runTestScenario((robot) -> { in testGetRoundedCornersRadius_noScalingApplied() argument
221 runTestScenario((robot) -> { in testGetRoundedCornersRadius_letterboxBoundsMatchHeightInFreeform_notRounded() argument
244 runTestScenario((robot) -> { in testGetRoundedCornersRadius_letterboxBoundsNotMatchHeightInFreeform_rounded() argument
267 final LetterboxPolicyRobotTest robot = new LetterboxPolicyRobotTest(mWm, mAtm, mSupervisor); in runTestScenario() local
DAppCompatReachabilityOverridesTest.java55 runTestScenario((robot) -> { in testIsThinLetterboxed_NegativePx_returnsFalse() argument
67 runTestScenario((robot) -> { in testIsThinLetterboxed_noTask_returnsFalse() argument
79 runTestScenario((robot) -> { in testIsVerticalThinLetterboxed() argument
102 runTestScenario((robot) -> { in testIsHorizontalThinLetterboxed() argument
125 runTestScenario((robot) -> { in testAllowReachabilityForThinLetterbox_disableForThinLetterboxing() argument
144 final ReachabilityOverridesRobotTest robot = in runTestScenario() local
DAppCompatSafeRegionPolicyTests.java48 runTestScenario((robot) -> { in testHasNeedsSafeRegion_returnTrue() argument
58 runTestScenario((robot) -> { in testDoesNotHaveNeedsSafeRegion_returnFalse() argument
70 final AppCompatSafeRegionPolicyRobotTest robot = in runTestScenario() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/letterbox/
DLetterboxControllerStrategyTest.kt62 val robot = LetterboxStrategyRobotTest(mContext) in <lambda>() constant
DLetterboxSurfaceBuilderTest.kt64 val robot = LetterboxSurfaceBuilderRobotTest(mContext) in <lambda>() constant
DLetterboxConfigurationTest.kt190 val robot = LetterboxConfigurationRobotTest(mContext) in <lambda>() constant
DLetterboxTransitionObserverTest.kt196 val robot = LetterboxTransitionObserverRobotTest() in <lambda>() constant
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/letterbox/events/
DReachabilityGestureListenerFactoryTest.kt69 val robot = ReachabilityGestureListenerFactoryRobotTest() in <lambda>() constant
DReachabilityGestureListenerTest.kt71 val robot = ReachabilityGestureListenerRobotTest() in <lambda>() constant