summaryrefslogtreecommitdiff
path: root/packages/Connectivity/tests/unit/java/android
Commit message (Collapse)AuthorAgeFilesLines
* packages/Connectivity moved to packages/modules/ConnectivityBaligh Uddin2021-05-2426-6817/+0
| | | | | | BUG: 186628461 TEST: TH Change-Id: I2727e13dbe051162f23ef279ca11cd5cca1fc761
* Merge "Improve IKEv2/IPsec VPN by proposing more IPsec algorithms" am: ↵Yan Yan2021-05-211-3/+11
|\ | | | | | | | | | | | | | | 94a4cdd4e8 am: 7b8b5fd6de Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690265 Change-Id: I0e467627fdbf70d6ec704f1f2be58223df9642ed
| * Merge "Improve IKEv2/IPsec VPN by proposing more IPsec algorithms"Yan Yan2021-05-211-3/+11
| |\
| | * Improve IKEv2/IPsec VPN by proposing more IPsec algorithmsYan Yan2021-05-211-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows IKEv2/IPsec VPN to propose more algorithms that newly added in IpSecAlgorithm. Those new algorithms have stronger security guarantees and better performances. This commit also removes algorithm name validation because all algorithms are URL encoded to ensure no special characters create problems due to their use by VpnProfile for list or field delimiting (e.g. rfc7539esp(chacha20,poly1305)) Bug: 185265778 Test: atest FrameworksNetTests, CtsNetTestCases Test: All new algorithms are manually verified Change-Id: I1de322c95aacc8924e95bcdbcfdbd1ec441de99c
| * | Merge "Add metered filter for API: buildTemplateCarrier"Les Lee2021-05-181-22/+36
| |\ \ | | |/ | |/|
| | * Add metered filter for API: buildTemplateCarrierlesl2021-05-141-22/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL modifies NetworkTemplate#buildTemplateCarrier to force on metered carrier network and rename to buildTemplateCarrierMetered. This method was introduced recently and has no callers. This method will be used in Settings and NetworkPolicyManagerService to display and manage data usage on carrier metered networks. Settings/NetworkPolicyManagerService will use it instead of the existing method buildTemplateMobileAll method, which only matches metered networks. That code will change from matching metered mobile networks to matching metered carrier networks. Note: The carrier metered network includes metered mobile network and metered "merged carrier wifi network" that is a specific cerrier wifi network which provides the same user experience as mobile. Bug: 176396812 Test: atest -c NetworkTemplateTest Change-Id: I7196d62bb60844458a6c4b1d94e2baccb71e15cd
* | | Merge "Add more unit tests for ConnectivityManager S APIs" into sc-devTreeHugger Robot2021-05-201-20/+28
|\ \ \
| * | | Add more unit tests for ConnectivityManager S APIsJunyu Lai2021-05-191-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-AOSP-First: Avoid merge conflict Test: atest android.net.ConnectivityManagerTest Bug: 188657173 Change-Id: I33612650eb89486a14fcfc440ba0c357f4bb513c
* | | | Add metered filter for API: buildTemplateCarrierlesl2021-05-191-22/+36
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL modifies NetworkTemplate#buildTemplateCarrier to force on metered carrier network and rename to buildTemplateCarrierMetered. This method was introduced recently and has no callers. This method will be used in Settings and NetworkPolicyManagerService to display and manage data usage on carrier metered networks. Settings/NetworkPolicyManagerService will use it instead of the existing method buildTemplateMobileAll method, which only matches metered networks. That code will change from matching metered mobile networks to matching metered carrier networks. Note: The carrier metered network includes metered mobile network and metered "merged carrier wifi network" that is a specific cerrier wifi network which provides the same user experience as mobile. Bug: 176396812 Test: atest -c NetworkTemplateTest Change-Id: I7196d62bb60844458a6c4b1d94e2baccb71e15cd Merged-In: I7196d62bb60844458a6c4b1d94e2baccb71e15cd
* | | Merge "QOS filter matching support based on remote address and port number ↵Jayachandran Chinnakkannu2021-05-141-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | for connected sockets" am: 853bb0df91 am: 5abb533da2 am: faf4ba40ba Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687813 Change-Id: I04ada71bdea2c3851fd6925126f6ff2bfdecad2c
| * | QOS filter matching support based on remote address and port number for ↵Jayachandran C2021-05-131-5/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connected sockets This CL adds APIs for telephony to perform filter matching based on remote address if the socket is connected. Additional checks will be performed on the state of socket to avoid the future callbacks in a separate CL. Bug: 181916576 Test: Manually verified in live T-Mobile network atest ConnectivityServiceTest atest com.android.internal.telephony.dataconnection.QosCallbackTrackerTest Change-Id: I6fbd4e84c76bc4acbf4e59f06f8e86e0237bae29
| * Move net unit tests to packages/ConnectivityRemi NGUYEN VAN2021-05-1326-0/+6787
| | | | | | | | | | | | | | | Move the tests together with packages/Connectivity code, so both can be moved to packages/modules/Connectivity together. Also reorganize unit tests in a unit/ directory, as other tests (integration/, common/ etc.) have been added in tests/net since they were created. This makes the directory structure consistent. Test: atest FrameworksNetTests Bug: 187814163 Merged-In: I254ffd1c08ec058d594b4ea55cbae5505f8497cc Change-Id: I254ffd1c08ec058d594b4ea55cbae5505f8497cc
* Move net unit tests to packages/ConnectivityRemi NGUYEN VAN2021-05-1326-0/+6787
Move the tests together with packages/Connectivity code, so both can be moved to packages/modules/Connectivity together. Also reorganize unit tests in a unit/ directory, as other tests (integration/, common/ etc.) have been added in tests/net since they were created. This makes the directory structure consistent. Test: atest FrameworksNetTests Bug: 187814163 Ignore-AOSP-First: needs per-branch move for merge conflicts Change-Id: I254ffd1c08ec058d594b4ea55cbae5505f8497cc