Searched refs:metricsConfig (Results 1 – 11 of 11) sorted by relevance
/packages/services/Car/service/src/com/android/car/telemetry/ |
D | MetricsConfigStore.java | 84 public int addMetricsConfig(@NonNull TelemetryProto.MetricsConfig metricsConfig) { in addMetricsConfig() argument 86 if (metricsConfig.getVersion() <= 0) { in addMetricsConfig() 89 if (mActiveConfigs.containsKey(metricsConfig.getName())) { in addMetricsConfig() 90 int currentVersion = mActiveConfigs.get(metricsConfig.getName()).getVersion(); in addMetricsConfig() 91 if (currentVersion > metricsConfig.getVersion()) { in addMetricsConfig() 93 } else if (currentVersion == metricsConfig.getVersion()) { in addMetricsConfig() 97 mActiveConfigs.put(metricsConfig.getName(), metricsConfig); in addMetricsConfig() local 99 IoUtils.writeProto(mConfigDirectory, metricsConfig.getName(), metricsConfig); in addMetricsConfig()
|
D | CarTelemetryService.java | 354 TelemetryProto.MetricsConfig metricsConfig; in addMetricsConfigInternal() local 356 metricsConfig = TelemetryProto.MetricsConfig.parseFrom(config); in addMetricsConfigInternal() 361 if (metricsConfig.getName().length() == 0) { in addMetricsConfigInternal() 365 if (!metricsConfig.getName().equals(metricsConfigName)) { in addMetricsConfigInternal() 367 + " doesn't match name in MetricsConfig (" + metricsConfig.getName() + ")."); in addMetricsConfigInternal() 370 int status = mMetricsConfigStore.addMetricsConfig(metricsConfig); in addMetricsConfigInternal() 382 mDataBroker.addMetricsConfig(metricsConfigName, metricsConfig); in addMetricsConfigInternal()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | AbstractPublisher.java | 58 void onConfigFinished(@NonNull TelemetryProto.MetricsConfig metricsConfig); in onConfigFinished() argument 112 protected void onConfigFinished(@NonNull TelemetryProto.MetricsConfig metricsConfig) { in onConfigFinished() argument 113 mPublisherListener.onConfigFinished(metricsConfig); in onConfigFinished()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/ |
D | FakePublisherListener.java | 46 public void onConfigFinished(@NonNull TelemetryProto.MetricsConfig metricsConfig) { in onConfigFinished() argument 47 mFinishedConfig = metricsConfig; in onConfigFinished()
|
D | ConnectivityPublisherTest.java | 549 TelemetryProto.MetricsConfig metricsConfig, TelemetryProto.Subscriber subscriber) { in FakeDataSubscriber() argument 550 super(/* dataBroker= */ null, metricsConfig, subscriber); in FakeDataSubscriber()
|
/packages/services/Car/service/src/com/android/car/telemetry/databroker/ |
D | DataBrokerImpl.java | 186 public void onConfigFinished(@NonNull TelemetryProto.MetricsConfig metricsConfig) { 187 String configName = metricsConfig.getName(); 301 @NonNull String metricsConfigName, @NonNull MetricsConfig metricsConfig) { in addMetricsConfig() argument 309 metricsConfig.getSubscribersList().size()); in addMetricsConfig() 310 for (TelemetryProto.Subscriber subscriber : metricsConfig.getSubscribersList()) { in addMetricsConfig() 320 metricsConfig, in addMetricsConfig()
|
D | DataSubscriber.java | 45 @NonNull TelemetryProto.MetricsConfig metricsConfig, in DataSubscriber() argument 48 mMetricsConfig = metricsConfig; in DataSubscriber()
|
D | DataBroker.java | 85 @NonNull String metricsConfigName, @NonNull TelemetryProto.MetricsConfig metricsConfig); in addMetricsConfig() argument
|
/packages/services/Car/car-lib/src/android/car/telemetry/ |
D | CarTelemetryManager.java | 285 @NonNull byte[] metricsConfig, in addMetricsConfig() argument 288 if (metricsConfig.length > METRICS_CONFIG_MAX_SIZE_BYTES) { in addMetricsConfig() 292 mService.addMetricsConfig(metricsConfigName, metricsConfig, new ResultReceiver(null) { in addMetricsConfig()
|
D | ICarTelemetryService.aidl | 18 void addMetricsConfig(in String metricsConfigName, in byte[] metricsConfig, in addMetricsConfig() argument
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1919 …method TIRAMISU_0 void addMetricsConfig(String metricsConfigName, byte[] metricsConfig, Executor e…
|