Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/battery_statistics/frameworks/native/src/
H A Dbattery_stats_info.cpp151 case CONSUMPTION_TYPE_CAMERA: in ConvertTypeForApp()
152 result = GET_VARIABLE_NAME(CONSUMPTION_TYPE_CAMERA); in ConvertTypeForApp()
195 case CONSUMPTION_TYPE_CAMERA: in ConvertConsumptionType()
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_core_test.cpp74 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA));
167 … BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)->GetActiveTimeMs(uid, StatsUtils::STATS_TYPE_INVALID));
169 BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)->GetEntityPowerMah());
171 …BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALID));
H A Dstats_service_camera_test.cpp778 auto cameraEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA);
/ohos5.0/base/powermgr/battery_statistics/interfaces/inner_api/include/
H A Dbattery_stats_info.h40 CONSUMPTION_TYPE_CAMERA, enumerator
/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Dcamera_entity.cpp28 consumptionType_ = BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA; in CameraEntity()
H A Duid_entity.cpp83 auto cameraEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA); in CalculateForCommon()
187 auto cameraEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA); in GetPowerForCommon()
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_powermgr_test.cpp385 EXPECT_EQ(GET_VARIABLE_NAME(CONSUMPTION_TYPE_CAMERA),
386 BatteryStatsInfo::ConvertConsumptionType(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA));
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_core.cpp188 case BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA: in GetEntity()