Searched refs:mUserInfoProvider (Results 1 – 3 of 3) sorted by relevance
85 BatteryStatsImpl.UserInfoProvider mUserInfoProvider; field in BatteryStatsCpuTimesTest103 .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 …]
128 mUserInfoProvider = provider; in setUserInfoProvider()
594 protected UserInfoProvider mUserInfoProvider = null; field in BatteryStatsImpl1055 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()