Lines Matching refs:HashableDimensionKey
37 class HashableDimensionKey {
39 explicit HashableDimensionKey(const std::vector<FieldValue>& values) { in HashableDimensionKey() function
43 HashableDimensionKey() {}; in HashableDimensionKey() function
45 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey() function
68 bool operator==(const HashableDimensionKey& that) const;
70 bool operator<(const HashableDimensionKey& that) const;
72 bool contains(const HashableDimensionKey& that) const;
80 explicit MetricDimensionKey(const HashableDimensionKey& dimensionKeyInWhat, in MetricDimensionKey()
81 const HashableDimensionKey& dimensionKeyInCondition) in MetricDimensionKey()
95 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat()
99 inline const HashableDimensionKey& getDimensionKeyInCondition() const { in getDimensionKeyInCondition()
103 inline void setDimensionKeyInCondition(const HashableDimensionKey& key) { in setDimensionKeyInCondition()
116 HashableDimensionKey mDimensionKeyInWhat;
117 HashableDimensionKey mDimensionKeyInCondition;
120 android::hash_t hashDimension(const HashableDimensionKey& key);
133 HashableDimensionKey* output);
146 HashableDimensionKey* conditionDimension);
154 using android::os::statsd::HashableDimensionKey;
158 struct hash<HashableDimensionKey> {
159 std::size_t operator()(const HashableDimensionKey& key) const {