summaryrefslogtreecommitdiff
path: root/services/net/java/android/net/ip/IpClientManager.java
AgeCommit message (Collapse)Author
2021-06-21Remove most of the NetworkStack dependencies on frameworks/base.Lorenzo Colitti
Most of these files are being moved to the networkstack-client library in packages/modules/NetworkStack, with the exception of DhcpResultsCompatUtil which is unused and is being deleted. Test: m Bug: 151052811 Original-Change: https://android-review.googlesource.com/1734913 Merged-In: I72ec43987faf9138cd68dc47c6bf2abe8c67aa38 Change-Id: I72ec43987faf9138cd68dc47c6bf2abe8c67aa38
2020-12-15Add TcpKeepalivePacketData to SystemApi am: 103ec4aa8d am: a232c68028 am: ↵Remi NGUYEN VAN
40190840bb Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1494038 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1aa9deefefcaf75959463e8a8a87bfeefb98f0ee
2020-12-14Add TcpKeepalivePacketData to SystemApiRemi NGUYEN VAN
This is consistent with NattKeepalivePacketData, which is also a subclass of KeepalivePacketData. TcpKeepalivePacketData is already used by the wifi module, but statically linked. Bug: 172789687 Test: m Change-Id: I6aee1ae205987521bea4a3838bbece279ffa0e37
2020-10-07Tighten up Binder.clearCallingIdentity() usage.Jeff Sharkey
This is a third CL in a chain that adjusts existing malformed code to follow AndroidFrameworkBinderIdentity best-practices. Specifically, if a thread clears an identity they need to restore it to avoid obscure security vulnerabilities. In addition, the relevant "try" block must start immediately after the identity is cleared to ensure that its restored if/when any exceptions are thrown. Bug: 155703208 Test: make Exempt-From-Owner-Approval: trivial refactoring Change-Id: I74cb958b68d55a647547aae21baff6ddc364859b
2020-03-05Add new method to update Layer2 information when L2 roaming happens.Xiao Ma
Bug: 131797393 Test: atest FrameworksNetTests Change-Id: I72f2752f73be9df693996c4b23115937c4bcadb3
2019-12-17Add services-stubs for in-process APIs in services.jarJiyong Park
services-stubs is a stubs library for services.jar. It provides the in-process APIs that's available inside the system server process running services.jar. Currently, all APIs in the jar are hidden by annotating com.android.server package with @android.annotation.Hide. To add some APIs, 1) remove package-info.java for com.android.server 2) add package-info.java for other sub packages 3) annotate them with @android.annotation.Hide except for the package where the newly added APIs are in This change also added android.annotation.Hide class which can be used to hide an API without using the @hide javadoc tag. This opens up the possibility of running metalava over the compiled jar, which is expected to be much faster than when ran with source files. Bug: 139391334 Test: m Test: m services-stubs Exempt-From-Owner-Approval: cherry-pick from internal Merged-In: I027b8a22b3e7533f6203aabb9dc3f690e4e842a6 (cherry picked from commit abc72e45c647d6f617ce90b7a5d4a3121c0aa87d) Change-Id: I027b8a22b3e7533f6203aabb9dc3f690e4e842a6
2019-12-03Add DHCP Rapid Commit FILS support.Xiao Ma
Bug: 140223017 Test: atest FrameworksNetTests NetworkStackTests Test: atest NetworkStackIntegrationTests Test: manual Change-Id: Ia73e92058f30acee16eff27e05ec53d2eb0e7110
2019-06-04Fix cannot create Nat-T keepalive on mobile datajunyulai
Currently phone process fail to unparcel NattKeepalivePacketData since it is not in framework. Moves NattKeepalivePacketData to framework to make it can be utilized by telephony. This change also removes the error feedback triggered by calling add keepalive packet filter to an unsupported network agent. This is misinterpreted by KeepaliveTracker that start keepalive is failing. Bug: 134048171 Test: 1. atest android.net.cts.ConnectivityManagerTest#testSocketKeepaliveLimitTelephony 2. atest android.net.cts.ConnectivityManagerTest 3. atest FrameworksNetTests 4. atest FrameworksTelephonyTests Change-Id: If630d5b339aa722717258c721daa8ead8c431e2d
2019-05-09Add a simple wrapper for IpClient.Lorenzo Colitti
This takes care of boilerplate tasks such as clearing calling identity, catching RemoteExceptions, and converting to stable parcelable objects. Bug: 131206163 Test: builds, boots, wifi works Test: atest FrameworksNetTests Change-Id: I7cbe5fc105503d0983cba2bf77fb0097bd20d9ba