Home
last modified time | relevance | path

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

/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DUiActionLatencyHelper.java38 private final StatsdHelper mStatsdHelper = new StatsdHelper(); field in UiActionLatencyHelper
49 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()
57 for (StatsLog.EventMetricData dataItem : mStatsdHelper.getEventMetrics()) { in getMetrics()
77 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DCrashHelper.java42 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in CrashHelper
53 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()
61 List<StatsLog.EventMetricData> eventMetricData = mStatsdHelper.getEventMetrics(); in getMetrics()
118 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DUiInteractionFrameInfoHelper.java45 private final StatsdHelper mStatsdHelper = new StatsdHelper(); field in UiInteractionFrameInfoHelper
55 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()
81 mStatsdHelper.getEventMetrics()) { in getMetrics()
136 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DCpuUsageHelper.java50 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in CpuUsageHelper
69 return mStatsdHelper.addGaugeConfig(atomIdList); in startCollecting()
76 List<StatsLog.GaugeMetricData> gaugeMetricList = mStatsdHelper.getGaugeMetrics(); in getMetrics()
91 String packageName = mStatsdHelper.getPackageName(uId); in getMetrics()
180 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DThermalHelper.java62 private StatsdHelper mStatsdHelper; field in ThermalHelper
230 if (mStatsdHelper == null) { in getStatsdHelper()
231 mStatsdHelper = new StatsdHelper(); in getStatsdHelper()
233 return mStatsdHelper; in getStatsdHelper()
238 mStatsdHelper = helper; in setStatsdHelper()
DAppStartupHelper.java58 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in AppStartupHelper
72 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()
80 List<StatsLog.EventMetricData> eventMetricData = mStatsdHelper.getEventMetrics(); in getMetrics()
268 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DBatteryUsageStatsHelper.java50 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in BatteryUsageStatsHelper
60 return mStatsdHelper.addGaugeConfig(atomIdList); in startCollecting()
296 List<StatsLog.GaugeMetricData> gaugeMetricList = mStatsdHelper.getGaugeMetrics(); in getMetrics()
339 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
DStatsdStatsHelper.java51 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in StatsdStatsHelper.DefaultStatsdHelper
55 return mStatsdHelper.getStatsdStatsReport(); in getStatsdStatsReport()
59 private IStatsdHelper mStatsdHelper = new DefaultStatsdHelper(); field in StatsdStatsHelper
69 mStatsdHelper = helper; in StatsdStatsHelper()
84 final StatsLog.StatsdStatsReport report = mStatsdHelper.getStatsdStatsReport(); in getMetrics()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DThermalHelperTest.java81 private StatsdHelper mStatsdHelper; field in ThermalHelperTest
88 mStatsdHelper = Mockito.spy(new StatsdHelper()); in setUp()
89 mThermalHelper.setStatsdHelper(mStatsdHelper); in setUp()
113 when(mStatsdHelper.getEventMetrics()).thenReturn(new ArrayList<StatsLog.EventMetricData>()); in testInitialMetricsWithoutEvents()
125 when(mStatsdHelper.getEventMetrics()) in testSingleEvent()
146 when(mStatsdHelper.getEventMetrics()) in testMultipleDifferentEvents()
181 mThermalHelper.setStatsdHelper(mStatsdHelper); in testParseTemperature()