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/
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_ function in OHOS::PowerMgr::UidEntity
[all...]
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 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 Daudio_entity.cpp72 double AudioEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AudioEntity
H A Dalarm_entity.cpp65 double AlarmEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AlarmEntity
H A Dwifi_entity.cpp70 double WifiEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::WifiEntity
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_core_test.cpp152 BatteryStatsInfo::CONSUMPTION_TYPE_ALARM)->GetEntityPowerMah()); in HWTEST_F()
159 BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO)->GetEntityPowerMah()); in HWTEST_F()
168 BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetEntityPowerMah()); in HWTEST_F()
177 BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)->GetEntityPowerMah()); in HWTEST_F()
184 BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT)->GetEntityPowerMah()); in HWTEST_F()
191 BatteryStatsInfo::CONSUMPTION_TYPE_GNSS)->GetEntityPowerMah()); in HWTEST_F()
223 BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR)->GetEntityPowerMah()); in HWTEST_F()
228 BatteryStatsInfo::CONSUMPTION_TYPE_USER)->GetEntityPowerMah()); in HWTEST_F()
233 BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK)->GetEntityPowerMah()); in HWTEST_F()
265 EXPECT_EQ(StatsUtils::DEFAULT_VALUE, cpuEntity->GetEntityPowerMah(invalidUi in HWTEST_F()
[all...]
/base/powermgr/battery_statistics/services/native/include/entities/
H A Duser_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 Didle_entity.h30 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 Daudio_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 Dcpu_entity.h32 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 Dcamera_entity.h33 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 Dwifi_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 Duid_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;

Completed in 7 milliseconds

12