1 package com.android.car.cartelemetryapp; 2 3 import android.os.PersistableBundle; 4 import com.android.car.cartelemetryapp.IConfigData; 5 import com.android.car.cartelemetryapp.IConfigStateListener; 6 import com.android.car.cartelemetryapp.IResultListener; 7 8 import java.util.List; 9 10 interface ICarMetricsCollectorService { getConfigData()11 List<IConfigData> getConfigData(); addConfig(in String configName)12 void addConfig(in String configName); removeConfig(in String configName)13 void removeConfig(in String configName); setConfigStateListener(in IConfigStateListener listener)14 void setConfigStateListener(in IConfigStateListener listener); setResultListener(in IResultListener listener)15 void setResultListener(in IResultListener listener); getBundleHistory(in String configName)16 List<PersistableBundle> getBundleHistory(in String configName); getErrorHistory(in String configName)17 List<String> getErrorHistory(in String configName); clearHistory(in String configName)18 void clearHistory(in String configName); getLog()19 String getLog(); 20 } 21