summaryrefslogtreecommitdiff
path: root/src/com/android/server/NetworkObserverRegistry.java
AgeCommit message (Collapse)Author
2020-01-28Add implementation of getInterfaceHash()Paul Trautrim
Bug: 136065010 Test: m Change-Id: Iaf682c850b7cf22980d6fb88d3d60e24c189b74c
2019-10-30Remove hidden annotation usage from NetworkStackRemi NGUYEN VAN
NetworkStack uses hidden android.annotation.* annotations by pulling the source files from frameworks/base. This should not be necessary, since androidx annotations can be used instead. Remove usage of such annotations and replace with androidx annotations. Test: m NetworkStack NetworkStackApiStable Test: builds, boots, WiFi working Bug: 139105333 Change-Id: I24e147ac4f01feaf53424430b4825b316ec154fe
2019-06-10Add an IpClientIntegrationTestXiao Ma
The test sets up a tap interface and starts IpClient on it. It currently only tests that DhcpClient starts sending discover packets. Test: atest NetworkStackIntegrationTests Test: atest NetworkStackTests Change-Id: I99b135974af758ad5255f06bef6121e85ab62ffe
2019-04-10Freeze netd AIDL interface (framework)Remi NGUYEN VAN
This freezes the interface as of the latest beta build, although it has not changed since then. This change adds the necessary implementations for getInterfaceVersion. Test: flashed, WiFi working Bug: 128803828 Change-Id: I43a6a38685d5fbc669cd573c4d7e7f99bd596952
2019-01-30Remove last NetworkStack usage of hidden APIsRemi NGUYEN VAN
Includes various small changes to stop using hidden APIs Test: make NetworkStack Test: flashed, booted, WiFi and tethering working Bug: 112869080 Change-Id: Id2830795a444f484b377ed6437435a1cd833697a
2019-01-29Run IpClientLinkObserver on Binder threadRemi NGUYEN VAN
This restores previous behavior, where callbacks would not be called on the IpClient handler thread. Test: atest FrameworksNetTests NetworkStackTests Test: flashed, WiFi works Bug: 123062477 Change-Id: I3015566b0922d76ac7cf70579a1de3e033bf7b4a
2019-01-29Remove IpClient usage of NetworkManagementServiceRemi NGUYEN VAN
Use the new NetworkObserverRegistry instead. Test: atest FrameworksNetTests NetworkStackTests Test: flashed, WiFi working fine Bug: 112869080 Change-Id: If16ecfd6489f86afec67c22b4c3692cd68f4edbf
2019-01-28Add NetworkObserverRegistry to NetworkStackRemi NGUYEN VAN
The NetworkObserverRegistry will replace usage of NetworkManagementService in the app. Test: m, booted, WiFi working Bug: 112869080 Change-Id: Ic7f0114d0c9361dd2408e47bb04a8dd44a908a47