Replace aborted with half_open in FoldStateProvider

All FOLD_UPDATE_ABORTED emissions were due to device stuck in half opened state.

This will allow us to log FULL_OPEN, HALF_OPEN and FULL_CLOSED states easily.

+ Removed some unused states.
+ DeviceFoldStateProviderTest.kt formatted with ktfmt

Bug: 198305865
Test: atest DeviceFoldStateProviderTest
Change-Id: Iadbe4bdc4cbdf2720efb46fbd69cfadf0b8357a8
4 files changed