commit | 83cdff6b5674b373d3d54e170aab00796f2a3755 | [log] [tgz] |
---|---|---|
author | Harry Zhang <harrytczhang@google.com> | Fri Dec 10 11:48:50 2021 -0800 |
committer | Harry Zhang <harrytczhang@google.com> | Fri Dec 10 11:51:02 2021 -0800 |
tree | c101a4ca78a5928fc50c6711bbd1c0ec01e60b5b | |
parent | 32566a8640ce8034f9e5d0d3c3de346d0bbd7c00 [diff] |
Create callbacks for setting up and cleaning up metric collectors. Subclasses should implement these callbacks to ensure that components that use metric collectors programatically can have them set up and cleaned up correctly. These classes should not call these callbacks directly, however, but through setUp and cleanUp(). Bug: 206859096 Test: atest baseMetricListenerInstrumentedTest (updated) Change-Id: Ib7e9657f7d998324c790eeaf856ede068ac02616