Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java91 BatteryStatsImpl.UserInfoProvider mUserInfoProvider; field in BatteryStatsCpuTimesTest
109 .setUserInfoProvider(mUserInfoProvider); in setUp()
134 Mockito.reset(mUserInfoProvider, mCpuUidFreqTimeReader, mCpuUidUserSysTimeReader); in testUpdateCpuTimeLocked()
146 verify(mUserInfoProvider).refreshUserIds(); in testUpdateCpuTimeLocked()
251 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked()
324 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked_isolatedUid()
415 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked_invalidUid()
416 when(mUserInfoProvider.exists(invalidUserId)).thenReturn(false); in testReadKernelUidCpuTimesLocked_invalidUid()
459 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuTimesLocked_withPartialTimers()
543 when(mUserInfoProvider.exists(testUserId)).thenReturn(true); in testReadKernelUidCpuFreqTimesLocked()
[all …]
DMockBatteryStatsImpl.java137 mUserInfoProvider = provider; in setUserInfoProvider()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java631 protected UserInfoProvider mUserInfoProvider = null; field in BatteryStatsImpl
1097 mUserInfoProvider = null; in BatteryStatsImpl()
9851 mUserInfoProvider = userInfoProvider; in BatteryStatsImpl()
11626 mUserInfoProvider.refreshUserIds(); in updateCpuTimeLocked()
11755 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuTimesLocked()
11863 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuFreqTimesLocked()
11976 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuActiveTimesLocked()
12005 if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { in readKernelUidCpuClusterTimesLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt95265 Lcom/android/internal/os/BatteryStatsImpl;->mUserInfoProvider:Lcom/android/internal/os/BatteryStats…