OSDN Git Service

stopwatch: improve stopwatch problems
authorweichinweng <weichinweng@google.com>
Fri, 11 Jun 2021 06:10:54 +0000 (14:10 +0800)
committerweichinweng <weichinweng@google.com>
Thu, 17 Jun 2021 08:55:16 +0000 (16:55 +0800)
commit037ac6ced1c098973dc0bfb1dcbd667cbff012bf
treef7535149095aa92549a12601d85ef8e5edcc5ef9
parent2114b4bc2ff5dbc626f4489ed775dfa50f3a1891
stopwatch: improve stopwatch problems

* For command timeout case, will print the stopwatch log.
* For startup_timer_expired case, will print the stopwatch log.
* Add record initializationComplete function into stopwatch log.
* For the stopwatch can't correctly dump log if the array is not full
  case, fix it.

bug: 190786398
Test: atest BluetoothInstrumentationTests & Manually
Tag: #stability
Change-Id: I8a66897ca46f593e18e231c43e8873ff0db08288
Merged-In: Ie59dbc0bd2f574761eed7aac695cbff07948d8e2
common/stop_watch_legacy.cc
gd/common/stop_watch.cc
gd/hal/hci_hal_android_hidl.cc
gd/hci/hci_layer.cc
hci/src/hci_layer.cc
hci/src/hci_layer_android.cc