Transitions - Add dozing information

Dozing is separate state, apart from AOD, where low power sensors are
enabled but the screen is not active. Begin accounting for this state
during transitions.

Also, use the class name for logging.

Also, recover dreaming state after a crash.

Test: atest KeyguardRepositoryImplTest
KeyguardTransitionRepositoryTest
Bug: 195430376
Fixes: 259782960

Change-Id: Id887c886c4a1df4d4c466b5ea9f4c4507bfcd50e
16 files changed