diff options
author | Roshan Pius <rpius@google.com> | 2019-06-27 14:14:40 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-08-26 10:43:21 -0700 |
commit | 622547b5536edb9cdd8603467e298725992abc10 (patch) | |
tree | 547aa206683caf19c4ac4fe68e087be38ba45753 /startop/scripts/lib/cmd_utils.py | |
parent | 9b9ed234cb082602597d2b128a43d2dfd03d602b (diff) |
NetworkStackClient: Refactor network stack process interaction
Refactor NetworkStackClient class to move the module service binding &
network stack process death monitoring to a separate class. This class
will only instantiated in the SystemServer process.
The new class |SystemServerToNetworkStackConnector| will be used from
the client classes corresponding to each module running on the network
stack process (NetworkStackClient, WifiStackClient, etc)
This has 2 main advantages:
a) Reduces code duplication (Otherwise the various Client classes need
to replicate the service bindding & process death monitoring).
b) Central crash recovery for the network stack process (Otherwise the
various Client classes will trigger multiple recovery for a single
network stack process crash).
Bug: 135679762
Bug: 140006229
Test: Device boots up & connects to wifi networks.
(cherry-picked from 7e6f5f5e080f2d2ae3ef0397c21bd666f5ce4d31 & applied
aosp/977048)
Change-Id: I673581b0067b9a3f72dd68a3ab622c18183ebd2e
Merged-In: I673581b0067b9a3f72dd68a3ab622c18183ebd2e
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions