Searched refs:mStatsdHelper (Results 1 – 5 of 5) sorted by relevance
47 private StatsdHelper mStatsdHelper; field in ThermalHelper151 if (mStatsdHelper == null) { in getStatsdHelper()152 mStatsdHelper = new StatsdHelper(); in getStatsdHelper()154 return mStatsdHelper; in getStatsdHelper()159 mStatsdHelper = helper; in setStatsdHelper()
44 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in CrashHelper55 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()63 List<EventMetricData> eventMetricData = mStatsdHelper.getEventMetrics(); in getMetrics()111 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
55 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in CpuUsageHelper77 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()
60 private StatsdHelper mStatsdHelper = new StatsdHelper(); field in AppStartupHelper74 return mStatsdHelper.addEventConfig(atomIdList); in startCollecting()82 List<EventMetricData> eventMetricData = mStatsdHelper.getEventMetrics(); in getMetrics()241 return mStatsdHelper.removeStatsConfig(); in stopCollecting()
56 private StatsdHelper mStatsdHelper; field in ThermalHelperTest63 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()