Home
last modified time | relevance | path

Searched refs:uidOrUserId (Results 1 - 25 of 31) sorted by relevance

12

/base/powermgr/battery_statistics/services/native/src/entities/
H A Duser_entity.cpp34 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 Dflashlight_entity.cpp69 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 Dgnss_entity.cpp68 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 Daudio_entity.cpp72 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 Dalarm_entity.cpp65 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 Dwakelock_entity.cpp69 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 Dcamera_entity.cpp66 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 Dsensor_entity.cpp123 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 Dcpu_entity.cpp172 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 Dbluetooth_entity.cpp233 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 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;

Completed in 12 milliseconds

12