diff options
author | 2021-02-24 22:25:59 +0000 | |
---|---|---|
committer | 2021-03-09 23:06:57 +0000 | |
commit | 1b76ccfa7c6e92549213b884e97d654b5646e772 (patch) | |
tree | 4a7c7f7b13c64acf3aaf58cefa48f741438acfe5 /services/incremental/BinderIncrementalService.cpp | |
parent | 020348499ecd983489c1293831c11421795aa9ef (diff) |
[incremental] expose duration since oldest pending read
As requested by go/incremental-disablement-metrics, we will expose the
duration since oldest pending read as part of the crash/ANR metrics.
This is the first step that exposes the value to Incremental Service.
BUG: 180951530
Test: unit test
Change-Id: Ic67460072556ef01780a1794b40924ca2092060d
Diffstat (limited to 'services/incremental/BinderIncrementalService.cpp')
-rw-r--r-- | services/incremental/BinderIncrementalService.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp index 42360d82afe9..8f12b2e5c132 100644 --- a/services/incremental/BinderIncrementalService.cpp +++ b/services/incremental/BinderIncrementalService.cpp @@ -348,6 +348,12 @@ binder::Status BinderIncrementalService::unregisterStorageHealthListener(int32_t return ok(); } +binder::Status BinderIncrementalService::getMetrics(int32_t storageId, + android::os::PersistableBundle* _aidl_return) { + mImpl.getMetrics(storageId, _aidl_return); + return ok(); +} + } // namespace android::os::incremental jlong Incremental_IncrementalService_Start(JNIEnv* env) { |