Searched refs:mStatistics (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationRequestStatisticsTest.java | 20 private LocationRequestStatistics mStatistics; field in LocationRequestStatisticsTest 25 mStatistics = new LocationRequestStatistics(); in setUp() 33 mStatistics.startRequesting(PACKAGE1, PROVIDER1, INTERVAL1, true); in testSinglePackage() 35 assertEquals(1, mStatistics.statistics.size()); in testSinglePackage() 36 PackageProviderKey key = mStatistics.statistics.keySet().iterator().next(); in testSinglePackage() 39 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage() 50 mStatistics.startRequesting(PACKAGE1, PROVIDER1, INTERVAL1, true); in testSinglePackage_stopAndRestart() 51 mStatistics.stopRequesting(PACKAGE1, PROVIDER1); in testSinglePackage_stopAndRestart() 52 mStatistics.startRequesting(PACKAGE1, PROVIDER1, INTERVAL1, true); in testSinglePackage_stopAndRestart() 54 assertEquals(1, mStatistics.statistics.size()); in testSinglePackage_stopAndRestart() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 1419 mStatistics.addValue(nanoseconds_to_microseconds(latency)); in reportEventForStatistics() 1420 nsecs_t timeSinceLastReport = now - mStatistics.lastReportTime; in reportEventForStatistics() 1422 android::util::stats_write(android::util::TOUCH_EVENT_REPORTED, mStatistics.min, in reportEventForStatistics() 1423 mStatistics.max, mStatistics.mean(), mStatistics.stdev(), in reportEventForStatistics() 1424 mStatistics.count); in reportEventForStatistics() 1425 mStatistics.reset(now); in reportEventForStatistics()
|
D | TouchInputMapper.h | 763 struct LatencyStatistics mStatistics; variable
|