OSDN Git Service

Use an in-process APK for in-process NetworkStack
authorRemi NGUYEN VAN <reminv@google.com>
Fri, 8 Mar 2019 08:20:49 +0000 (17:20 +0900)
committerRemi NGUYEN VAN <reminv@google.com>
Fri, 8 Mar 2019 10:18:40 +0000 (19:18 +0900)
commit8acc99a974a8c0a8f3e3ca3be06356b0f5e6f702
treed54c00bbf3aea4a18779ccefb70dd101604ea08c
parent5026c9ea2868e879b598e61561313b2b1af44e27
Use an in-process APK for in-process NetworkStack

Instead of having a library in the classpath where the NetworkStack is
created by reflection on devices using the network stack in-process,
just bind to a version of the network stack service that runs in the
system process.

If the in-process version is installed it will be used, otherwise the
module is used with its own process.

Bug: 127908503
Test: blueline boots and has functional WiFi
Test: atest FrameworksNetTests NetworkStackTests
Test: svelte build boots and has functional WiFi
Change-Id: I7722b173e5686e0dbb9cfddcfb34344b0f4135d9
packages/NetworkStack/Android.bp
packages/NetworkStack/AndroidManifest.xml
packages/NetworkStack/AndroidManifestBase.xml [new file with mode: 0644]
packages/NetworkStack/AndroidManifest_InProcess.xml [new file with mode: 0644]
packages/NetworkStack/tests/Android.bp
services/net/java/android/net/NetworkStackClient.java