diff options
author | Songchun Fan <schfan@google.com> | 2020-09-10 13:12:39 -0700 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2020-10-01 16:36:25 -0700 |
commit | 3309398cbfe33452a3568a7ab7d80e127b63a10c (patch) | |
tree | 6d787b0ed7fd64061eb9c53434931d811fbb4bee /services/incremental/IncrementalService.cpp | |
parent | f2c9466eaa819654f6535f1b260493769ca116a3 (diff) |
[incremental/pm] app states and transitions
Based on go/incremental-states-design with basic
setter/getters.
Defines IncrementalStates class which handles state transitions.
New (internal) Intent actions: PACKAGE_FULLY_LOADED, PACKAGE_STARTABLE,
PACKAGE_UNSTARTABLE.
BUG: 168043976
Test: unit tests
Change-Id: I7b0ec2dd9f028ee620a9307a1e71ddf12ea5a9af
Diffstat (limited to 'services/incremental/IncrementalService.cpp')
-rw-r--r-- | services/incremental/IncrementalService.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index bbcb3122c9bb..5f145f33f628 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -2135,6 +2135,11 @@ binder::Status IncrementalService::DataLoaderStub::onStatusChanged(MountId mount return binder::Status::ok(); } +binder::Status IncrementalService::DataLoaderStub::reportStreamHealth(MountId mountId, + int newStatus) { + return binder::Status::ok(); +} + bool IncrementalService::DataLoaderStub::isHealthParamsValid() const { return mHealthCheckParams.blockedTimeoutMs > 0 && mHealthCheckParams.blockedTimeoutMs < mHealthCheckParams.unhealthyTimeoutMs; |