Home
last modified time | relevance | path

Searched refs:CONSUMPTION_TYPE_APP (Results 1 – 14 of 14) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/
Dstats_client_test_mock_parcel.cpp48 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
75 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
103 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
126 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
Dstats_client_test_mock_peer.cpp43 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
Dstats_client_test_mock_object.cpp44 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_info.cpp148 case CONSUMPTION_TYPE_APP: in ConvertTypeForApp()
149 result = GET_VARIABLE_NAME(CONSUMPTION_TYPE_APP); in ConvertTypeForApp()
194 case CONSUMPTION_TYPE_APP: in ConvertConsumptionType()
/base/powermgr/battery_statistics/interfaces/inner_api/include/
Dbattery_stats_info.h32 CONSUMPTION_TYPE_APP, enumerator
/base/powermgr/battery_statistics/test/unittest/src/servicetest/mock/
Dstats_service_test_mock_parcel.cpp64 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
/base/powermgr/battery_statistics/services/native/src/
Dcpu_time_reader.cpp231 … g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuActiveTime()
314 …dEntity = g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuClusterTime()
452 … g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuFreqTime()
536 … g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuTime()
Dbattery_stats_core.cpp173 case BatteryStatsInfo::CONSUMPTION_TYPE_APP: in GetEntity()
713 if ((*iter)->GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_APP) { in GetAppStatsMah()
734 if ((*iter)->GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_APP) { in GetAppStatsPercent()
874 if ((*iter)->GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_APP) { in SaveForPower()
939 info->SetConsumptioType(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in LoadBatteryStatsData()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_powermgr_test.cpp330 BatteryStatsInfo::ConsumptionType consumptionType = BatteryStatsInfo::CONSUMPTION_TYPE_APP;
371 EXPECT_EQ(GET_VARIABLE_NAME(CONSUMPTION_TYPE_APP),
372 BatteryStatsInfo::ConvertConsumptionType(BatteryStatsInfo::CONSUMPTION_TYPE_APP));
/base/powermgr/battery_statistics/frameworks/napi/src/
Dbattery_stats_module.cpp104 napi_create_int32(env, (int32_t)BatteryStatsInfo::ConsumptionType::CONSUMPTION_TYPE_APP, &app); in CreateEnumStatsType()
/base/powermgr/battery_statistics/services/native/src/entities/
Duid_entity.cpp36 consumptionType_ = BatteryStatsInfo::CONSUMPTION_TYPE_APP; in UidEntity()
138 statsInfo->SetConsumptioType(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in AddtoStatsList()
Dbluetooth_entity.cpp431 auto uidEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in GetBluetoothUidPower()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_core_test.cpp67 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP));
276 auto uidEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP);
Dstats_service_alarm_test.cpp255 auto uidEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP);