OSDN Git Service

Add scan results to scan stats
authorAjay Panicker <apanicke@google.com>
Wed, 9 Mar 2016 03:54:18 +0000 (19:54 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 23 Mar 2016 19:21:58 +0000 (19:21 +0000)
commite90db937c008f365f47e7199d6d86f9eb13bed1e
tree91815ee726c687e906258aa04cbf8537dbbf1017
parent55296d1fb8e3daef4681205a9591f0af522b099e
Add scan results to scan stats

Ex:
GATT Client Map
  Entries: 1

  no.nordicsemi.android.mcp
  LE scans (started/stopped)         : 3 / 3
  Scan time in ms (min/max/avg/total): 3050 / 6901 / 4815 / 14447
  Total number of results            : 338
  Last 3 scans                       :
    1970/01/01 08:20:06 - 6901ms 0 results
    1970/01/01 08:20:13 - 4496ms 171 results
    1970/01/01 08:20:39 - 3050ms 167 results

Bug: 27294154
Change-Id: I32fd6da035f2c37302a105733ac6a9817547b7a3
src/com/android/bluetooth/gatt/AppScanStats.java
src/com/android/bluetooth/gatt/ContextMap.java
src/com/android/bluetooth/gatt/GattService.java