Add per-UID measured camera stats

Attribute camera energy consumption to individual UIDs based on their
camera-on time.

Works similarly to how GNSS energy consumption is attributed to UIDs.

Bug: 258319905
Test: atest BatteryStatsTests
Change-Id: Ia2191fc0a96d8b966459b127a8949508427d9531
4 files changed