Home
last modified time | relevance | path

Searched defs:statsType (Results 1 – 24 of 24) sorted by relevance

/base/powermgr/battery_statistics/utils/native/src/
Dstats_utils.cpp22 std::string StatsUtils::ConvertTypeForConn(StatsType statsType) in ConvertTypeForConn()
57 std::string StatsUtils::ConvertTypeForCpu(StatsType statsType) in ConvertTypeForCpu()
86 std::string StatsUtils::ConvertTypeForCommon(StatsType statsType) in ConvertTypeForCommon()
127 std::string StatsUtils::ConvertTypeForDebug(StatsType statsType) in ConvertTypeForDebug()
150 std::string StatsUtils::ConvertStatsType(StatsType statsType) in ConvertStatsType()
/base/powermgr/battery_statistics/services/native/src/entities/
Dbattery_stats_entity.cpp34 int64_t BatteryStatsEntity::GetTrafficByte(StatsUtils::StatsType statsType, int32_t uid) in GetTrafficByte()
40 int64_t BatteryStatsEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount()
56 int64_t BatteryStatsEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t l… in GetActiveTimeMs()
62 int64_t BatteryStatsEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
96 double BatteryStatsEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
102 …ptr<StatsHelper::ActiveTimer> BatteryStatsEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, in GetOrCreateTimer()
110 StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer()
117 StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer()
123 …d_ptr<StatsHelper::Counter> BatteryStatsEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, in GetOrCreateCounter()
Dwifi_entity.cpp55 int64_t WifiEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
79 double WifiEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
84 int64_t WifiEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount()
103 …d_ptr<StatsHelper::ActiveTimer> WifiEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, int1… in GetOrCreateTimer()
125 …red_ptr<StatsHelper::Counter> WifiEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, int3… in GetOrCreateCounter()
Dalarm_entity.cpp34 int64_t AlarmEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount()
86 double AlarmEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
103 …ed_ptr<StatsHelper::Counter> AlarmEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, int3… in GetOrCreateCounter()
Dphone_entity.cpp34 int64_t PhoneEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
76 int64_t PhoneEntity::GetTotalTimeMs(StatsUtils::StatsType statsType) in GetTotalTimeMs()
133 double PhoneEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
138 …_ptr<StatsHelper::ActiveTimer> PhoneEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, int1… in GetOrCreateTimer()
Dflashlight_entity.cpp34 int64_t FlashlightEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t lev… in GetActiveTimeMs()
88 double FlashlightEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
106 StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer()
Dwakelock_entity.cpp34 int64_t WakelockEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
88 double WakelockEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
105 …Helper::ActiveTimer> WakelockEntity::GetOrCreateTimer(int32_t uid, StatsUtils::StatsType statsType, in GetOrCreateTimer()
Dgnss_entity.cpp34 int64_t GnssEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
87 double GnssEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
104 …tatsHelper::ActiveTimer> GnssEntity::GetOrCreateTimer(int32_t uid, StatsUtils::StatsType statsType, in GetOrCreateTimer()
Daudio_entity.cpp34 int64_t AudioEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
87 double AudioEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
104 …atsHelper::ActiveTimer> AudioEntity::GetOrCreateTimer(int32_t uid, StatsUtils::StatsType statsType, in GetOrCreateTimer()
Dscreen_entity.cpp33 int64_t ScreenEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
110 double ScreenEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
115 …ptr<StatsHelper::ActiveTimer> ScreenEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, int1… in GetOrCreateTimer()
Dcamera_entity.cpp32 int64_t CameraEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
81 double CameraEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
99 StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer()
Dbluetooth_entity.cpp170 int64_t BluetoothEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t leve… in GetActiveTimeMs()
202 int64_t BluetoothEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
250 double BluetoothEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
336 StatsUtils::StatsType statsType, int16_t level) in GetOrCreateTimer()
375 …ed_ptr<StatsHelper::ActiveTimer> BluetoothEntity::GetOrCreateTimer(StatsUtils::StatsType statsType, in GetOrCreateTimer()
Dsensor_entity.cpp34 int64_t SensorEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
137 double SensorEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
164 …tsHelper::ActiveTimer> SensorEntity::GetOrCreateTimer(int32_t uid, StatsUtils::StatsType statsType, in GetOrCreateTimer()
Didle_entity.cpp33 int64_t IdleEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
90 double IdleEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
Duid_entity.cpp159 double UidEntity::GetPowerForConnectivity(StatsUtils::StatsType statsType, int32_t uid) in GetPowerForConnectivity()
173 double UidEntity::GetPowerForCommon(StatsUtils::StatsType statsType, int32_t uid) in GetPowerForCommon()
212 double UidEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
Dcpu_entity.cpp185 double CpuEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp208 void BatteryStatsCore::UpdateStats(StatsUtils::StatsType statsType, int64_t time, int64_t data, int… in UpdateStats()
230 void BatteryStatsCore::UpdateConnectivityStats(StatsUtils::StatsType statsType, StatsUtils::StatsSt… in UpdateConnectivityStats()
250 void BatteryStatsCore::UpdateCommonStats(StatsUtils::StatsType statsType, StatsUtils::StatsState st… in UpdateCommonStats()
276 void BatteryStatsCore::UpdateStats(StatsUtils::StatsType statsType, StatsUtils::StatsState state, i… in UpdateStats()
320 void BatteryStatsCore::UpdateScreenStats(StatsUtils::StatsType statsType, StatsUtils::StatsState st… in UpdateScreenStats()
336 void BatteryStatsCore::UpdateCameraStats(StatsUtils::StatsType statsType, StatsUtils::StatsState st… in UpdateCameraStats()
363 void BatteryStatsCore::UpdatePhoneStats(StatsUtils::StatsType statsType, StatsUtils::StatsState sta… in UpdatePhoneStats()
386 …StatsCore::UpdateTimer(std::shared_ptr<BatteryStatsEntity> entity, StatsUtils::StatsType statsType, in UpdateTimer()
419 …StatsCore::UpdateTimer(std::shared_ptr<BatteryStatsEntity> entity, StatsUtils::StatsType statsType, in UpdateTimer()
535 …atsCore::UpdateCounter(std::shared_ptr<BatteryStatsEntity> entity, StatsUtils::StatsType statsType, in UpdateCounter()
[all …]
Dbattery_stats_service.cpp246 uint64_t BatteryStatsService::GetTotalTimeSecond(const StatsUtils::StatsType& statsType, const int3… in GetTotalTimeSecond()
260 uint64_t BatteryStatsService::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32… in GetTotalDataBytes()
/base/powermgr/battery_statistics/services/native/test/unittest/src/mock/
Dstats_mock_parcel_test.cpp51 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
78 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
106 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
Dstats_mock_peer_test.cpp46 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
Dstats_mock_object_test.cpp47 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
/base/powermgr/battery_statistics/frameworks/native/src/
Dbattery_stats_client.cpp149 uint64_t BatteryStatsClient::GetTotalTimeSecond(const StatsUtils::StatsType& statsType, const int32… in GetTotalTimeSecond()
158 uint64_t BatteryStatsClient::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_… in GetTotalDataBytes()
/base/powermgr/battery_statistics/services/zidl/src/
Dbattery_stats_stub.cpp128 StatsUtils::StatsType statsType = StatsUtils::StatsType(type); in GetTotalTimeSecondStub() local
142 StatsUtils::StatsType statsType = StatsUtils::StatsType(type); in GetTotalDataBytesStub() local
Dbattery_stats_proxy.cpp58 uint64_t BatteryStatsProxy::GetTotalTimeSecond(const StatsUtils::StatsType& statsType, const int32_… in GetTotalTimeSecond()
86 uint64_t BatteryStatsProxy::GetTotalDataBytes(const StatsUtils::StatsType& statsType, const int32_t… in GetTotalDataBytes()