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)
committerChen Chen <cncn@google.com>
Wed, 4 Mar 2020 18:18:24 +0000 (10:18 -0800)
commitb12ac65535cda6a4477738ff3e060e6e9be4c08b
tree13e3c5c82cb16df41537d5b70ad55280aaa5c16e
parent0572c66dcefe03bfcccf026e6d20bce0a6f83188
BluetoothMetrics: Implement and test metric_id_allocator and lru

Test: run atest on unittests
Bug: 142563377

Change-Id: I05739258479a67d47550a6cb1db1c6f8c1ff3e98
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