summaryrefslogtreecommitdiff
path: root/core/java/android/net/TcpRepairWindow.java
Commit message (Collapse)AuthorAgeFilesLines
* Move module sources to packages/ConnectivityRemi NGUYEN VAN2021-02-011-48/+0
| | | | | | | | | | | | | | Files that are planned to be part of the connectivity module are grouped in packages/Connectivity, so they can be built separately and moved in one operation with their history into packages/modules/Connectivity. This places the files in the existing framework-connectivity-sources filegroup instead of the current framework-core-sources filegroup. Both are used the same way in framework-non-updatable-sources. Bug: 171540887 Test: m Change-Id: I62d9d91574ace6f5c4624035d190260c3126b91e
* Expose TcpRepairWindow as module-lib APIpaulhu2020-12-091-0/+3
| | | | | | | | | | | | Connectivity service is going to become a mainline module which will not be able to access hidden APIs. TcpKeepaliveController is a part of CS mainline module, it uses TcpRepairWindow to store tcp repair window info. Thus, expose TcpRepairWindow as module-lib API to support the usage. Bug: 172183305 Test: atest FrameworksNetTests Change-Id: I1b6f5ae698f4b6e030a0f776aeafc774fa9f1437
* [KA03] Support tcp keepalive offloadmarkchien2019-02-061-0/+45
When offload is starting, socket will be switched to repair mode. Read and write on the socket will not be allowed until repair mode is turned off. If remote packet arrives, repair mode will be turned off automatically and a callback will be raised to indicate that socket is ready to read from. Bug: 114151147 Test: -atest FrameworksNetTests -manual Change-Id: I0c335865912e183e7ad32a8ea12188f02ccde5fd