Home
last modified time | relevance | path

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

12

/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Duid_entity.cpp73 power += bluetoothEntity->GetEntityPowerMah(uid); in CalculateForConnectivity()
94 power += cameraEntity->GetEntityPowerMah(uid); in CalculateForCommon()
97 power += flashlightEntity->GetEntityPowerMah(uid); in CalculateForCommon()
100 power += audioEntity->GetEntityPowerMah(uid); in CalculateForCommon()
103 power += sensorEntity->GetEntityPowerMah(uid); in CalculateForCommon()
106 power += gnssEntity->GetEntityPowerMah(uid); in CalculateForCommon()
109 power += cpuEntity->GetEntityPowerMah(uid); in CalculateForCommon()
112 power += wakelockEntity->GetEntityPowerMah(uid); in CalculateForCommon()
115 power += alarmEntity->GetEntityPowerMah(uid); in CalculateForCommon()
151 double UidEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::UidEntity
H A Duser_entity.cpp34 double UserEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::UserEntity
H A Didle_entity.cpp86 double IdleEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::IdleEntity
H A Dalarm_entity.cpp65 double AlarmEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AlarmEntity
H A Daudio_entity.cpp72 double AudioEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AudioEntity
H A Dflashlight_entity.cpp69 double FlashlightEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::FlashlightEntity
H A Dgnss_entity.cpp68 double GnssEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::GnssEntity
H A Dwakelock_entity.cpp69 double WakelockEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::WakelockEntity
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A 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));
/ohos5.0/base/powermgr/battery_statistics/services/native/include/entities/
H A Duser_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Didle_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dalarm_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Daudio_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dflashlight_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dgnss_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dwakelock_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dcamera_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dcpu_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dscreen_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dphone_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dsensor_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Duid_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dwifi_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dbluetooth_entity.h38 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
H A Dbattery_stats_entity.h33 virtual double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) = 0;

12