summaryrefslogtreecommitdiff
path: root/services/incremental/IncrementalService.h
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2021-04-14 19:04:11 +0000
committer Songchun Fan <schfan@google.com> 2021-04-16 02:29:24 +0000
commit5ada1508c2e8cf005258e04117bf38fee759f31e (patch)
tree70b916edb279b878216359a2d1544419c47e8a7b /services/incremental/IncrementalService.h
parente53db0d40254f57d8af33e0dcac43e464a06bd31 (diff)
[pm] remove incremental startable/unstartable code
Also remove streaming health status reporting which could cause startable state change because it is also not needed any more. BUG: 171920377 Test: builds Change-Id: I7284e7a63df79da7dbf3d16ff64302b3d1ce1348
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r--services/incremental/IncrementalService.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h
index e3b1e6fb6e48..95a17d1103e1 100644
--- a/services/incremental/IncrementalService.h
+++ b/services/incremental/IncrementalService.h
@@ -189,10 +189,7 @@ public:
bool registerLoadingProgressListener(StorageId storage,
StorageLoadingProgressListener progressListener);
bool unregisterLoadingProgressListener(StorageId storage);
- bool registerStorageHealthListener(StorageId storage,
- const StorageHealthCheckParams& healthCheckParams,
- StorageHealthListener healthListener);
- void unregisterStorageHealthListener(StorageId storage);
+
RawMetadata getMetadata(StorageId storage, std::string_view path) const;
RawMetadata getMetadata(StorageId storage, FileId node) const;
@@ -256,7 +253,6 @@ private:
private:
binder::Status onStatusChanged(MountId mount, int newStatus) final;
- binder::Status reportStreamHealth(MountId mount, int newStatus) final;
void setCurrentStatus(int newStatus);
@@ -319,7 +315,6 @@ private:
BootClockTsUs kernelTsUs;
} mHealthBase = {TimePoint::max(), kMaxBootClockTsUs};
StorageHealthCheckParams mHealthCheckParams;
- int mStreamStatus = content::pm::IDataLoaderStatusListener::STREAM_HEALTHY;
std::vector<incfs::ReadInfoWithUid> mLastPendingReads;
};
using DataLoaderStubPtr = sp<DataLoaderStub>;