History log of /system/core/metricsd/persistent_integer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a7bc1c14df9993fc2ae0ec6258e513b8371dd910 25-Nov-2015 Bertrand SIMONNET <bsimonnet@google.com> metricsd: Specify directory for persistent integers.

Instead of using a global directory for persistent integers, specify the
directory to use in the constructor.
This will make changing the backing directory easier.

Bug: 25886951

Change-Id: I590816b195fa81b179a5ec78b9cdf41bc86353dc
/system/core/metricsd/persistent_integer.h
1253186728abd35d7177008598627e7b872974e5 31-Aug-2015 Bertrand SIMONNET <bsimonnet@google.com> metricsd: Make the unit tests pass.

This cleans up the unit tests and update them to pass.

Cleaned up:
* removed the irrelevant bits.
* Used ScopedTempDir for all test specific files (instead of the current
directory).
* Update some objects to make them more easily testable.
* Group all the test in a single binary and use bionic's test runner.

BUG: 23682444
Change-Id: I289e3a5ff89968fdecd4a156e93bc38bbc25f58b
/system/core/metricsd/persistent_integer.h
52e5b99983c1f7ff0b9a1f3b4b80d779073b21c8 11-Aug-2015 Bertrand SIMONNET <bsimonnet@google.com> metricsd: Relicense as Apache 2.

MODULE_LICENSE_BSD and NOTICE were removed as the license is no longer
different from the rest of system/core.

BUG: 23086670
Change-Id: I1e83ef2ecb9c721150f8aab283c9ff960337da8c
/system/core/metricsd/persistent_integer.h
da21ac0751a3abf3502ff74c5de7ad95db52ba30 10-Aug-2015 Bertrand SIMONNET <bsimonnet@google.com> metricsd: Rename metrics to metricsd.

This makes the import path less confusing:
* metrics/metrics_library.h is imported from the exported headers.
* metricsd/* for includes by the metrics daemon itself.

BUG: 22879597
Change-Id: I9f44ea3a548cae39d4546fcd724e8007f6dd4bd0
/system/core/metricsd/persistent_integer.h