Plumb through the reason for wakeup from Doze.

@DozeLog.Reason is included along with the
powerManager.wakeUp. This would describe why the device was
woken up from doze: "intent", "notification", "sigmotion",
"pickup", "docking", etc. [1]

This also includes the Keyguard session ID along with the UI
events logged in DozeTrigger

[1]:
http://cs/android-internal/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeLog.java;l=435;rcl=6fd5473508c5d4cb15513053ec8a50dcd1d44e74

Bug: 238809124
Test: atest DozeMachineTest
Test: atest DozeTriggersTest
Test: atest DozeScreenStatePreventingAdapterTest
Change-Id: I6f8799112eccf129fa846ff8eb8f549566dfa01d
8 files changed