diff options
author | Roshan Pius <rpius@google.com> | 2019-06-27 14:14:40 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-08-12 07:22:56 -0700 |
commit | 7e6f5f5e080f2d2ae3ef0397c21bd666f5ce4d31 (patch) | |
tree | eca41ada2621c873397145bdedf423e4e2c0f897 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 19419ccc9502aae0f1d1eeaa8bc560aa1472f178 (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
Test: Device boots up & connects to wifi networks.
Change-Id: I673581b0067b9a3f72dd68a3ab622c18183ebd2e
Merged-In: I673581b0067b9a3f72dd68a3ab622c18183ebd2e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions