Home
last modified time | relevance | path

Searched refs:Hash64 (Results 1 – 10 of 10) sorted by relevance

/packages/modules/StatsD/statsd/src/
Dhash.h27 extern uint64_t Hash64(const char* data, size_t n, uint64_t seed);
37 inline uint64_t Hash64(const char* data, size_t n) { in Hash64() function
38 return Hash64(data, n, 0xDECAFCAFFE); in Hash64()
41 inline uint64_t Hash64(const std::string& str) { in Hash64() function
42 return Hash64(str.data(), str.size()); in Hash64()
Dhash.cpp91 uint64_t Hash64(const char* data, size_t n, uint64_t seed) { in Hash64() function
Dstats_log_util.cpp146 (long long)Hash64(dim.mValue.str_value)); in writeDimensionToProtoHelper()
212 (long long)Hash64(dim.mValue.str_value)); in writeDimensionLeafToProtoHelper()
/packages/modules/StatsD/statsd/src/packages/
DUidMap.cpp375 (long long)Hash64(packageName)); in writeUidMapSnapshotLocked()
379 (long long)Hash64(appData.versionString)); in writeUidMapSnapshotLocked()
389 (long long)Hash64(appData.installer)); in writeUidMapSnapshotLocked()
444 (long long)Hash64(record.package)); in appendUidMap()
448 (long long)Hash64(record.versionString)); in appendUidMap()
451 (long long)Hash64(record.prevVersionString)); in appendUidMap()
495 (long long)Hash64(installerName)); in appendUidMap()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util_test.cpp75 EXPECT_THAT(packageInfo.name_hash(), Eq(Hash64(appName))); in TEST()
79 EXPECT_THAT(packageInfo.version_string_hash(), Eq(Hash64(versionString))); in TEST()
139 EXPECT_THAT(packageInfo.installer_hash(), Eq(Hash64(installer))); in TEST()
Dstatsd_test_util.cpp1893 uint64_t hash = Hash64(str); in backfillStringInReport()
2218 packageInfo.set_name_hash(Hash64(name)); in buildPackageInfo()
2219 packageInfo.set_version_string_hash(Hash64(versionString)); in buildPackageInfo()
2228 packageInfo.set_installer_hash(Hash64(*installer)); in buildPackageInfo()
DUidMap_test.cpp573 uint64_t installerHash = Hash64(installer); in SetUp()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp144 uint64_t protoHash = Hash64(serializedMatcher); in createAtomMatchingTracker()
178 uint64_t protoHash = Hash64(serializedPredicate); in createConditionTracker()
203 metricHash = Hash64(serializedMetric); in getMetricProtoHash()
215 metricHash = Hash64(to_string(metricHash).append(to_string(Hash64(serializedActivation)))); in getMetricProtoHash()
1561 stateProtoHashes[stateId] = Hash64(serializedState); in initStates()
Dconfig_update_utils.cpp62 uint64_t newProtoHash = Hash64(serializedMatcher); in determineMatcherUpdateStatus()
264 uint64_t newProtoHash = Hash64(serializedCondition); in determineConditionUpdateStatus()
1099 uint64_t newProtoHash = Hash64(serializedAlert); in determineAlertUpdateStatus()
/packages/modules/StatsD/statsd/src/anomaly/
DAnomalyTracker.cpp270 return {nullopt, Hash64(serializedAlert)}; in getProtoHash()