/base/powermgr/battery_statistics/services/native/src/entities/ |
H A D | user_entity.cpp | 34 double UserEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 37 auto iter = userPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 41 power, uidOrUserId);
in GetEntityPowerMah() 44 "No user power consumption related with user id: %{public}d found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | flashlight_entity.cpp | 69 double FlashlightEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 72 auto iter = flashlightPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 76 power, uidOrUserId);
in GetEntityPowerMah() 79 "No app flashlight power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | gnss_entity.cpp | 68 double GnssEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 71 auto iter = gnssPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 75 power, uidOrUserId);
in GetEntityPowerMah() 78 "No app gnss power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | audio_entity.cpp | 72 double AudioEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 75 auto iter = audioPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 79 power, uidOrUserId);
in GetEntityPowerMah() 82 "No app audio power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | alarm_entity.cpp | 65 double AlarmEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() argument 68 auto iter = alarmPowerMap_.find(uidOrUserId); in GetEntityPowerMah() 72 power, uidOrUserId); in GetEntityPowerMah() 75 "No app alarm power consumption related to uid: %{public}d was found, return 0", uidOrUserId); in GetEntityPowerMah()
|
H A D | wakelock_entity.cpp | 69 double WakelockEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 72 auto iter = wakelockPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 76 power, uidOrUserId);
in GetEntityPowerMah() 79 "No app wakelock power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | camera_entity.cpp | 66 double CameraEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 69 auto iter = cameraPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 73 power, uidOrUserId);
in GetEntityPowerMah() 76 "No app camera power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | sensor_entity.cpp | 123 double SensorEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 126 auto iter = sensorTotalPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 130 power, uidOrUserId);
in GetEntityPowerMah() 133 "No app sensor power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | cpu_entity.cpp | 172 double CpuEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 175 auto iter = cpuTotalPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 179 power, uidOrUserId);
in GetEntityPowerMah() 182 "No app cpu total power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
H A D | bluetooth_entity.cpp | 233 double BluetoothEntity::GetEntityPowerMah(int32_t uidOrUserId)
in GetEntityPowerMah() argument 236 if (uidOrUserId > StatsUtils::INVALID_VALUE) {
in GetEntityPowerMah() 237 auto iter = appBluetoothPowerMap_.find(uidOrUserId);
in GetEntityPowerMah() 241 power, uidOrUserId);
in GetEntityPowerMah() 244 "No app blueooth power consumption related to uid: %{public}d was found, return 0", uidOrUserId);
in GetEntityPowerMah()
|
/base/powermgr/battery_statistics/services/native/include/entities/ |
H A D | user_entity.h | 30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | alarm_entity.h | 31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | idle_entity.h | 30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | flashlight_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | audio_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | gnss_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | wakelock_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | cpu_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | phone_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | camera_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | sensor_entity.h | 33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | wifi_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | screen_entity.h | 31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | uid_entity.h | 32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|
H A D | bluetooth_entity.h | 38 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
|