Home
last modified time | relevance | path

Searched refs:ConvertStatsType (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_util_test.cpp76 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_WIFI_ON));
78 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_WIFI_SCAN));
82 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_PHONE_DATA));
84 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_BATTERY));
88 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_THERMAL));
102 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_CAMERA_ON));
108 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_GNSS_ON));
114 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_AUDIO_ON));
116 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_SCREEN_ON));
120 StatsUtils::ConvertStatsType(StatsUtils::StatsType::STATS_TYPE_ALARM));
[all …]
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_core.cpp215 StatsUtils::ConvertStatsType(statsType).c_str(), uid, time, data); in UpdateStats()
326 StatsUtils::ConvertStatsType(statsType).c_str(), state, level, lastBrightnessLevel_); in UpdateScreenStats()
368 StatsUtils::ConvertStatsType(statsType).c_str(), state, level); in UpdatePhoneStats()
394 StatsUtils::ConvertStatsType(statsType).c_str(), in UpdateTimer()
427 StatsUtils::ConvertStatsType(statsType).c_str(), in UpdateTimer()
549 StatsUtils::ConvertStatsType(statsType).c_str(), in UpdateCounter()
569 StatsUtils::ConvertStatsType(statsType).c_str(), level); in GetTotalTimeMs()
597 StatsUtils::ConvertStatsType(statsType).c_str()); in GetTotalTimeMs()
650 StatsUtils::ConvertStatsType(statsType).c_str(), uid, level); in GetTotalTimeMs()
694 StatsUtils::ConvertStatsType(statsType).c_str(), uid); in GetTotalDataCount()
[all …]
H A Dbattery_stats_detector.cpp30 StatsUtils::ConvertStatsType(data.type).c_str(), in HandleStatsChangedEvent()
/ohos5.0/base/powermgr/battery_statistics/utils/native/include/
H A Dstats_utils.h117 static std::string ConvertStatsType(StatsType statsType);
/ohos5.0/base/powermgr/battery_statistics/utils/native/src/
H A Dstats_utils.cpp150 std::string StatsUtils::ConvertStatsType(StatsType statsType) in ConvertStatsType() function in OHOS::PowerMgr::StatsUtils
/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Duid_entity.cpp250 StatsUtils::ConvertStatsType(statsType).c_str(), power, uid); in GetStatsPowerMah()