/base/powermgr/battery_statistics/utils/native/src/ |
D | stats_utils.cpp | 22 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/ |
D | battery_stats_entity.cpp | 34 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()
|
D | wifi_entity.cpp | 55 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()
|
D | alarm_entity.cpp | 34 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()
|
D | phone_entity.cpp | 34 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()
|
D | flashlight_entity.cpp | 34 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()
|
D | wakelock_entity.cpp | 34 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()
|
D | gnss_entity.cpp | 34 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()
|
D | audio_entity.cpp | 34 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()
|
D | screen_entity.cpp | 33 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()
|
D | camera_entity.cpp | 32 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()
|
D | bluetooth_entity.cpp | 170 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()
|
D | sensor_entity.cpp | 34 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()
|
D | idle_entity.cpp | 33 int64_t IdleEntity::GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() 90 double IdleEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
|
D | uid_entity.cpp | 159 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()
|
D | cpu_entity.cpp | 185 double CpuEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_core.cpp | 208 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 …]
|
D | battery_stats_service.cpp | 246 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/ |
D | stats_mock_parcel_test.cpp | 51 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
|
D | stats_mock_peer_test.cpp | 46 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
|
D | stats_mock_object_test.cpp | 47 StatsUtils::StatsType statsType = StatsUtils::STATS_TYPE_PHONE_ACTIVE; variable
|
/base/powermgr/battery_statistics/frameworks/native/src/ |
D | battery_stats_client.cpp | 149 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/ |
D | battery_stats_stub.cpp | 128 StatsUtils::StatsType statsType = StatsUtils::StatsType(type); in GetTotalTimeSecondStub() local 142 StatsUtils::StatsType statsType = StatsUtils::StatsType(type); in GetTotalDataBytesStub() local
|
D | battery_stats_proxy.cpp | 58 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()
|