WakeLogLog: remove expensive mSavedAcquisitions work

Optimize WakeLockLog to use a TreeMap instead of ArrayList and avoid
O(n) comparisons.

Test: atest WakeLockLogTest
Flag: EXEMPT bugfix
Bug: 441327741

Change-Id: I4a216fef80561165d33357323b9d4c7f678420d9
1 file changed