Home
last modified time | relevance | path

Searched refs:mStatsdHelper (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DThermalHelper.java47 private StatsdHelper mStatsdHelper; field in ThermalHelper
151 if (mStatsdHelper == null) { in getStatsdHelper()
152 mStatsdHelper = new StatsdHelper(); in getStatsdHelper()
154 return mStatsdHelper; in getStatsdHelper()
159 mStatsdHelper = helper; in setStatsdHelper()
DCrashHelper.java44 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in CrashHelper
55 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()
63 List<EventMetricData> eventMetricData = mStatsdHelper.getEventMetrics(); in getMetrics()
111 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DCpuUsageHelper.java55 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in CpuUsageHelper
77 return mStatsdHelper.addGaugeConfig(atomIdList); in startCollecting()
84 List<GaugeMetricData> gaugeMetricList = mStatsdHelper.getGaugeMetrics(); in getMetrics()
100 String packageName = mStatsdHelper.getPackageName(uId); in getMetrics()
212 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DAppStartupHelper.java60 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in AppStartupHelper
74 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()
82 List<EventMetricData> eventMetricData = mStatsdHelper.getEventMetrics(); in getMetrics()
241 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DThermalHelperTest.java56 private StatsdHelper mStatsdHelper; field in ThermalHelperTest
63 mStatsdHelper = Mockito.spy(new StatsdHelper()); in setUp()
64 mThermalHelper.setStatsdHelper(mStatsdHelper); in setUp()
88 when(mStatsdHelper.getEventMetrics()).thenReturn(new ArrayList<EventMetricData>()); in testInitialMetricsWithoutEvents()
99 when(mStatsdHelper.getEventMetrics()) in testSingleEvent()
120 when(mStatsdHelper.getEventMetrics()) in testMultipleDifferentEvents()