Home
last modified time | relevance | path

Searched refs:DEVICE_POSTURE_CLOSED (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DTabletopModeControllerTest.java21 import static com.android.wm.shell.common.DevicePostureController.DEVICE_POSTURE_CLOSED;
112 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in registerOnTabletopModeChangedListener_notInTabletopMode_callbackFalse()
138 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in registerOnTabletopModeChangedListener_notInTabletopModeTwice_callbackOnce()
154 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in foldedRotation90_halfOpen_scheduleTabletopModeChange()
165 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in foldedRotation0_halfOpen_noScheduleTabletopModeChange()
176 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in foldedRotation90_halfOpenThenUnfold_cancelTabletopModeChange()
188 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in foldedRotation90_halfOpenThenFold_cancelTabletopModeChange()
193 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in foldedRotation90_halfOpenThenFold_cancelTabletopModeChange()
200 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in foldedRotation90_halfOpenThenRotate_cancelTabletopModeChange()
253 mPipTabletopController.onDevicePostureChanged(DEVICE_POSTURE_CLOSED); in unfoldedRotation90_halfOpenThenFold_cancelTabletopModeChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DPostureDependentProximitySensorTest.java19 import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED;
70 setupProximitySensors(DEVICE_POSTURE_CLOSED); in setUp()
119 mPostureListener.onPostureChanged(DEVICE_POSTURE_CLOSED); in testPostureChangeListenerUpdatesPosture()
122 assertEquals(DEVICE_POSTURE_CLOSED, in testPostureChangeListenerUpdatesPosture()
144 mPostureListener.onPostureChanged(DEVICE_POSTURE_CLOSED); in proxSensorRegisters_proxSensorValid()
162 mPostureListener.onPostureChanged(DEVICE_POSTURE_CLOSED); in proxSensorReregisters_postureChangesAndNewlySupportsProx()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDevicePostureController.java33 DEVICE_POSTURE_CLOSED,
45 int DEVICE_POSTURE_CLOSED = 1; field
59 case DEVICE_POSTURE_CLOSED: in devicePostureToString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDevicePostureControllerImplTest.kt26 import com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED
54 "$DEVICE_POSTURE_CLOSED:$DEVICE_POSTURE_CLOSED",
104 assertThat(posture).isEqualTo(DEVICE_POSTURE_CLOSED) in testPostureChanged_updates()
144 assertThat(posture).isEqualTo(DEVICE_POSTURE_CLOSED) in testPostureChanged_useBaseUpdate()
192 DEVICE_POSTURE_CLOSED /* id */,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBypassControllerTest.kt37 import com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED
121 DEVICE_POSTURE_CLOSED in defaultConfigPostureClosed()
191 postureControllerCallback.onPostureChanged(DEVICE_POSTURE_CLOSED) in configDevicePostureClosed_matchState_isPostureAllowedForFaceAuth_returnTrue()
236 postureControllerCallback.onPostureChanged(DEVICE_POSTURE_CLOSED) in configDevicePostureOpened_changeClosed_isPostureAllowedForFaceAuth_returnFalse()
254 postureControllerCallback.onPostureChanged(DEVICE_POSTURE_CLOSED) in configDevicePostureFlipped_changeClosed_isPostureAllowedForFaceAuth_returnFalse()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDevicePostureController.java49 DEVICE_POSTURE_CLOSED,
60 public static final int DEVICE_POSTURE_CLOSED = 1; field in DevicePostureController
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DDevicePosture.kt32 DevicePostureController.DEVICE_POSTURE_CLOSED -> CLOSED in toPosture()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DDevicePostureRepositoryTest.kt74 callback.value.onPostureChanged(DevicePostureController.DEVICE_POSTURE_CLOSED) in postureChangesArePropagated()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java24 import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED;
117 mLastDevicePosture == DEVICE_POSTURE_CLOSED in onDevicePostureChanged()
DKeyguardPasswordView.java32 import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED;
144 mLastDevicePosture == DEVICE_POSTURE_CLOSED in onDevicePostureChanged()
DKeyguardPatternView.java21 import static com.android.systemui.statusbar.policy.DevicePostureController.DEVICE_POSTURE_CLOSED;
140 mLastDevicePosture == DEVICE_POSTURE_CLOSED in onDevicePostureChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapper.kt83 DevicePostureController.DEVICE_POSTURE_CLOSED in getSecondaryLabelWithPosture()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapperTest.kt51 .thenReturn(DevicePostureController.DEVICE_POSTURE_CLOSED) in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java309 DevicePostureController.DEVICE_POSTURE_CLOSED); in testPostureStartStateClosed_registersCorrectSensor()
330 DevicePostureController.DEVICE_POSTURE_CLOSED); in testPostureChange_registersCorrectSensor()
DDozeScreenBrightnessTest.java311 DevicePostureController.DEVICE_POSTURE_CLOSED); in testSensorsSupportPostures_closed()
423 DevicePostureController.DEVICE_POSTURE_CLOSED); in testSensorsSupportPostures_swapPostures()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java183 .thenReturn(DevicePostureController.DEVICE_POSTURE_CLOSED); in setup()