Home
last modified time | relevance | path

Searched refs:mUserInfoProvider (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java85 BatteryStatsImpl.UserInfoProvider mUserInfoProvider; field in BatteryStatsCpuTimesTest
103 .setUserInfoProvider(mUserInfoProvider); in setUp()
128 Mockito.reset(mUserInfoProvider, mKernelUidCpuFreqTimeReader, mKernelUidCpuTimeReader); in testUpdateCpuTimeLocked()
140 verify(mUserInfoProvider).refreshUserIds(); in testUpdateCpuTimeLocked()
244 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked()
315 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked_isolatedUid()
404 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked_invalidUid()
405 when(mUserInfoProvider.exists(invalidUserId)).thenReturn(false); in testReadKernelUidCpuTimesLocked_invalidUid()
447 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked_withPartialTimers()
530 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuFreqTimesLocked()
[all …]
DMockBatteryStatsImpl.java128 mUserInfoProvider = provider; in setUserInfoProvider()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java594 protected UserInfoProvider mUserInfoProvider = null; field in BatteryStatsImpl
1055 mUserInfoProvider = null; in BatteryStatsImpl()
10213 mUserInfoProvider = userInfoProvider; in BatteryStatsImpl()
11957 mUserInfoProvider.refreshUserIds(); in updateCpuTimeLocked()
12084 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuTimesLocked()
12192 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuFreqTimesLocked()
12299 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuActiveTimesLocked()
12328 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuClusterTimesLocked()