History log of /hardware/google/interfaces/pixelstats/1.0/default/PixelStats.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7841d1d38400420da5a13a3d6da028153318e100 24-May-2018 Andrew Chant <achant@google.com> Pixelstats: Add BatteryCausedShutdown event

Also add .clang-format while I'm at it,
shamelessly stolen from system/core/.clang-format-4

Bug: 79159660
Bug: 78483339
Change-Id: I374e58a23702e96c898595337a3f86eeb480d8ce
Test: Built and reported event using test client.
/hardware/google/interfaces/pixelstats/1.0/default/PixelStats.h
98a7fc1fa2eea02eaa0ff6071803756e363bb1ca 23-May-2018 Andrew Chant <achant@google.com> Basic ratelimiting for PixelStats

Ensure simple ratelimits for messages reported via libmetricslogger.

Test: RateLimit_test passed three tests.
Bug: 79159660
Change-Id: Ica1ab6b407ee5070ea1061b87fe93f0ce0e4360c
/hardware/google/interfaces/pixelstats/1.0/default/PixelStats.h
752e6c7ae93ae026569ee4cab0a8f717fc9e1f5e 11-May-2018 Andrew Chant <achant@google.com> Update Pixelstats HAL, use libmetricslogger

Use libmetricslogger instead of statsd as statsd is in
frameworks/base-private selinux domain.

Update the HAL to add newly requested stats and change
the format of some existing stats.

Test: logged cycle_counts_bins via tron, and was able
to see the logged stats:
05-21 09:42:42.008 760 760 I sysui_multi_action: [757,1438,758,4,1439,2,5,3,4,6,6,6,5]
where 1438 is the ACTION_BATTERY_CHARGE_CYCLES.

Bug: 69978775
Bug: 78483339
Bug: 79159660
Change-Id: I13eff788ceb032b2b8e55a9c0005c08edb901e30
/hardware/google/interfaces/pixelstats/1.0/default/PixelStats.h
767e1a5b5017588902ac9eb58bca1bc84939c906 03-Mar-2018 Andrew Chant <achant@google.com> Pixelstats HAL

This HAL runs system-side to log vendor-reportable statsd atoms
from the vendor partition.

Test: Included in wahoo build, saw hardware.google.pixelstats@1.0-service
running, logged values to HAL from a client on /vendor.

Bug: 67775908
Bug: 69978775
Change-Id: I9a49593a85692ad1b19829491914d40eec5e92c8
/hardware/google/interfaces/pixelstats/1.0/default/PixelStats.h