Home
last modified time | relevance | path

Searched refs:mCounters (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
DOperationLimiter.h56 DCHECK(mCounters.empty()) << "Destroying OperationLimiter with active operations"; in ~OperationLimiter()
76 auto& cnt = mCounters[key]; // operator[] creates new entries as needed. in EXCLUDES()
99 auto it = mCounters.find(key); in finish()
100 if (it == mCounters.end()) { in finish()
108 mCounters.erase(it); in finish()
117 std::unordered_map<KeyType, int> mCounters GUARDED_BY(mMutex);
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dprofiler.h33 mCounters() {} in Profiler()
41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]); in ~Profiler()
51 mCounters[id]++; in endTimer()
63 std::unordered_map<int, int> mCounters; variable
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java69 HashMap<Integer, Long> mCounters = new HashMap<>(); field in MetricsLogger
180 if (mCounters.containsKey(key)) { in cacheCount()
181 total = mCounters.get(key); in cacheCount()
185 mCounters.put(key, Long.MAX_VALUE); in cacheCount()
188 mCounters.put(key, total + count); in cacheCount()
254 for (int key : mCounters.keySet()) { in drainBufferedCounters()
255 count(key, mCounters.get(key)); in drainBufferedCounters()
257 mCounters.clear(); in drainBufferedCounters()
/packages/modules/NetworkStack/src/android/net/apf/
DApfCounterTracker.java148 private final Map<Counter, Long> mCounters = new ArrayMap<>(); field in ApfCounterTracker
201 long oldValue = mCounters.getOrDefault(counter, 0L); in updateCountersFromData()
204 mCounters.put(counter, value); in updateCountersFromData()
213 return mCounters; in getCounters()