summaryrefslogtreecommitdiff
path: root/core/java/android/net/InvalidPacketException.java
Commit message (Collapse)AuthorAgeFilesLines
* Move module sources to packages/ConnectivityRemi NGUYEN VAN2021-02-011-66/+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
* API review: make exception class and Builder finalAaron Huang2020-03-251-1/+1
| | | | | | | | | - InvalidPacketException exception class should be final - NetworkCapabilities.Builder should be final Bug: 152203926 Test: atest FrameworksNetTests Change-Id: If9b799151aff6d41c9bcd8bb86c65a58e46bad73
* API review: access field by methodAaron Huang2020-03-191-2/+7
| | | | | | | | | | | | | - InvalidPacketException, public field should be a method so add getter to get error code. - KeepalivePacketData, public fields should be methods so add getter for fields. Bug: 151322799 Test: atest FrameworksNetTests atest FrameworksWifiTests atest FrameworksTelephonyTests: some failure in CarrierAppUtilsTest Change-Id: Id01e6135193716cc21bba11da529bf1507a954f7
* Add keepalive related methods and fields to system APIsAaron Huang2019-12-131-0/+61
Add KeepalivePacketData to system API for mainline support. Also, remove InvalidPacketException class from SocketKeepalive and create a new InvalidPacketException class in android.net Bug: 139268426 Bug: 135998869 Bug: 138306002 Test: atest FrameworksNetTests atest NetworkStackTests atest FrameworksTelephonyTests ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh atest android.net.cts atest android.net.wifi.cts atest android.telephony.cts Change-Id: I2d982e8abb5cb6b4c74a20483550b18cf814320d