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/
Duser_entity.cpp35 double UserEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() argument
38 auto iter = userPowerMap_.find(uidOrUserId); in GetEntityPowerMah()
42 power, uidOrUserId); in GetEntityPowerMah()
45 … "No user power consumption related with user id: %{public}d found, return 0", uidOrUserId); in GetEntityPowerMah()
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()
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()
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()
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()
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()
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()
Dsensor_entity.cpp122 double SensorEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() argument
125 auto iter = sensorTotalPowerMap_.find(uidOrUserId); in GetEntityPowerMah()
129 power, uidOrUserId); in GetEntityPowerMah()
132 … "No app sensor power consumption related to uid: %{public}d was found, return 0", uidOrUserId); in GetEntityPowerMah()
Dcpu_entity.cpp170 double CpuEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() argument
173 auto iter = cpuTotalPowerMap_.find(uidOrUserId); in GetEntityPowerMah()
177 power, uidOrUserId); in GetEntityPowerMah()
180 … "No app cpu total power consumption related to uid: %{public}d was found, return 0", uidOrUserId); in GetEntityPowerMah()
Dbluetooth_entity.cpp230 double BluetoothEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() argument
233 if (uidOrUserId > StatsUtils::INVALID_VALUE) { in GetEntityPowerMah()
234 auto iter = appBluetoothPowerMap_.find(uidOrUserId); in GetEntityPowerMah()
238 power, uidOrUserId); in GetEntityPowerMah()
241 … "No app blueooth power consumption related to uid: %{public}d was found, return 0", uidOrUserId); in GetEntityPowerMah()
Duid_entity.cpp144 double UidEntity::GetEntityPowerMah(int32_t uidOrUserId) in GetEntityPowerMah() argument
147 auto iter = uidPowerMap_.find(uidOrUserId); in GetEntityPowerMah()
151 power, uidOrUserId); in GetEntityPowerMah()
154 … "No app uid power consumption related to uid: %{public}d was found, return 0", uidOrUserId); in GetEntityPowerMah()
/base/powermgr/battery_statistics/services/native/include/entities/
Duser_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Didle_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dalarm_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Daudio_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dgnss_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dwakelock_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dflashlight_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dcamera_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dcpu_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dscreen_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Duid_entity.h31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dphone_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dsensor_entity.h33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
Dwifi_entity.h32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;

12