Searched refs:Hash64 (Results 1 – 10 of 10) sorted by relevance
/packages/modules/StatsD/statsd/src/ |
D | hash.h | 27 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()
|
D | hash.cpp | 91 uint64_t Hash64(const char* data, size_t n, uint64_t seed) { in Hash64() function
|
D | stats_log_util.cpp | 146 (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/ |
D | UidMap.cpp | 375 (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/ |
D | statsd_test_util_test.cpp | 75 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()
|
D | statsd_test_util.cpp | 1893 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()
|
D | UidMap_test.cpp | 573 uint64_t installerHash = Hash64(installer); in SetUp()
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 144 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()
|
D | config_update_utils.cpp | 62 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/ |
D | AnomalyTracker.cpp | 270 return {nullopt, Hash64(serializedAlert)}; in getProtoHash()
|