OSDN Git Service

BluetoothMetrics: Implement and test metric_id_allocator and lru
authorChen Chen <cncn@google.com>
Thu, 20 Feb 2020 19:29:42 +0000 (11:29 -0800)
committerJack He <siyuanh@google.com>
Tue, 10 Mar 2020 19:45:27 +0000 (19:45 +0000)
commitc530a0c8cd1a8425a8b00274ae50fb9930015f12
tree4556e7427e1457677c468dcea44eeb228fc9d02c
parent290fa491b004f50624d620eb247355447ae5dfc0
BluetoothMetrics: Implement and test metric_id_allocator and lru

Test: run atest on unittests
Bug: 142563377

Change-Id: I05739258479a67d47550a6cb1db1c6f8c1ff3e98
Merged-In: I05739258479a67d47550a6cb1db1c6f8c1ff3e98
(cherry picked from commit b12ac65535cda6a4477738ff3e060e6e9be4c08b)
common/Android.bp
common/lru.h [new file with mode: 0644]
common/lru_unittest.cc [new file with mode: 0644]
common/metric_id_allocator.cc [new file with mode: 0644]
common/metric_id_allocator.h [new file with mode: 0644]
common/metric_id_allocator_unittest.cc [new file with mode: 0644]
types/raw_address.h