diff options
author | Roshan Pius <rpius@google.com> | 2019-06-27 14:14:40 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-08-23 10:40:07 -0700 |
commit | 15b5a03ef69bc5784e939893c37f441207416018 (patch) | |
tree | 404b07d094c2de25cf30bf6467ebc53cbc4a35c4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 87700db4ef58327f11b9bb4bcc69a0a05ec6bca9 (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.
(cherry-picked from 7e6f5f5e080f2d2ae3ef0397c21bd666f5ce4d31 & applied
aosp/977048)
Change-Id: I673581b0067b9a3f72dd68a3ab622c18183ebd2e
Merged-In: I673581b0067b9a3f72dd68a3ab622c18183ebd2e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions