Home
last modified time | relevance | path

Searched refs:deviceStateToPosture (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/
DPosturesHelperTest.kt76 .that(posturesHelper.deviceStateToPosture(DEVICE_STATE_CLOSED)) in deviceStateToPosture_mapsCorrectly()
79 .that(posturesHelper.deviceStateToPosture(DEVICE_STATE_HALF_FOLDED)) in deviceStateToPosture_mapsCorrectly()
82 .that(posturesHelper.deviceStateToPosture(DEVICE_STATE_OPEN)) in deviceStateToPosture_mapsCorrectly()
85 .that(posturesHelper.deviceStateToPosture(DEVICE_STATE_REAR_DISPLAY)) in deviceStateToPosture_mapsCorrectly()
88 .that(posturesHelper.deviceStateToPosture(DEVICE_STATE_UNKNOWN)) in deviceStateToPosture_mapsCorrectly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/
DDeviceStateRepository.kt65 trySend(deviceStateToPosture(state.identifier)) in <lambda>()
72 private fun deviceStateToPosture(deviceStateId: Int): DeviceState { in deviceStateToPosture() method
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DPosturesHelper.kt41 fun deviceStateToPosture(deviceState: Int): Int { in deviceStateToPosture() method
DDeviceStateRotationLockSettingsManager.java138 int posture = mPosturesHelper.deviceStateToPosture(deviceState); in updateSetting()
164 int devicePosture = mPosturesHelper.deviceStateToPosture(deviceState); in getRotationLockSetting()