/base/powermgr/battery_statistics/services/native/src/entities/ |
D | uid_entity.cpp | 71 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
|
D | user_entity.cpp | 35 double UserEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::UserEntity
|
D | idle_entity.cpp | 85 double IdleEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::IdleEntity
|
D | alarm_entity.cpp | 65 double AlarmEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AlarmEntity
|
D | wakelock_entity.cpp | 69 double WakelockEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::WakelockEntity
|
D | flashlight_entity.cpp | 69 double FlashlightEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::FlashlightEntity
|
D | gnss_entity.cpp | 68 double GnssEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::GnssEntity
|
D | audio_entity.cpp | 72 double AudioEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() function in OHOS::PowerMgr::AudioEntity
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_core_test.cpp | 144 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/ |
D | user_entity.h | 30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | idle_entity.h | 30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | alarm_entity.h | 31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | flashlight_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | wakelock_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | audio_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | gnss_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | camera_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | screen_entity.h | 31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | cpu_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | phone_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | uid_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | sensor_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | wifi_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | bluetooth_entity.h | 38 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
D | battery_stats_entity.h | 33 virtual double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) = 0;
|