Home
last modified time | relevance | path

Searched refs:CONSUMPTION_TYPE_AUDIO (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/powermgr/battery_statistics/frameworks/native/src/
H A Dbattery_stats_info.cpp157 case CONSUMPTION_TYPE_AUDIO: in ConvertTypeForApp()
158 result = GET_VARIABLE_NAME(CONSUMPTION_TYPE_AUDIO); in ConvertTypeForApp()
197 case CONSUMPTION_TYPE_AUDIO: in ConvertConsumptionType()
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_core_test.cpp76 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO));
149 … BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO)->GetActiveTimeMs(uid, StatsUtils::STATS_TYPE_INVALID));
151 BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO)->GetEntityPowerMah());
153 … BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID));
H A Dstats_service_audio_test.cpp347 auto audioEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO);
/ohos5.0/base/powermgr/battery_statistics/interfaces/inner_api/include/
H A Dbattery_stats_info.h42 CONSUMPTION_TYPE_AUDIO, enumerator
/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Daudio_entity.cpp30 consumptionType_ = BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO; in AudioEntity()
H A Duid_entity.cpp85 auto audioEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO); in CalculateForCommon()
189 auto audioEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO); in GetPowerForCommon()
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_powermgr_test.cpp389 EXPECT_EQ(GET_VARIABLE_NAME(CONSUMPTION_TYPE_AUDIO),
390 BatteryStatsInfo::ConvertConsumptionType(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO));
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_core.cpp192 case BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO: in GetEntity()