/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_core_test.cpp | 153 … BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID)); 162 …BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALI… 164 … BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetOrCreateTimer(StatsUtils::STATS_TYPE_INVALID)); 171 …BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID)); 178 …BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVAL… 185 … BatteryStatsInfo::CONSUMPTION_TYPE_GNSS)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID)); 203 … BatteryStatsInfo::CONSUMPTION_TYPE_PHONE)->GetOrCreateTimer(StatsUtils::STATS_TYPE_INVALID)); 208 … BatteryStatsInfo::CONSUMPTION_TYPE_SCREEN)->GetOrCreateTimer(StatsUtils::STATS_TYPE_INVALID)); 215 …BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID)); 225 …BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID… [all …]
|
/base/powermgr/battery_statistics/services/native/include/entities/ |
D | battery_stats_entity.h | 42 …virtual std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(StatsUtils::StatsType statsType, 44 …virtual std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsT… 46 …virtual std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(const std::string& deviceId, in…
|
D | bluetooth_entity.h | 42 std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(StatsUtils::StatsType statsType, 44 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsType stat…
|
D | audio_entity.h | 35 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsType stat…
|
D | wakelock_entity.h | 35 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsType stat…
|
D | flashlight_entity.h | 35 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsType stat…
|
D | gnss_entity.h | 35 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsType stat…
|
D | camera_entity.h | 35 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(const std::string& deviceId, int32_t ui…
|
D | screen_entity.h | 35 std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(StatsUtils::StatsType statsType,
|
D | phone_entity.h | 34 std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(StatsUtils::StatsType statsType,
|
D | sensor_entity.h | 35 …std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(int32_t uid, StatsUtils::StatsType stat…
|
D | wifi_entity.h | 34 std::shared_ptr<StatsHelper::ActiveTimer> GetOrCreateTimer(StatsUtils::StatsType statsType,
|
/base/powermgr/battery_statistics/services/native/src/entities/ |
D | battery_stats_entity.cpp | 102 std::shared_ptr<StatsHelper::ActiveTimer> BatteryStatsEntity::GetOrCreateTimer(StatsUtils::StatsTyp… in GetOrCreateTimer() function in OHOS::PowerMgr::BatteryStatsEntity 109 std::shared_ptr<StatsHelper::ActiveTimer> BatteryStatsEntity::GetOrCreateTimer(int32_t uid, in GetOrCreateTimer() function in OHOS::PowerMgr::BatteryStatsEntity 116 std::shared_ptr<StatsHelper::ActiveTimer> BatteryStatsEntity::GetOrCreateTimer(const std::string& d… in GetOrCreateTimer() function in OHOS::PowerMgr::BatteryStatsEntity
|
D | gnss_entity.cpp | 100 std::shared_ptr<StatsHelper::ActiveTimer> GnssEntity::GetOrCreateTimer(int32_t uid, StatsUtils::Sta… in GetOrCreateTimer() function in OHOS::PowerMgr::GnssEntity
|
D | flashlight_entity.cpp | 101 std::shared_ptr<StatsHelper::ActiveTimer> FlashlightEntity::GetOrCreateTimer(int32_t uid, in GetOrCreateTimer() function in OHOS::PowerMgr::FlashlightEntity
|
D | wifi_entity.cpp | 95 std::shared_ptr<StatsHelper::ActiveTimer> WifiEntity::GetOrCreateTimer(StatsUtils::StatsType statsT… in GetOrCreateTimer() function in OHOS::PowerMgr::WifiEntity
|
D | wakelock_entity.cpp | 101 std::shared_ptr<StatsHelper::ActiveTimer> WakelockEntity::GetOrCreateTimer(int32_t uid, StatsUtils:… in GetOrCreateTimer() function in OHOS::PowerMgr::WakelockEntity
|
D | audio_entity.cpp | 104 std::shared_ptr<StatsHelper::ActiveTimer> AudioEntity::GetOrCreateTimer(int32_t uid, StatsUtils::St… in GetOrCreateTimer() function in OHOS::PowerMgr::AudioEntity
|
D | camera_entity.cpp | 98 std::shared_ptr<StatsHelper::ActiveTimer> CameraEntity::GetOrCreateTimer(const std::string& deviceI… in GetOrCreateTimer() function in OHOS::PowerMgr::CameraEntity
|
D | screen_entity.cpp | 115 std::shared_ptr<StatsHelper::ActiveTimer> ScreenEntity::GetOrCreateTimer(StatsUtils::StatsType stat… in GetOrCreateTimer() function in OHOS::PowerMgr::ScreenEntity
|
D | bluetooth_entity.cpp | 338 std::shared_ptr<StatsHelper::ActiveTimer> BluetoothEntity::GetOrCreateTimer(int32_t uid, in GetOrCreateTimer() function in OHOS::PowerMgr::BluetoothEntity 378 std::shared_ptr<StatsHelper::ActiveTimer> BluetoothEntity::GetOrCreateTimer(StatsUtils::StatsType s… in GetOrCreateTimer() function in OHOS::PowerMgr::BluetoothEntity
|
D | phone_entity.cpp | 138 std::shared_ptr<StatsHelper::ActiveTimer> PhoneEntity::GetOrCreateTimer(StatsUtils::StatsType stats… in GetOrCreateTimer() function in OHOS::PowerMgr::PhoneEntity
|
D | sensor_entity.cpp | 165 std::shared_ptr<StatsHelper::ActiveTimer> SensorEntity::GetOrCreateTimer(int32_t uid, StatsUtils::S… in GetOrCreateTimer() function in OHOS::PowerMgr::SensorEntity
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_core.cpp | 369 timer = phoneEntity_->GetOrCreateTimer(statsType, level); in UpdatePhoneStats() 398 timer = entity->GetOrCreateTimer(uid, statsType); in UpdateTimer() 400 timer = entity->GetOrCreateTimer(statsType); in UpdateTimer() 431 timer = entity->GetOrCreateTimer(uid, statsType); in UpdateTimer() 433 timer = entity->GetOrCreateTimer(statsType); in UpdateTimer() 449 timer = cameraEntity_->GetOrCreateTimer(deviceId, uid, StatsUtils::STATS_TYPE_CAMERA_ON); in UpdateCameraTimer() 451 timer = cameraEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_CAMERA_ON); in UpdateCameraTimer() 487 screenOnTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_ON); in UpdateScreenTimer() 489 brightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateScreenTimer() 516 … auto brightnessTimer = screenEntity_->GetOrCreateTimer(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, in UpdateBrightnessTimer() [all …]
|