Home
last modified time | relevance | path

Searched refs:BaseMetricListener (Results 1 – 19 of 19) sorted by relevance

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTestMetricRule.java18 import android.device.collectors.BaseMetricListener;
58 private List<BaseMetricListener> mMetricListeners = new ArrayList<>();
72 BaseMetricListener listener = null; in TestMetricRule()
113 for (BaseMetricListener listener : mMetricListeners) { in TestMetricRule()
121 for (BaseMetricListener listener : mMetricListeners) { in starting()
137 for (BaseMetricListener listener : mMetricListeners) { in finished()
154 for (BaseMetricListener listener : mMetricListeners) { in failed()
168 private BaseMetricListener loadListenerByFullyQualifiedName(String name) throws Exception { in loadListenerByFullyQualifiedName()
178 if (loadedClass == null || (!BaseMetricListener.class.isAssignableFrom(loadedClass))) { in loadListenerByFullyQualifiedName()
186 return (BaseMetricListener) constructor.newInstance(); in loadListenerByFullyQualifiedName()
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/
DLogFileLogger.java18 import android.device.collectors.BaseMetricListener;
30 public class LogFileLogger extends BaseMetricListener {
/platform_testing/libraries/device-collectors/src/main/java/android/device/preparers/
DMemhogPreparer.java18 import android.device.collectors.BaseMetricListener;
29 public final class MemhogPreparer extends BaseMetricListener {
DGarbageCollectionPreparer.java19 import android.device.collectors.BaseMetricListener;
47 public final class GarbageCollectionPreparer extends BaseMetricListener {
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBaseMetricListenerInstrumentedTest.java56 private BaseMetricListener mListener;
66 private BaseMetricListener createWithArgs(Bundle args) { in createWithArgs()
70 return new BaseMetricListener(args) { in createWithArgs()
157 args.putString(BaseMetricListener.INCLUDE_FILTER_GROUP_KEY, "group1,group2"); in testReportMetrics_withIncludeFilters()
205 args.putString(BaseMetricListener.INCLUDE_FILTER_GROUP_KEY, "group4"); in testReportMetrics_withIncludeFilters_multiGroup()
248 args.putString(BaseMetricListener.EXCLUDE_FILTER_GROUP_KEY, "group1,group2"); in testReportMetrics_withExcludeFilters()
291 args.putString(BaseMetricListener.EXCLUDE_FILTER_GROUP_KEY, "group1,group2"); in testReportMetrics_withBothFilters()
292 args.putString(BaseMetricListener.INCLUDE_FILTER_GROUP_KEY, "group2,group3"); in testReportMetrics_withBothFilters()
365 BaseMetricListener listener = in testSetUpAndCleanUpWithTestCycle()
366 new BaseMetricListener() { in testSetUpAndCleanUpWithTestCycle()
[all …]
DStubTestMetricListener.java25 public class StubTestMetricListener extends BaseMetricListener {
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DTestMetricRuleTest.java21 import android.device.collectors.BaseMetricListener;
172 public static class BaseTestableCollector extends BaseMetricListener {
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DMobilityChangeCollector.java37 public class MobilityChangeCollector extends BaseMetricListener {
DBaseMetricListener.java67 public class BaseMetricListener extends InstrumentationRunListener { class
104 public BaseMetricListener() { in BaseMetricListener() method in BaseMetricListener
114 protected BaseMetricListener(Bundle argsBundle) { in BaseMetricListener() method in BaseMetricListener
DBaseCollectionListener.java42 public class BaseCollectionListener<T> extends BaseMetricListener {
DIncidentReportListener.java40 public class IncidentReportListener extends BaseMetricListener {
DSimpleperfListener.java40 public class SimpleperfListener extends BaseMetricListener {
DLogcatCollector.java43 public class LogcatCollector extends BaseMetricListener {
DScreenRecordCollector.java43 public class ScreenRecordCollector extends BaseMetricListener {
DBatteryStatsListener.java56 public class BatteryStatsListener extends BaseMetricListener {
DScreenshotOnFailureCollector.java47 public class ScreenshotOnFailureCollector extends BaseMetricListener {
DGcaEventLogCollector.java45 public class GcaEventLogCollector extends BaseMetricListener {
DPerfettoListener.java45 public class PerfettoListener extends BaseMetricListener {
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java63 public class StatsdListener extends BaseMetricListener {