platform_system_core/metricsd/uploader
Bertrand SIMONNET 9d3a4aeae2 metricsd: Use different directories for each daemon.
Instead of using a single directory for both the internal data of
metricsd and metrics_collector and the shared files (metrics samples log
file and the metrics enabled file), we should use separate directory to
allow for a finer access control.

The new structure will be:
* /data/misc/metrics for the files accessible to all daemons reporting
  metrics, metricsd and metrics_collector.
* /data/misc/metricsd for the private files of metricsd.
* /data/misc/metrics_collector for the private files of
  metrics_collector.

Bug: 25886951
Test: Unit tests.
Test: Manual: metricsd and metrics_collector run without errors.

Change-Id: I006d19f45f5f419d2b08744126c2e2a0b899c9fa
2015-11-30 13:34:49 -08:00
..
mock metricsd: Make the unit tests pass. 2015-09-02 13:30:48 -07:00
proto metricsd: Rename build_target_id to product_id. 2015-10-06 15:27:37 -07:00
metrics_hashes.cc metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_hashes.h metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_hashes_unittest.cc metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_log.cc metricsd: Don't crash when some metadata is missing. 2015-08-20 11:57:50 -07:00
metrics_log.h metricsd: Don't crash when some metadata is missing. 2015-08-20 11:57:50 -07:00
metrics_log_base.cc Use GetBuildTime from libchrome instead of __DATE__ 2015-10-29 13:02:42 -07:00
metrics_log_base.h metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
metrics_log_base_unittest.cc metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
sender.h metricsd: Relicense as Apache 2. 2015-08-10 15:57:47 -07:00
sender_http.cc system/core: Rename "chromeos" -> "brillo" in include paths and namespaces 2015-10-13 15:29:24 -07:00
sender_http.h core: Rename libchromeos into libbrillo 2015-10-27 11:46:37 -07:00
system_profile_cache.cc metricsd: Use different directories for each daemon. 2015-11-30 13:34:49 -08:00
system_profile_cache.h metricsd: Don't upload if product id is empty. 2015-11-17 13:22:30 -08:00
system_profile_setter.h metricsd: Don't crash when some metadata is missing. 2015-08-20 11:57:50 -07:00
upload_service.cc metricsd: Use different directories for each daemon. 2015-11-30 13:34:49 -08:00
upload_service.h metricsd: Use different directories for each daemon. 2015-11-30 13:34:49 -08:00
upload_service_test.cc metricsd: Use different directories for each daemon. 2015-11-30 13:34:49 -08:00