Searched refs:backgroundWakeLockData (Results 1 – 3 of 3) sorted by relevance
107 @NonNull public final WakeLockData backgroundWakeLockData; field in WakeLockStats.WakeLock114 @NonNull WakeLockData backgroundWakeLockData) { in WakeLock() argument119 this.backgroundWakeLockData = backgroundWakeLockData; in WakeLock()124 WakeLockData totalWakeLockData, WakeLockData backgroundWakeLockData) { in isDataValid() argument127 && backgroundWakeLockData.isDataValid() in isDataValid()128 && totalWakeLockData.timesAcquired >= backgroundWakeLockData.timesAcquired in isDataValid()129 && totalWakeLockData.totalTimeHeldMs >= backgroundWakeLockData.totalTimeHeldMs in isDataValid()130 && totalWakeLockData.timeHeldMs >= backgroundWakeLockData.timeHeldMs; in isDataValid()138 backgroundWakeLockData = new WakeLockData(in); in WakeLock()146 backgroundWakeLockData.writeToParcel(out); in writeToParcel()[all …]
82 final WakeLockStats.WakeLockData backgroundWakeLockData = in isDataValidOfWakeLock_invalidData_returnFalse() local86 assertThat(WakeLockStats.WakeLock.isDataValid(totalWakeLockData, backgroundWakeLockData)) in isDataValidOfWakeLock_invalidData_returnFalse()95 final WakeLockStats.WakeLockData backgroundWakeLockData = in isDataValidOfWakeLock_totalSmallerThanBackground_returnFalse() local99 assertThat(WakeLockStats.WakeLock.isDataValid(totalWakeLockData, backgroundWakeLockData)) in isDataValidOfWakeLock_totalSmallerThanBackground_returnFalse()108 final WakeLockStats.WakeLockData backgroundWakeLockData = in isDataValidOfWakeLock_returnTrue() local112 assertThat(WakeLockStats.WakeLock.isDataValid(totalWakeLockData, backgroundWakeLockData)) in isDataValidOfWakeLock_returnTrue()159 assertThat(actualWakelock.backgroundWakeLockData.timesAcquired).isEqualTo(6); in parcelablity()160 assertThat(actualWakelock.backgroundWakeLockData.totalTimeHeldMs).isEqualTo(100); in parcelablity()161 assertThat(actualWakelock.backgroundWakeLockData.timeHeldMs).isEqualTo(30); in parcelablity()171 assertThat(actualAggregatedWakelock.backgroundWakeLockData.timesAcquired).isEqualTo(1); in parcelablity()[all …]
1732 final WakeLockStats.WakeLockData backgroundWakeLockData = in createWakeLock() local1735 return WakeLockStats.WakeLock.isDataValid(totalWakeLockData, backgroundWakeLockData) in createWakeLock()1741 backgroundWakeLockData) : null; in createWakeLock()