Loading cmds/statsd/Android.bp +73 −73 Original line number Diff line number Diff line Loading @@ -51,11 +51,6 @@ cc_defaults { srcs: [ ":statsd_aidl", "src/active_config_list.proto", "src/statsd_config.proto", "src/uid_data.proto", "src/FieldValue.cpp", "src/hash.cpp", "src/stats_log_util.cpp", "src/anomaly/AlarmMonitor.cpp", "src/anomaly/AlarmTracker.cpp", "src/anomaly/AnomalyTracker.cpp", Loading @@ -63,51 +58,56 @@ cc_defaults { "src/anomaly/subscriber_util.cpp", "src/condition/CombinationConditionTracker.cpp", "src/condition/condition_util.cpp", "src/condition/SimpleConditionTracker.cpp", "src/condition/ConditionWizard.cpp", "src/condition/SimpleConditionTracker.cpp", "src/condition/StateConditionTracker.cpp", "src/config/ConfigKey.cpp", "src/config/ConfigListener.cpp", "src/config/ConfigManager.cpp", "src/external/GpuStatsPuller.cpp", "src/external/Perfetto.cpp", "src/external/StatsPuller.cpp", "src/external/PowerStatsPuller.cpp", "src/external/puller_util.cpp", "src/external/ResourceHealthManagerPuller.cpp", "src/external/StatsCallbackPuller.cpp", "src/external/StatsCompanionServicePuller.cpp", "src/external/StatsPuller.cpp", "src/external/StatsPullerManager.cpp", "src/external/SubsystemSleepStatePuller.cpp", "src/external/PowerStatsPuller.cpp", "src/external/ResourceHealthManagerPuller.cpp", "src/external/TrainInfoPuller.cpp", "src/external/StatsPullerManager.cpp", "src/external/puller_util.cpp", "src/FieldValue.cpp", "src/guardrail/StatsdStats.cpp", "src/hash.cpp", "src/HashableDimensionKey.cpp", "src/logd/LogEvent.cpp", "src/logd/LogEventQueue.cpp", "src/matchers/CombinationLogMatchingTracker.cpp", "src/matchers/EventMatcherWizard.cpp", "src/matchers/matcher_util.cpp", "src/matchers/SimpleLogMatchingTracker.cpp", "src/metrics/MetricProducer.cpp", "src/metrics/EventMetricProducer.cpp", "src/metrics/CountMetricProducer.cpp", "src/metrics/DurationMetricProducer.cpp", "src/metrics/duration_helper/OringDurationTracker.cpp", "src/metrics/duration_helper/MaxDurationTracker.cpp", "src/metrics/ValueMetricProducer.cpp", "src/metrics/duration_helper/OringDurationTracker.cpp", "src/metrics/DurationMetricProducer.cpp", "src/metrics/EventMetricProducer.cpp", "src/metrics/GaugeMetricProducer.cpp", "src/metrics/MetricsManager.cpp", "src/metrics/MetricProducer.cpp", "src/metrics/metrics_manager_util.cpp", "src/metrics/MetricsManager.cpp", "src/metrics/ValueMetricProducer.cpp", "src/packages/UidMap.cpp", "src/storage/StorageManager.cpp", "src/shell/shell_config.proto", "src/shell/ShellSubscriber.cpp", "src/socket/StatsSocketListener.cpp", "src/stats_log_util.cpp", "src/statscompanion_util.cpp", "src/statsd_config.proto", "src/StatsLogProcessor.cpp", "src/StatsService.cpp", "src/statscompanion_util.cpp", "src/storage/StorageManager.cpp", "src/subscriber/IncidentdReporter.cpp", "src/subscriber/SubscriberReporter.cpp", "src/HashableDimensionKey.cpp", "src/guardrail/StatsdStats.cpp", "src/socket/StatsSocketListener.cpp", "src/shell/ShellSubscriber.cpp", "src/shell/shell_config.proto", "src/uid_data.proto", ], local_include_dirs: [ Loading @@ -120,23 +120,23 @@ cc_defaults { ], shared_libs: [ "android.frameworks.stats@1.0", "android.hardware.health@2.0", "android.hardware.power.stats@1.0", "android.hardware.power@1.0", "android.hardware.power@1.1", "libbase", "libbinder", "libcutils", "libgraphicsenv", "libhidlbase", "libincident", "liblog", "libutils", "libservices", "libprotoutil", "libservices", "libstatslog", "libhidlbase", "android.frameworks.stats@1.0", "android.hardware.health@2.0", "android.hardware.power@1.0", "android.hardware.power@1.1", "android.hardware.power.stats@1.0", "libsysutils", "libcutils", "libutils", ], } Loading Loading @@ -210,54 +210,54 @@ cc_test { "src/atom_field_options.proto", "src/atoms.proto", "src/stats_log.proto", "src/shell/shell_data.proto", "src/stats_log.proto", "tests/AlarmMonitor_test.cpp", "tests/anomaly/AlarmTracker_test.cpp", "tests/anomaly/AnomalyTracker_test.cpp", "tests/condition/CombinationConditionTracker_test.cpp", "tests/condition/ConditionTimer_test.cpp", "tests/condition/SimpleConditionTracker_test.cpp", "tests/condition/StateConditionTracker_test.cpp", "tests/ConfigManager_test.cpp", "tests/external/puller_util_test.cpp", "tests/e2e/Alarm_e2e_test.cpp", "tests/e2e/Anomaly_count_e2e_test.cpp", "tests/e2e/Anomaly_duration_sum_e2e_test.cpp", "tests/e2e/Attribution_e2e_test.cpp", "tests/e2e/ConfigTtl_e2e_test.cpp", "tests/e2e/DurationMetric_e2e_test.cpp", "tests/e2e/GaugeMetric_e2e_pull_test.cpp", "tests/e2e/GaugeMetric_e2e_push_test.cpp", "tests/e2e/MetricActivation_e2e_test.cpp", "tests/e2e/MetricConditionLink_e2e_test.cpp", "tests/e2e/PartialBucket_e2e_test.cpp", "tests/e2e/ValueMetric_pull_e2e_test.cpp", "tests/e2e/WakelockDuration_e2e_test.cpp", "tests/external/GpuStatsPuller_test.cpp", "tests/external/IncidentReportArgs_test.cpp", "tests/external/puller_util_test.cpp", "tests/external/StatsPuller_test.cpp", "tests/FieldValue_test.cpp", "tests/guardrail/StatsdStats_test.cpp", "tests/indexed_priority_queue_test.cpp", "tests/log_event/LogEventQueue_test.cpp", "tests/LogEntryMatcher_test.cpp", "tests/LogEvent_test.cpp", "tests/log_event/LogEventQueue_test.cpp", "tests/MetricsManager_test.cpp", "tests/StatsLogProcessor_test.cpp", "tests/StatsService_test.cpp", "tests/UidMap_test.cpp", "tests/FieldValue_test.cpp", "tests/condition/CombinationConditionTracker_test.cpp", "tests/condition/SimpleConditionTracker_test.cpp", "tests/condition/StateConditionTracker_test.cpp", "tests/condition/ConditionTimer_test.cpp", "tests/metrics/OringDurationTracker_test.cpp", "tests/metrics/MaxDurationTracker_test.cpp", "tests/metrics/CountMetricProducer_test.cpp", "tests/metrics/DurationMetricProducer_test.cpp", "tests/metrics/EventMetricProducer_test.cpp", "tests/metrics/ValueMetricProducer_test.cpp", "tests/metrics/GaugeMetricProducer_test.cpp", "tests/guardrail/StatsdStats_test.cpp", "tests/metrics/MaxDurationTracker_test.cpp", "tests/metrics/metrics_test_helper.cpp", "tests/metrics/OringDurationTracker_test.cpp", "tests/metrics/ValueMetricProducer_test.cpp", "tests/MetricsManager_test.cpp", "tests/shell/ShellSubscriber_test.cpp", "tests/statsd_test_util.cpp", "tests/StatsLogProcessor_test.cpp", "tests/StatsService_test.cpp", "tests/storage/StorageManager_test.cpp", "tests/e2e/WakelockDuration_e2e_test.cpp", "tests/e2e/MetricActivation_e2e_test.cpp", "tests/e2e/MetricConditionLink_e2e_test.cpp", "tests/e2e/Alarm_e2e_test.cpp", "tests/e2e/Attribution_e2e_test.cpp", "tests/e2e/GaugeMetric_e2e_push_test.cpp", "tests/e2e/GaugeMetric_e2e_pull_test.cpp", "tests/e2e/ValueMetric_pull_e2e_test.cpp", "tests/e2e/Anomaly_count_e2e_test.cpp", "tests/e2e/Anomaly_duration_sum_e2e_test.cpp", "tests/e2e/ConfigTtl_e2e_test.cpp", "tests/e2e/PartialBucket_e2e_test.cpp", "tests/e2e/DurationMetric_e2e_test.cpp", "tests/shell/ShellSubscriber_test.cpp", "tests/UidMap_test.cpp", ], static_libs: [ Loading Loading @@ -287,17 +287,17 @@ cc_benchmark { // not included in libprotobuf-cpp-lite, so compile it here. ":libprotobuf-internal-protos", "src/atom_field_options.proto", "src/atoms.proto", "src/stats_log.proto", "benchmark/main.cpp", "benchmark/hello_world_benchmark.cpp", "benchmark/log_event_benchmark.cpp", "benchmark/stats_write_benchmark.cpp", "benchmark/duration_metric_benchmark.cpp", "benchmark/filter_value_benchmark.cpp", "benchmark/get_dimensions_for_condition_benchmark.cpp", "benchmark/hello_world_benchmark.cpp", "benchmark/log_event_benchmark.cpp", "benchmark/main.cpp", "benchmark/metric_util.cpp", "benchmark/duration_metric_benchmark.cpp", "benchmark/stats_write_benchmark.cpp", "src/atom_field_options.proto", "src/atoms.proto", "src/stats_log.proto", ], proto: { Loading Loading @@ -337,11 +337,11 @@ java_library { }, srcs: [ "src/stats_log.proto", "src/statsd_config.proto", "src/atoms.proto", "src/shell/shell_config.proto", "src/shell/shell_data.proto", "src/stats_log.proto", "src/statsd_config.proto", ], static_libs: [ Loading Loading
cmds/statsd/Android.bp +73 −73 Original line number Diff line number Diff line Loading @@ -51,11 +51,6 @@ cc_defaults { srcs: [ ":statsd_aidl", "src/active_config_list.proto", "src/statsd_config.proto", "src/uid_data.proto", "src/FieldValue.cpp", "src/hash.cpp", "src/stats_log_util.cpp", "src/anomaly/AlarmMonitor.cpp", "src/anomaly/AlarmTracker.cpp", "src/anomaly/AnomalyTracker.cpp", Loading @@ -63,51 +58,56 @@ cc_defaults { "src/anomaly/subscriber_util.cpp", "src/condition/CombinationConditionTracker.cpp", "src/condition/condition_util.cpp", "src/condition/SimpleConditionTracker.cpp", "src/condition/ConditionWizard.cpp", "src/condition/SimpleConditionTracker.cpp", "src/condition/StateConditionTracker.cpp", "src/config/ConfigKey.cpp", "src/config/ConfigListener.cpp", "src/config/ConfigManager.cpp", "src/external/GpuStatsPuller.cpp", "src/external/Perfetto.cpp", "src/external/StatsPuller.cpp", "src/external/PowerStatsPuller.cpp", "src/external/puller_util.cpp", "src/external/ResourceHealthManagerPuller.cpp", "src/external/StatsCallbackPuller.cpp", "src/external/StatsCompanionServicePuller.cpp", "src/external/StatsPuller.cpp", "src/external/StatsPullerManager.cpp", "src/external/SubsystemSleepStatePuller.cpp", "src/external/PowerStatsPuller.cpp", "src/external/ResourceHealthManagerPuller.cpp", "src/external/TrainInfoPuller.cpp", "src/external/StatsPullerManager.cpp", "src/external/puller_util.cpp", "src/FieldValue.cpp", "src/guardrail/StatsdStats.cpp", "src/hash.cpp", "src/HashableDimensionKey.cpp", "src/logd/LogEvent.cpp", "src/logd/LogEventQueue.cpp", "src/matchers/CombinationLogMatchingTracker.cpp", "src/matchers/EventMatcherWizard.cpp", "src/matchers/matcher_util.cpp", "src/matchers/SimpleLogMatchingTracker.cpp", "src/metrics/MetricProducer.cpp", "src/metrics/EventMetricProducer.cpp", "src/metrics/CountMetricProducer.cpp", "src/metrics/DurationMetricProducer.cpp", "src/metrics/duration_helper/OringDurationTracker.cpp", "src/metrics/duration_helper/MaxDurationTracker.cpp", "src/metrics/ValueMetricProducer.cpp", "src/metrics/duration_helper/OringDurationTracker.cpp", "src/metrics/DurationMetricProducer.cpp", "src/metrics/EventMetricProducer.cpp", "src/metrics/GaugeMetricProducer.cpp", "src/metrics/MetricsManager.cpp", "src/metrics/MetricProducer.cpp", "src/metrics/metrics_manager_util.cpp", "src/metrics/MetricsManager.cpp", "src/metrics/ValueMetricProducer.cpp", "src/packages/UidMap.cpp", "src/storage/StorageManager.cpp", "src/shell/shell_config.proto", "src/shell/ShellSubscriber.cpp", "src/socket/StatsSocketListener.cpp", "src/stats_log_util.cpp", "src/statscompanion_util.cpp", "src/statsd_config.proto", "src/StatsLogProcessor.cpp", "src/StatsService.cpp", "src/statscompanion_util.cpp", "src/storage/StorageManager.cpp", "src/subscriber/IncidentdReporter.cpp", "src/subscriber/SubscriberReporter.cpp", "src/HashableDimensionKey.cpp", "src/guardrail/StatsdStats.cpp", "src/socket/StatsSocketListener.cpp", "src/shell/ShellSubscriber.cpp", "src/shell/shell_config.proto", "src/uid_data.proto", ], local_include_dirs: [ Loading @@ -120,23 +120,23 @@ cc_defaults { ], shared_libs: [ "android.frameworks.stats@1.0", "android.hardware.health@2.0", "android.hardware.power.stats@1.0", "android.hardware.power@1.0", "android.hardware.power@1.1", "libbase", "libbinder", "libcutils", "libgraphicsenv", "libhidlbase", "libincident", "liblog", "libutils", "libservices", "libprotoutil", "libservices", "libstatslog", "libhidlbase", "android.frameworks.stats@1.0", "android.hardware.health@2.0", "android.hardware.power@1.0", "android.hardware.power@1.1", "android.hardware.power.stats@1.0", "libsysutils", "libcutils", "libutils", ], } Loading Loading @@ -210,54 +210,54 @@ cc_test { "src/atom_field_options.proto", "src/atoms.proto", "src/stats_log.proto", "src/shell/shell_data.proto", "src/stats_log.proto", "tests/AlarmMonitor_test.cpp", "tests/anomaly/AlarmTracker_test.cpp", "tests/anomaly/AnomalyTracker_test.cpp", "tests/condition/CombinationConditionTracker_test.cpp", "tests/condition/ConditionTimer_test.cpp", "tests/condition/SimpleConditionTracker_test.cpp", "tests/condition/StateConditionTracker_test.cpp", "tests/ConfigManager_test.cpp", "tests/external/puller_util_test.cpp", "tests/e2e/Alarm_e2e_test.cpp", "tests/e2e/Anomaly_count_e2e_test.cpp", "tests/e2e/Anomaly_duration_sum_e2e_test.cpp", "tests/e2e/Attribution_e2e_test.cpp", "tests/e2e/ConfigTtl_e2e_test.cpp", "tests/e2e/DurationMetric_e2e_test.cpp", "tests/e2e/GaugeMetric_e2e_pull_test.cpp", "tests/e2e/GaugeMetric_e2e_push_test.cpp", "tests/e2e/MetricActivation_e2e_test.cpp", "tests/e2e/MetricConditionLink_e2e_test.cpp", "tests/e2e/PartialBucket_e2e_test.cpp", "tests/e2e/ValueMetric_pull_e2e_test.cpp", "tests/e2e/WakelockDuration_e2e_test.cpp", "tests/external/GpuStatsPuller_test.cpp", "tests/external/IncidentReportArgs_test.cpp", "tests/external/puller_util_test.cpp", "tests/external/StatsPuller_test.cpp", "tests/FieldValue_test.cpp", "tests/guardrail/StatsdStats_test.cpp", "tests/indexed_priority_queue_test.cpp", "tests/log_event/LogEventQueue_test.cpp", "tests/LogEntryMatcher_test.cpp", "tests/LogEvent_test.cpp", "tests/log_event/LogEventQueue_test.cpp", "tests/MetricsManager_test.cpp", "tests/StatsLogProcessor_test.cpp", "tests/StatsService_test.cpp", "tests/UidMap_test.cpp", "tests/FieldValue_test.cpp", "tests/condition/CombinationConditionTracker_test.cpp", "tests/condition/SimpleConditionTracker_test.cpp", "tests/condition/StateConditionTracker_test.cpp", "tests/condition/ConditionTimer_test.cpp", "tests/metrics/OringDurationTracker_test.cpp", "tests/metrics/MaxDurationTracker_test.cpp", "tests/metrics/CountMetricProducer_test.cpp", "tests/metrics/DurationMetricProducer_test.cpp", "tests/metrics/EventMetricProducer_test.cpp", "tests/metrics/ValueMetricProducer_test.cpp", "tests/metrics/GaugeMetricProducer_test.cpp", "tests/guardrail/StatsdStats_test.cpp", "tests/metrics/MaxDurationTracker_test.cpp", "tests/metrics/metrics_test_helper.cpp", "tests/metrics/OringDurationTracker_test.cpp", "tests/metrics/ValueMetricProducer_test.cpp", "tests/MetricsManager_test.cpp", "tests/shell/ShellSubscriber_test.cpp", "tests/statsd_test_util.cpp", "tests/StatsLogProcessor_test.cpp", "tests/StatsService_test.cpp", "tests/storage/StorageManager_test.cpp", "tests/e2e/WakelockDuration_e2e_test.cpp", "tests/e2e/MetricActivation_e2e_test.cpp", "tests/e2e/MetricConditionLink_e2e_test.cpp", "tests/e2e/Alarm_e2e_test.cpp", "tests/e2e/Attribution_e2e_test.cpp", "tests/e2e/GaugeMetric_e2e_push_test.cpp", "tests/e2e/GaugeMetric_e2e_pull_test.cpp", "tests/e2e/ValueMetric_pull_e2e_test.cpp", "tests/e2e/Anomaly_count_e2e_test.cpp", "tests/e2e/Anomaly_duration_sum_e2e_test.cpp", "tests/e2e/ConfigTtl_e2e_test.cpp", "tests/e2e/PartialBucket_e2e_test.cpp", "tests/e2e/DurationMetric_e2e_test.cpp", "tests/shell/ShellSubscriber_test.cpp", "tests/UidMap_test.cpp", ], static_libs: [ Loading Loading @@ -287,17 +287,17 @@ cc_benchmark { // not included in libprotobuf-cpp-lite, so compile it here. ":libprotobuf-internal-protos", "src/atom_field_options.proto", "src/atoms.proto", "src/stats_log.proto", "benchmark/main.cpp", "benchmark/hello_world_benchmark.cpp", "benchmark/log_event_benchmark.cpp", "benchmark/stats_write_benchmark.cpp", "benchmark/duration_metric_benchmark.cpp", "benchmark/filter_value_benchmark.cpp", "benchmark/get_dimensions_for_condition_benchmark.cpp", "benchmark/hello_world_benchmark.cpp", "benchmark/log_event_benchmark.cpp", "benchmark/main.cpp", "benchmark/metric_util.cpp", "benchmark/duration_metric_benchmark.cpp", "benchmark/stats_write_benchmark.cpp", "src/atom_field_options.proto", "src/atoms.proto", "src/stats_log.proto", ], proto: { Loading Loading @@ -337,11 +337,11 @@ java_library { }, srcs: [ "src/stats_log.proto", "src/statsd_config.proto", "src/atoms.proto", "src/shell/shell_config.proto", "src/shell/shell_data.proto", "src/stats_log.proto", "src/statsd_config.proto", ], static_libs: [ Loading