Searched refs:GetTotalTimeMs (Results 1 – 6 of 6) sorted by relevance
/base/powermgr/battery_statistics/services/native/src/entities/ |
D | uid_entity.cpp | 256 … int64_t bluetoothBrScanTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_BLUETOOTH_BR_SCAN); in DumpForBluetooth() 257 …int64_t bluetoothBleScanTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_BLUETOOTH_BLE_SCAN… in DumpForBluetooth() 271 int64_t cameraTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_CAMERA_ON); in DumpForCommon() 274 int64_t flashlightTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_FLASHLIGHT_ON); in DumpForCommon() 277 int64_t gnssTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_GNSS_ON); in DumpForCommon() 280 int64_t gravityTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_SENSOR_GRAVITY_ON); in DumpForCommon() 283 int64_t proximityTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_SENSOR_PROXIMITY_ON); in DumpForCommon() 286 int64_t audioTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_AUDIO_ON); in DumpForCommon() 289 int64_t wakelockTime = core->GetTotalTimeMs(uid, StatsUtils::STATS_TYPE_WAKELOCK_HOLD); in DumpForCommon()
|
D | phone_entity.cpp | 50 activeTimeMs = GetTotalTimeMs(StatsUtils::STATS_TYPE_PHONE_ACTIVE); in GetActiveTimeMs() 66 activeTimeMs = GetTotalTimeMs(StatsUtils::STATS_TYPE_PHONE_DATA); in GetActiveTimeMs() 76 int64_t PhoneEntity::GetTotalTimeMs(StatsUtils::StatsType statsType) in GetTotalTimeMs() function in OHOS::PowerMgr::PhoneEntity
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_core.cpp | 559 int64_t BatteryStatsCore::GetTotalTimeMs(StatsUtils::StatsType statsType, int16_t level) in GetTotalTimeMs() function in OHOS::PowerMgr::BatteryStatsCore 638 int64_t BatteryStatsCore::GetTotalTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t leve… in GetTotalTimeMs() function in OHOS::PowerMgr::BatteryStatsCore 779 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_BLUETOOTH_BR_ON)); in SaveForHardware() 781 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_BLUETOOTH_BLE_ON)); in SaveForHardware() 785 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_SCREEN_ON)); in SaveForHardware() 788 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_SCREEN_BRIGHTNESS, brightNess)); in SaveForHardware() 793 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_WIFI_ON)); in SaveForHardware() 799 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_PHONE_IDLE)); in SaveForHardware() 804 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_PHONE_ACTIVE, signalOn)); in SaveForHardware() 808 Json::Value(GetTotalTimeMs(StatsUtils::STATS_TYPE_PHONE_DATA, signalData)); in SaveForHardware() [all …]
|
D | battery_stats_service.cpp | 270 double timeMs = static_cast<double>(core_->GetTotalTimeMs(uid, statsType)); in GetTotalTimeSecond() 273 double timeMs = static_cast<double>(core_->GetTotalTimeMs(statsType)); in GetTotalTimeSecond()
|
/base/powermgr/battery_statistics/services/native/include/entities/ |
D | phone_entity.h | 39 int64_t GetTotalTimeMs(StatsUtils::StatsType statsType);
|
/base/powermgr/battery_statistics/services/native/include/ |
D | battery_stats_core.h | 45 …int64_t GetTotalTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE); 46 int64_t GetTotalTimeMs(int32_t uid, StatsUtils::StatsType statsType,
|