Searched refs:mKernelUidCpuFreqTimeReader (Results 1 – 6 of 6) sorted by relevance
74 private KernelUidCpuFreqTimeReader mKernelUidCpuFreqTimeReader; field in KernelUidCpuFreqTimeReaderTest79 mKernelUidCpuFreqTimeReader = new KernelUidCpuFreqTimeReader(mProcReader); in setUp()80 mKernelUidCpuFreqTimeReader.setThrottleInterval(0); in setUp()96 long[] actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs( in testReadFreqs_perClusterTimesNotAvailable()102 assertFalse(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable()106 actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesNotAvailable()108 assertFalse(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable()127 long[] actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs( in testReadFreqs_perClusterTimesAvailable()133 assertTrue(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable()137 actualFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in testReadFreqs_perClusterTimesAvailable()[all …]
79 KernelUidCpuFreqTimeReader mKernelUidCpuFreqTimeReader; field in BatteryStatsCpuTimesTest100 .setKernelUidCpuFreqTimeReader(mKernelUidCpuFreqTimeReader) in setUp()114 when(mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile)).thenReturn(freqs); in testUpdateCpuTimeLocked()122 verify(mKernelUidCpuFreqTimeReader).readDelta(null); in testUpdateCpuTimeLocked()128 Mockito.reset(mUserInfoProvider, mKernelUidCpuFreqTimeReader, mKernelUidCpuTimeReader); in testUpdateCpuTimeLocked()144 verify(mKernelUidCpuFreqTimeReader, times(2)).perClusterTimesAvailable(); in testUpdateCpuTimeLocked()145 verify(mKernelUidCpuFreqTimeReader).readDelta( in testUpdateCpuTimeLocked()151 verifyNoMoreInteractions(mKernelUidCpuFreqTimeReader); in testUpdateCpuTimeLocked()548 }).when(mKernelUidCpuFreqTimeReader).readDelta( in testReadKernelUidCpuFreqTimesLocked()581 }).when(mKernelUidCpuFreqTimeReader).readDelta( in testReadKernelUidCpuFreqTimesLocked()[all …]
54 private KernelUidCpuFreqTimeReader mKernelUidCpuFreqTimeReader; field in BatteryStatsImplTest64 when(mKernelUidCpuFreqTimeReader.allUidTimesAvailable()).thenReturn(true); in setUp()67 .setKernelUidCpuFreqTimeReader(mKernelUidCpuFreqTimeReader) in setUp()253 when(mKernelUidCpuFreqTimeReader.getAllUidCpuFreqTimeMs()).thenReturn(allUidCpuTimes); in testCopyFromAllUidsCpuTimes()
98 mKernelUidCpuFreqTimeReader = reader; in setKernelUidCpuFreqTimeReader()
149 private KernelUidCpuFreqTimeReader mKernelUidCpuFreqTimeReader = field in StatsCompanionService202 mKernelUidCpuFreqTimeReader.setThrottleInterval(0); in StatsCompanionService()203 long[] freqs = mKernelUidCpuFreqTimeReader.readFreqs(powerProfile); in StatsCompanionService()746 mKernelUidCpuFreqTimeReader.readAbsolute((uid, cpuFreqTimeMs) -> { in pullKernelUidCpuFreqTime()
210 protected KernelUidCpuFreqTimeReader mKernelUidCpuFreqTimeReader = field in BatteryStatsImpl292 mKernelUidCpuFreqTimeReader.removeUid(startUid); in remove()302 mKernelUidCpuFreqTimeReader.removeUidsInRange(startUid, endUid); in remove()484 mKernelUidCpuFreqTimeReader.getAllUidCpuFreqTimeMs(); in copyFromAllUidsCpuTimes()541 mCpuFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in initKernelSingleUidTimeReaderLocked()546 mPerProcStateCpuTimesAvailable = mKernelUidCpuFreqTimeReader.allUidTimesAvailable(); in initKernelSingleUidTimeReaderLocked()550 mPerProcStateCpuTimesAvailable = mKernelUidCpuFreqTimeReader.allUidTimesAvailable() in initKernelSingleUidTimeReaderLocked()11917 mCpuFreqs = mKernelUidCpuFreqTimeReader.readFreqs(mPowerProfile); in updateCpuTimeLocked()11944 mKernelUidCpuFreqTimeReader.readDelta(null); in updateCpuTimeLocked()11958 final SparseLongArray updatedUids = mKernelUidCpuFreqTimeReader.perClusterTimesAvailable() in updateCpuTimeLocked()[all …]