Home
last modified time | relevance | path

Searched refs:GetEntityPowerMah (Results 1 – 25 of 33) sorted by relevance

12

/base/powermgr/battery_statistics/services/native/src/entities/
Duid_entity.cpp71 power += bluetoothEntity->GetEntityPowerMah(uid); in CalculateForConnectivity()
91 power += cameraEntity->GetEntityPowerMah(uid); in CalculateForCommon()
94 power += flashlightEntity->GetEntityPowerMah(uid); in CalculateForCommon()
97 power += audioEntity->GetEntityPowerMah(uid); in CalculateForCommon()
100 power += sensorEntity->GetEntityPowerMah(uid); in CalculateForCommon()
103 power += gnssEntity->GetEntityPowerMah(uid); in CalculateForCommon()
106 power += cpuEntity->GetEntityPowerMah(uid); in CalculateForCommon()
109 power += wakelockEntity->GetEntityPowerMah(uid); in CalculateForCommon()
112 power += alarmEntity->GetEntityPowerMah(uid); in CalculateForCommon()
147 double UidEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::UidEntity
Duser_entity.cpp35 double UserEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::UserEntity
Didle_entity.cpp85 double IdleEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::IdleEntity
Dalarm_entity.cpp65 double AlarmEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AlarmEntity
Dwakelock_entity.cpp69 double WakelockEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::WakelockEntity
Dflashlight_entity.cpp69 double FlashlightEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::FlashlightEntity
Dgnss_entity.cpp68 double GnssEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::GnssEntity
Daudio_entity.cpp72 double AudioEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AudioEntity
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_core_test.cpp144 BatteryStatsInfo::CONSUMPTION_TYPE_ALARM)->GetEntityPowerMah());
151 BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO)->GetEntityPowerMah());
160 BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetEntityPowerMah());
169 BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)->GetEntityPowerMah());
176 BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT)->GetEntityPowerMah());
183 BatteryStatsInfo::CONSUMPTION_TYPE_GNSS)->GetEntityPowerMah());
213 BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR)->GetEntityPowerMah());
218 BatteryStatsInfo::CONSUMPTION_TYPE_USER)->GetEntityPowerMah());
223 BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK)->GetEntityPowerMah());
253 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, cpuEntity->GetEntityPowerMah(invalidUid));
/base/powermgr/battery_statistics/services/native/include/entities/
Duser_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Didle_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dalarm_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dflashlight_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dwakelock_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Daudio_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dgnss_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dcamera_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dscreen_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dcpu_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dphone_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Duid_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dsensor_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dwifi_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dbluetooth_entity.h38 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dbattery_stats_entity.h33 virtual double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) = 0;

12