[go: nahoru, domu]

tree: 0d7a4fdcd4d2b36452de642dcee69c4b89098db3 [path history] [tgz]
  1. device_metrics/
  2. prefs/
  3. proto/
  4. utils/
  5. BUILD.gn
  6. DEPS
  7. DIR_METADATA
  8. OWNERS
  9. README.md
  10. report_controller.cc
  11. report_controller.h
  12. report_controller_unittest.cc
chromeos/ash/components/report/README.md

Measure Device Counts & Churn

Contact Information

Summary

We use a privacy compliant mechanism (private set membership) to measure device counts and device churn.

The client deterministically generates a pseudonymous id using a high entropy seed, which is used to send the pseudo-id at most once from the device.

In the future, there are plans to measure user level metrics.

Developer Notes

active_ts_ field - PLEASE NOTE DETAILS

Please note, we represent the device's online timestamp, adjusted to Pacific Time (PST) in the variable |active_ts_|, which is a part of the UseCaseParameters object.

  • Type: base::Time
  • Initialization: Adjusted during initialization to Pacific time, based on Daylight savings.
  • Usage: Propagated across child classes use cases (1DA, 28DA, Churn, etc.). base::Time methods will be PST-disguised-as-UTC-things (UTCExplode, UTCMidnight calls).

Purpose

  • Compare dates in the Pacific Time zone to determine whether device pinged already.
  • Determine new PST days.
  • Store data in local and preserved file caches.
  • Provides PST based metadata in network requests to Fresnel server, such as online PST day.