CHROMIUM: attach popular device info with sessionalized metrics

Bluetooth peer device information is recorded without associating it
with the sessionalize metric by emitting through a different structured
metric project to prevent devices that are used by a minimal population
from being reverse identified.

This patch introduces an allowlist mechanism to only attach device info
with the sessionalized metrics if it is popular enough. i.e., the most
100 popular devices and the most 100 popular HID devices. See detailed
data at:
https://data.corp.google.com/sites/kbsa6x52cvsk/remote_device_dashboard

Design Doc at: go/cros-bt-platform-metrics
Launch Bug at: crbug/1143487

BUG=b:203032962
TEST=emerge-${BOARD} bluez

Change-Id: Ib336978af9cdf96a6f8c775cf9a11035c45ce06d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/bluez/+/3622295
Commit-Queue: Michael Sun <michaelfsun@google.com>
Tested-by: Michael Sun <michaelfsun@google.com>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Archie Pusaka <apusaka@chromium.org>
4 files changed