Searched refs:uidEntity (Results 1 – 4 of 4) sorted by relevance
276 auto uidEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); variable278 uidEntity->Reset();279 uidEntity->UpdateUidMap(invalidUid);280 …EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_BLUETOOTH_…281 …EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_BLUETOOTH_…282 …EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_CAMERA_ON)…283 …EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_FLASHLIGHT…284 … EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_GNSS_ON));285 …EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_SENSOR_GRA…286 …EXPECT_EQ(StatsUtils::DEFAULT_VALUE, uidEntity->GetStatsPowerMah(StatsUtils::STATS_TYPE_SENSOR_PRO…[all …]
255 auto uidEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); variable259 double actualPower = uidEntity->GetEntityPowerMah(uid);
230 auto uidEntity = in ReadUidCpuActiveTime() local232 if (uidEntity) { in ReadUidCpuActiveTime()233 uidEntity->UpdateUidMap(uid); in ReadUidCpuActiveTime()314 …auto uidEntity = g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TY… in ReadUidCpuClusterTime() local315 if (uidEntity) { in ReadUidCpuClusterTime()316 uidEntity->UpdateUidMap(uid); in ReadUidCpuClusterTime()451 auto uidEntity = in ReadUidCpuFreqTime() local453 if (uidEntity) { in ReadUidCpuFreqTime()454 uidEntity->UpdateUidMap(uid); in ReadUidCpuFreqTime()535 auto uidEntity = in ReadUidCpuTime() local[all …]
431 auto uidEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in GetBluetoothUidPower() local432 if (uidEntity != nullptr) { in GetBluetoothUidPower()433 bluetoothUidPower = uidEntity->GetEntityPowerMah(bluetoothUid); in GetBluetoothUidPower()