Home
last modified time | relevance | path

Searched refs:Calculate (Results 1 – 25 of 39) sorted by relevance

12

/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_digest.h54 virtual int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate() function
78 int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) override;
96 int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) override;
114 int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) override;
Dpkg_algo_digest.cpp75 int32_t Crc32Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate() function in Hpackage::Crc32Algorithm
117 int32_t Sha256Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate() function in Hpackage::Sha256Algorithm
159 int32_t Sha384Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate() function in Hpackage::Sha384Algorithm
/base/powermgr/battery_statistics/services/native/src/entities/
Duid_entity.cpp70 bluetoothEntity->Calculate(uid); in CalculateForConnectivity()
90 cameraEntity->Calculate(uid); in CalculateForCommon()
93 flashlightEntity->Calculate(uid); in CalculateForCommon()
96 audioEntity->Calculate(uid); in CalculateForCommon()
99 sensorEntity->Calculate(uid); in CalculateForCommon()
102 gnssEntity->Calculate(uid); in CalculateForCommon()
105 cpuEntity->Calculate(uid); in CalculateForCommon()
108 wakelockEntity->Calculate(uid); in CalculateForCommon()
111 alarmEntity->Calculate(uid); in CalculateForCommon()
118 void UidEntity::Calculate(int32_t uid) in Calculate() function in OHOS::PowerMgr::UidEntity
Duser_entity.cpp64 void UserEntity::Calculate(int32_t uid) in Calculate() function in OHOS::PowerMgr::UserEntity
Didle_entity.cpp49 void IdleEntity::Calculate(int32_t uid) in Calculate() function in OHOS::PowerMgr::IdleEntity
Dalarm_entity.cpp48 void AlarmEntity::Calculate(int32_t uid) in Calculate() function in OHOS::PowerMgr::AlarmEntity
/base/powermgr/battery_statistics/services/native/include/entities/
Duser_entity.h32 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Didle_entity.h28 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dalarm_entity.h29 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dflashlight_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dwakelock_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Daudio_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dgnss_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dcamera_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dscreen_entity.h29 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dcpu_entity.h31 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dphone_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Duid_entity.h31 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dsensor_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dwifi_entity.h29 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dbluetooth_entity.h34 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
Dbattery_stats_entity.h35 virtual void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) = 0;
/base/update/updater/test/unittest/package/
Dpkg_algo_unittest.cpp57 ret = algo->Calculate(crcResult, crcBuffer, sizeof(buff)); in TestCrcDigest()
77 ret = algo->Calculate(dig, buffer, sizeof(buff)); in TestHash256Digest()
96 ret = algo->Calculate(dig, buffer384, sizeof(buff)); in TestHash384Digest()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp153 uidEntity_->Calculate(); in ComputePower()
154 bluetoothEntity_->Calculate(); in ComputePower()
155 idleEntity_->Calculate(); in ComputePower()
156 phoneEntity_->Calculate(); in ComputePower()
157 screenEntity_->Calculate(); in ComputePower()
158 wifiEntity_->Calculate(); in ComputePower()
159 userEntity_->Calculate(); in ComputePower()
/base/sensors/sensor/vibration_convert/core/algorithm/conversion/include/
Dconversion_fft.h291 int32_t Calculate(const std::vector<float> &fftData);

12