- Oct 12, 2023
-
-
Paul Duffin authored
This change adds overriding methods that are essential to compile the stubs generated from the signature files. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkapi Bug: 299366704 Change-Id: Idba307148fd9afa87bfb7e0c89e00d9bd97ec204
-
- Oct 10, 2023
-
-
Paul Duffin authored
Currently, metalava will discard concrete overrides of abstract methods from the API signature files which causes problems when attempting to generate stubs from those files and also discards information that may be important in API reviews. This change is the first step in the process of changing that behavior. This change hard codes the current behavior for discarding the concrete overrides (`add-additional-overrides=no`) into those signature files that will (or are likely) to be affected by the change in behavior. That allows the default behavior to be changed for all the other files without affecting these. Follow up changes will remove the hard coding from the signature files and will update the contents which will include the concrete overrides of the abstract methods. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkapi Bug: 299366704 Change-Id: I52c5bbe2e3bbd36019fe44fcb0b2d19876a5a869
-
- Apr 19, 2023
-
-
Motomu Utsumi authored
aosp/2384137 added cronet to framework-tethering. But framework-connectivity is a better place to put cronet since cronet does not work on R devices (b/270049141) and framework-tethering is R+, framework-connectivity is S+. Followup CLs will move some modules (e.g. CronetJavaPrejarjarDefaults) that use the branch dependent soong variables to framework/Android.bp Test: TH Bug: 278070640 Change-Id: I6bc10116759fb9e083c02147908e53022dab740a
-
- Jan 16, 2023
-
-
Kangping Dong authored
This commit also updates to use V11 dnsresolver APIs which was V9. Bug: 262683651 Test: unit tests Change-Id: Ifbd71157012dc66ec0f377beef9fa59d1c8620b8
-
- Sep 08, 2022
-
-
Remi NGUYEN VAN authored
Revert submission 1387135-st02 Reason for revert: Usage of TYPE_CNAME in a library shared among modules does not interact well with current module release process Reverted Changes: Ib5616c65c:[ST02.2] Use the getters of DnsHeader I5e58f99b0:[ST02.1] Add TYPE_CNAME constant to DnsResolver I0c1547cbc:[ST02] Add methods for synthesizing DNS packets Change-Id: I5aa9f28f1268f966f62041193ceb7c8bef994579
-
- Aug 25, 2022
-
-
Junyu Lai authored
This would be needed for subsequent patches that synthesizing DNS packets for testing purpose. Bug: 139774492 Test: atest DnsPacketTest DnsResolverTest Change-Id: I5e58f99b09b693f167178e56f008be8b42d9417a
-
- Feb 07, 2022
-
-
Etan Cohen authored
Create public API for IP and static IP configuration. Bug: 209840828 Test: atest android.net.cts.IpConfigurationTest Test: atest android.net.cts.StaticIpConfigurationTest Test: atest android.net.dhcp.DhcpResultsParcelableUtilTest Change-Id: I720f168d1023806970919ca5dd44239a276826b6
-
- Jan 25, 2022
-
-
Sooraj Sasindran authored
Bug: 194332512 Test: build Change-Id: I415ca1ba90ea54c4106f806fe855bcb84d3e38ba
-
- Jan 22, 2022
-
-
Sooraj Sasindran authored
Bug: 194332512 Test: unit test CTS-Coverage-Bug: 211133973 Change-Id: Ie8be08a7cfa9155168d1da146d02fd1643248bdc
-
- Dec 23, 2021
-
-
Sooraj Sasindran authored
Add enterpriseSpecifier to network capability Bug: 194332512 CTS-Coverage-Bug: 211133973 Test: CTS and unit test. Change-Id: If16c8e17cee71cc6788c43a8818bcca68a00bf99
-
- Dec 21, 2021
-
-
Jack Yu authored
Added NET_CAPABILITY_MMTEL to indicate a network support MMTEL (Multimedia telephony). This is for IMS service to request an IMS network that supports voice or PS (VoPS for 4G, VoNR for 5G). This was previously submitted as aosp/1927841, but which got reverted due to breaking the mainline build, which uses the pre-built module. Bug: 210774375 Test: atest ConnectivityServiceTest Change-Id: If8b691ff4999a4dbf54e7567d9ca74d743dc5ded
-
Martijn Coenen authored
Revert "Added setup/tear down data support" Revert "Added a new network capability MMTEL" Revert submission 1927643-mmtel_capability Reason for revert: b/211586152 Reverted Changes: Ifea8b1e40:Added a new network capability MMTEL I38655bef2:Added a new network capability MMTEL I837606d9e:Added setup/tear down data support I2c7b291fe:Added a new network capability MMTEL Change-Id: Ie9b0b0d9017ef8aea7fbb56dda522e7c433144b9
-
- Dec 19, 2021
-
-
Taras Antoshchuk authored
This reverts commit 758ead6d. Reason for revert: Re-landing changes not related to postsubmit failure Change-Id: I2f705549d85af4ba45dc294e0a86d757490b1cd7
-
Taras Antoshchuk authored
This reverts commit 6d1ea2bb. Reason for revert: Re-landing changes not related to postsubmit failure Change-Id: If7940801518be5ddec91270b3663ddfc8b42eadb
-
- Dec 16, 2021
-
-
Jack Yu authored
Added NET_CAPABILITY_MMTEL to indicate a network support MMTEL (Multimedia telephony). This is for IMS service to request an IMS network that supports voice or PS (VoPS for 4G, VoNR for 5G). Bug: 210774375 Test: atest ConnectivityServiceTest Change-Id: Ifea8b1e40f65c610e925a27be873930fee2df693
-
Ayush Sharma authored
Revert "Add APIs that allow to exclude routes from VPN" Revert "Suppress NewApi warnings for @SystemApi -> public APIs" Revert "Add VpnServiceBuilderShim for VpnService.Builder" Revert submission 1551943-vpn-impl Reason for revert: <DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules_x86_64-userdebug&lkgb=8007224&lkbb=8008168&fkbb=8007902 >, bug b/210979001 Reverted Changes: I0e7aa077a:Add VpnServiceBuilderShim for VpnService.Builder Ib12f5ab39:Suppress NewApi warnings for @SystemApi -> public ... I59b9185cf:Unhide RouteInfo#getType and related fields Ie5b62b2b2:Unhide IpPrefix(InetAddress, int) I993a32d40:Add CTS tests for exclude VPN routes APIs Ib24b2d3fb:Suppress NewApi warnings for @SystemApi -> public ... Ic3b10464a:Add APIs that allow to exclude routes from VPN Change-Id: Id0c373fb042a98c1c68807acf7fcfe456520ebe2 BUG: 210979001
-
Ayush Sharma authored
Revert "Add APIs that allow to exclude routes from VPN" Revert "Suppress NewApi warnings for @SystemApi -> public APIs" Revert "Add VpnServiceBuilderShim for VpnService.Builder" Revert submission 1551943-vpn-impl Reason for revert: <DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules_x86_64-userdebug&lkgb=8007224&lkbb=8008168&fkbb=8007902 >, bug b/210979001 Reverted Changes: I0e7aa077a:Add VpnServiceBuilderShim for VpnService.Builder Ib12f5ab39:Suppress NewApi warnings for @SystemApi -> public ... I59b9185cf:Unhide RouteInfo#getType and related fields Ie5b62b2b2:Unhide IpPrefix(InetAddress, int) I993a32d40:Add CTS tests for exclude VPN routes APIs Ib24b2d3fb:Suppress NewApi warnings for @SystemApi -> public ... Ic3b10464a:Add APIs that allow to exclude routes from VPN Change-Id: I98d3b998e4702f56e9d5e17944238b283b29f2b2 BUG: 210979001
-
- Dec 13, 2021
-
-
Taras Antoshchuk authored
Unhide IpPrefix constructor to allow its usage with the new VpnService.Builder#excludeRoute(IpPrefix) method. Bug: 186082280 Test: atest IpPrefixTest Change-Id: Ie5b62b2b206def1be53a41219681b4a8bc06c1d2
-
Taras Antoshchuk authored
Bug: 186082280 Test: atest RouteInfoTest Change-Id: I59b9185cf4f8f2afd691b49cf6b4659fe36e6bf8
-
- Dec 10, 2021
-
-
Aswin Sankar authored
Making the DnsException constructor public is useful for apps using DnsResolver to write their tests, and for internal packages that may want to implement the DnsResolver.Callback interface. Test: for regression; CTS tests in b/208479811 Bug: 208464882 Change-Id: I14641688f53721c96e6df9596a7506912ba3aec0
-
- Jul 14, 2021
-
-
lifr authored
In order to make ConnectivityService the mainline module in ANDROID 12, The earliest ConnectivityService API getActiveNetworkForUid was exposed. But after that public api getActiveNetworkForUid and all callers (Outside the module) has been deleted or replaced in android 12 version. So we should delete the public API in AOSP to keep the APIs of Android 12 & AOSP consistent and also avoid using it again in AOSP. The commit is equivalent to ag/14029494, but done in a different repo. Bug: 183465229 Test: atest ConnectivityControllerTest Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f Change-Id: I50a39d6391c88bbb914a63fdb17bae6851591c01
-
- Jul 08, 2021
-
-
lucaslin authored
- Add a new transport type for USB and a new network capability to support automotive head unit. - In order to pass DnsManagerTest#testTransportTypesEqual, Android.bp needs to link to dnsresolver_aidl_interface-V8-java. That test checks whether the TRANSPORT types defined in NetworkCapabilities are the same as IDnsResolver.aidl. (clean cherry-pick of change in downstream branch history, original change ID before project move: Iec2df09a776d779108f95098e01b7ffdf6f8867a) Bug: 181742019 Test: atest FrameworksNetTests Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f Change-Id: Ie438ec68577ebdaaf990795fa27f1169b0105411
-
- May 18, 2021
-
-
Lorenzo Colitti authored
Currently, unprivileged apps can call getAllNetworks() to see all networks on the system, even networks that do not apply to them. Allow them to do this via NetworkCallbacks as well. This is the last piece of information that was only available through getAllNetworks, so this CL deprecates that API. Bug: 187921303 Test: new unit tests Test: CTS test in other CL in topic Change-Id: I30f1021927d3c8eae6525116c61ff4a4acecff6d
-
Lorenzo Colitti authored
Currently, unprivileged apps can call getAllNetworks() to see all networks on the system, even networks that do not apply to them. Allow them to do this via NetworkCallbacks as well. This is the last piece of information that was only available through getAllNetworks, so this CL deprecates that API. Bug: 187921303 Test: new unit tests Test: CTS test in other CL in topic Change-Id: I30f1021927d3c8eae6525116c61ff4a4acecff6d
-
- Apr 08, 2021
-
-
Remi NGUYEN VAN authored
As there is no strong reason to keep the constructors module-lib, set them as public API. This is in response to API feedback. Fixes: 183446251 Test: m Change-Id: I01daa6f6f8095f7a4db94d1ca05f913166939df3
-
Remi NGUYEN VAN authored
As there is no strong reason to keep the constructors module-lib, set them as public API. This is in response to API feedback. Fixes: 183446251 Test: m Change-Id: I01daa6f6f8095f7a4db94d1ca05f913166939df3
-
Remi NGUYEN VAN authored
As there is no strong reason to keep the constructors module-lib, set them as public API. This is in response to API feedback. Fixes: 183446251 Test: m Change-Id: I01daa6f6f8095f7a4db94d1ca05f913166939df3
-
- Apr 06, 2021
-
-
lifr authored
We have exposed the CS module API getActiveNetworkForUid (Used in Jobscheduler) as a temporary solution for the mainline Connectivity service module. This API usage has now been removed in Jobscheduler(b/165835257), so we can permanently remove the public getActiveNetworkForUid API. Bug: 183465229 Test: atest FrameworksNetTests Change-Id: I0f23272d2d8a5118f2e11ac325fdb9e8f9dbe0e3
-
lifr authored
We have exposed the CS module API getActiveNetworkForUid (Used in Jobscheduler) as a temporary solution for the mainline Connectivity service module. This API usage has now been removed in Jobscheduler(b/165835257), so we can permanently remove the public getActiveNetworkForUid API. Bug: 183465229 Test: atest FrameworksNetTests Change-Id: I0f23272d2d8a5118f2e11ac325fdb9e8f9dbe0e3
-
- Apr 02, 2021
-
-
Benedict Wong authored
This change downgrades API visibility for the list-of-subIds in the NetworkCapabilities to SystemApi Bug: 175662146 Test: atest NetworkCapabilitiesTest#testSubIds Test: atest FrameworksNetTests Change-Id: I372fa9eaa7585aefd1710948ca007456feedd578
-
Benedict Wong authored
This change downgrades API visibility for the list-of-subIds in the NetworkCapabilities to SystemApi Bug: 175662146 Test: atest NetworkCapabilitiesTest#testSubIds Test: atest FrameworksNetTests Change-Id: I372fa9eaa7585aefd1710948ca007456feedd578
-
Benedict Wong authored
This change downgrades API visibility for the list-of-subIds in the NetworkCapabilities to SystemApi Bug: 175662146 Test: atest NetworkCapabilitiesTest#testSubIds Test: atest FrameworksNetTests Change-Id: I372fa9eaa7585aefd1710948ca007456feedd578
-
- Mar 30, 2021
-
-
lifr authored
The Connectivity service will become the mainline module. Therefore, remove the caller of using Connectivity's hidden API outside the module and expose the required connectivity API used in Jobscheduler. Bug: 183456204 CTS-Coverage-Bug: 170598012 Test: atest JobStoreTest Change-Id: Ie6bc81ff382fb242b98f35d28a96defc207c7987 Merged-In: Ie6bc81ff382fb242b98f35d28a96defc207c7987 (cherry-picked from ag/13946348)
-
lifr authored
The Connectivity service will become the mainline module. Therefore, remove the caller of using Connectivity's hidden API outside the module and expose the required connectivity API used in Jobscheduler. Bug: 183456204 CTS-Coverage-Bug: 170598012 Test: atest JobStoreTest Change-Id: Ie6bc81ff382fb242b98f35d28a96defc207c7987 Merged-In: Ie6bc81ff382fb242b98f35d28a96defc207c7987 (cherry-picked from ag/13946348)
-
lifr authored
The Connectivity service will become the mainline module. Therefore, remove the caller of using Connectivity's hidden API outside the module and expose the required connectivity API used in Jobscheduler. Bug: 183456204 CTS-Coverage-Bug: 170598012 Test: atest JobStoreTest Change-Id: Ie6bc81ff382fb242b98f35d28a96defc207c7987 Merged-In: Ie6bc81ff382fb242b98f35d28a96defc207c7987 (cherry-picked from ag/13946348)
-
- Mar 29, 2021
-
-
lucaslin authored
- Add a new transport type for USB and a new network capability to support automotive head unit. - In order to pass DnsManagerTest#testTransportTypesEqual, Android.bp needs to link to dnsresolver_aidl_interface-V8-java. That test checks whether the TRANSPORT types defined in NetworkCapabilities are the same as IDnsResolver.aidl. Bug: 181742019 Test: atest FrameworksNetTests Change-Id: Iec2df09a776d779108f95098e01b7ffdf6f8867a
-
lucaslin authored
- Add a new transport type for USB and a new network capability to support automotive head unit. - In order to pass DnsManagerTest#testTransportTypesEqual, Android.bp needs to link to dnsresolver_aidl_interface-V8-java. That test checks whether the TRANSPORT types defined in NetworkCapabilities are the same as IDnsResolver.aidl. Bug: 181742019 Test: atest FrameworksNetTests Change-Id: Iec2df09a776d779108f95098e01b7ffdf6f8867a
-
- Mar 23, 2021
-
-
Chiachang Wang authored
Provide a formal way to construct a new NetworkRequest from an existing instance. The network capabilities inside the NetworkRequest is hidden. There is no way to pass a NetworkRequest and update its capabilities. Add NetworkRequest.Builder creating from an existing instance to allow to clone the network capabilities. Bug: 172183305 Test: make update-api Change-Id: I068462b2a1410daf67b0c95f2b643d396f079531 Merged-In: I068462b2a1410daf67b0c95f2b643d396f079531
-
Chiachang Wang authored
Provide a formal way to construct a new NetworkRequest from an existing instance. The network capabilities inside the NetworkRequest is hidden. There is no way to pass a NetworkRequest and update its capabilities. Add NetworkRequest.Builder creating from an existing instance to allow to clone the network capabilities. Bug: 172183305 Test: make update-api Change-Id: I068462b2a1410daf67b0c95f2b643d396f079531 Merged-In: I068462b2a1410daf67b0c95f2b643d396f079531
-
Chiachang Wang authored
Provide a formal way to construct a new NetworkRequest from an existing instance. The network capabilities inside the NetworkRequest is hidden. There is no way to pass a NetworkRequest and update its capabilities. Add NetworkRequest.Builder creating from an existing instance to allow to clone the network capabilities. Bug: 172183305 Test: make update-api Change-Id: I068462b2a1410daf67b0c95f2b643d396f079531 Merged-In: I068462b2a1410daf67b0c95f2b643d396f079531
-