Lines Matching refs:HashableDimensionKey

44 class HashableDimensionKey {
46 explicit HashableDimensionKey(const std::vector<FieldValue>& values) { in HashableDimensionKey() function
50 HashableDimensionKey() {}; in HashableDimensionKey() function
52 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey() function
77 bool operator!=(const HashableDimensionKey& that) const;
79 bool operator==(const HashableDimensionKey& that) const;
81 bool operator<(const HashableDimensionKey& that) const;
83 bool contains(const HashableDimensionKey& that) const;
91 explicit MetricDimensionKey(const HashableDimensionKey& dimensionKeyInWhat, in MetricDimensionKey()
92 const HashableDimensionKey& stateValuesKey) in MetricDimensionKey()
105 inline const HashableDimensionKey& getDimensionKeyInWhat() const { in getDimensionKeyInWhat()
109 inline const HashableDimensionKey& getStateValuesKey() const { in getStateValuesKey()
113 inline HashableDimensionKey* getMutableStateValuesKey() { in getMutableStateValuesKey()
117 inline void setStateValuesKey(const HashableDimensionKey& key) { in setStateValuesKey()
130 HashableDimensionKey mDimensionKeyInWhat;
131 HashableDimensionKey mStateValuesKey;
134 android::hash_t hashDimension(const HashableDimensionKey& key);
154 HashableDimensionKey* output);
166 bool filterPrimaryKey(const std::vector<FieldValue>& values, HashableDimensionKey* output);
179 HashableDimensionKey* conditionDimension);
186 HashableDimensionKey* statePrimaryKey);
203 bool containsLinkedStateValues(const HashableDimensionKey& whatKey,
204 const HashableDimensionKey& primaryKey,
220 using android::os::statsd::HashableDimensionKey;
224 struct hash<HashableDimensionKey> {
225 std::size_t operator()(const HashableDimensionKey& key) const {