summaryrefslogtreecommitdiff
path: root/core/java/android/net/ConnectivityManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Move module sources to packages/ConnectivityRemi NGUYEN VAN2021-02-011-5058/+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
* [VCN06] Support request background networkJunyu Lai2021-01-291-0/+91
| | | | | | | | | | | | | | | This will be mainly used by VCN management service which will need to hold the networks but preserve the backgrounded-ness of the networks. Test: android.net.ConnectivityManagerTest#testRequestType Test: android.net.cts.ConnectivityManagerTest#testRequestBackgroundNetwork / --rerun-until-failure 100 Test: ConnectivityServiceTest#testBackgroundNetworks Test: m -j doc-comment-check-docs Bug: 175662146 Change-Id: I463c7a3139a286e50ea71e674060975ce228caa9
* Merge "Add Qos Callback support"Chalard Jean2021-01-221-0/+115
|\
| * Add Qos Callback supportDaniel Bright2021-01-211-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Provide App Developers Qos related info associated to a bound socket through ConnectivityManager * Qos sessions are generated and filtered by Network Agents and sent back through the Connectivity Service to the API consumer. * The structure of the code within com.android.server is designed to support different types of filters in the the future. * The first type of Qos Attributes are related to EPS Bearers in order support RCS. Bug: 155176305 Test: Added to cts/NetworkAgentTest Test: Added to ConnectivityServiceTest Change-Id: I145dd065d9deeee449eb9695ab3f6c8556ee7c09
* | Mark connectivity test utilities as module APIRemi NGUYEN VAN2021-01-221-2/+3
|/ | | | | | | | | | | | | | | The API surface is planned to move to the Connectivity module, meaning that it will be maintained across multiple Android releases. This is incompatible with TestApi semantics, which are designed to be removable across releases. Effectively the APIs become SystemApi, so mark them as such considering that TestApi is not supported by modules. Remove the NetworkCapabilities.getCapabilities test API that is not essential for tests, and mark other APIs as module API. Test: m Bug: 174436414 Change-Id: Ic04551a9874b3d756cf5e6c77ceabfc7c85d52a6
* Merge "Revert "[VCN06] Support request background network""Junyu Lai2021-01-191-91/+0
|\
| * Revert "[VCN06] Support request background network"Junyu Lai2021-01-191-91/+0
| | | | | | | | | | | | | | | | | | | | | | Revert submission 1545847-vcn06 Reason for revert: b/177876289 presubmit failure Reverted Changes: I8042ce197:[VCN06.1] Add CTS for request background network If9aaa87b7:[VCN06] Support request background network Change-Id: I9270b02a2d6d1ffcdd83b4f41becaf09a2b91e0a
* | Merge "[VCN06] Support request background network"Junyu Lai2021-01-191-0/+91
|\|
| * [VCN06] Support request background networkjunyulai2021-01-181-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be mainly used by VCN management service which will need to hold the networks but preserve the backgrounded-ness of the networks. Test: android.net.ConnectivityManagerTest#testRequestType Test: android.net.cts.ConnectivityManagerTest#testRequestBackgroundNetwork / --rerun-until-failure 100 Test: ConnectivityServiceTest#testBackgroundNetworks Test: m -j doc-comment-check-docs Bug: 175662146 Change-Id: If9aaa87b7e71c2b695ac7b08858850e975b28bb6
* | Merge "Replace hidden ParcelFileDescriptor constructor usage"Chiachang Wang2021-01-181-4/+9
|\ \ | |/ |/|
| * Replace hidden ParcelFileDescriptor constructor usageChiachang Wang2021-01-181-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If IOException happens while trying to start keepalives sockets, an invalid fd will be constructed. It will fail with ERROR_INVALID_SOCKET if the user later calls start(). Current design to construct the invalid fd use the hidden ParcelFileDescriptor constructor which will not work for the incoming ConnectivityService mainline. Thus, replace it with the other formal API. Bug: 170598012 Test: atest FrameworksNetTests Change-Id: I57fd7ec2281c5e8c75481200bbde723ecf96982a
* | [VCN05] Pass request type when requesting networkjunyulai2021-01-121-9/+10
|/ | | | | | | | | | | | | | | Currently, ConnectivityService decides the request type by whether NetworkCapabilities is null when handling request network. However, to fulfill the need of firing background request via ConnectivityManager in the follow-up patches, the request type is needed to pass into ConnectivityService. This change also make ConnectivityService utilizes the passed request type. Test: atest ConnectivityManagerTest#testRequestType Bug: 175662146 Change-Id: I3bc172bca1217c8020db45057a621d0745d43b3c
* Inform ConnectivityService about always-on VPN lockdown.Lorenzo Colitti2021-01-071-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when an always-on VPN is set in lockdown mode, Vpn configures prohibit UID rules in netd directly and does not inform ConnectivityService of the fact. This means that ConnectivityService cannot send NetworkCallbacks that tells apps that they are blocked or unblocked. It also means that ConnectivityService has to take the mVpns lock and call into Vpn to allow synchronous APIs such as getActiveNetwork to return BLOCKED if the app is blocked. Move all this to ConnectivityService: - Add a setRequireVpnForUids API to ConnectivityManager, and have that pass the routing rules to netd. - Update VpnTest to expect calls to ConnectivityManager instead of to netd. - Whenever setRequireVpnForUids is called, ensure that ConnectivityService sends onBlockedStatusChanged to the affected callbacks. - Update existing unit tests to check for callbacks. - Add a way to find the VPN that applies to a given UID without taking the VPN lock, by instead scanning all connected VPNs. Use this as a replacement for direct access to mVpns. For simplicity, and in order to ensure proper ordering between the NetworkCallbacks sent for VPNs connecting and disconnecting, process blocked UID ranges on the handler thread. This means that when setRequireVpnForUids returns, the rule changes might not have been applied. This shouldn't impact apps using network connectivity, but it might mean that apps setting an always-on package, and then immediately checking whether networking is blocked, will see a behaviour change. Bug: 173331190 Fix: 175670887 Test: new test coverage in ConnectivityServiceTest Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn \ MixedDeviceOwnerTest#testAlwaysOnVpnLockDown \ MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot \ MixedDeviceOwnerTest#testAlwaysOnVpnPackageUninstalled \ MixedDeviceOwnerTest#testAlwaysOnVpnUnsupportedPackage \ MixedDeviceOwnerTest#testAlwaysOnVpnUnsupportedPackageReplaced \ MixedDeviceOwnerTest#testAlwaysOnVpnPackageLogged \ MixedProfileOwnerTest#testAlwaysOnVpn \ MixedProfileOwnerTest#testAlwaysOnVpnLockDown \ MixedProfileOwnerTest#testAlwaysOnVpnAcrossReboot \ MixedProfileOwnerTest#testAlwaysOnVpnPackageUninstalled \ MixedProfileOwnerTest#testAlwaysOnVpnUnsupportedPackage \ MixedProfileOwnerTest#testAlwaysOnVpnUnsupportedPackageReplaced \ MixedProfileOwnerTest#testAlwaysOnVpnPackageLogged \ MixedManagedProfileOwnerTest#testAlwaysOnVpn \ MixedManagedProfileOwnerTest#testAlwaysOnVpnLockDown \ MixedManagedProfileOwnerTest#testAlwaysOnVpnAcrossReboot \ MixedManagedProfileOwnerTest#testAlwaysOnVpnPackageUninstalled \ MixedManagedProfileOwnerTest#testAlwaysOnVpnUnsupportedPackage \ MixedManagedProfileOwnerTest#testAlwaysOnVpnUnsupportedPackageReplaced \ MixedManagedProfileOwnerTest#testAlwaysOnVpnPackageLogged Test: atest FrameworksNetTests HostsideVpnTests \ CtsNetTestCases:VpnServiceTest \ CtsNetTestCases:Ikev2VpnTest Change-Id: Iaca8a7cc343aef52706cff62a7735f338cb1b772
* Merge "Remove mobile provision design out from connectivity service"Chiachang Wang2021-01-071-33/+0
|\
| * Remove mobile provision design out from connectivity serviceChiachang Wang2021-01-071-33/+0
| | | | | | | | | | | | | | | | | | | | | | In order to support ConnectivityService mainline, module should not use hidden APIs. The logic to get mobile provision is moved to telephony surface since it's only used by telephony. Hence, remove the design out from Connectivity. Bug: 175177794 Test: atest FrameworksNetTests Change-Id: Ic3082fc1c4d7ac998f4e4cff1351e6829d500924
* | Merge "Replace withCleanCallingIdentity with [clear|restore]CallingIdentity"Lucas Lin2021-01-071-15/+27
|\ \
| * | Replace withCleanCallingIdentity with [clear|restore]CallingIdentitylucaslin2020-12-301-15/+27
| |/ | | | | | | | | | | | | | | | | | | To prevent using @hide method - withCleanCallingIdentity() from mainline module, use clearCallingIdentity() & restoreCallingIdentity() instead. Bug: 172183305 Test: FrameworksNetTests, CtsNetTestCasesLatestSdk Change-Id: Iccd492741a0a5b1c2531fc5fc1378933b65ae038
* / Migrate away from AsyncChannel in NetworkAgentRemi NGUYEN VAN2020-12-251-4/+5
|/ | | | | | | | | | | | | | | | Use two oneway binder interfaces instead. The interfaces post messages to handlers as was implemented before, but provide a more strictly defined interface, with less hops between NetworkAgent, AsyncChannel, and ConnectivityService. The actual public interface is the NetworkAgent @SystemApi: the binder interface is an internal implementation detail. Test: atest FrameworksNetTests CtsNetTestCasesLatestSdk Bug: 173574274 Merged-In: Ie364ab50f416e7821e70f4539a881eea828e1256 Change-Id: Ie364ab50f416e7821e70f4539a881eea828e1256
* Move phone ID to extra for action provisionSarah Chin2020-12-151-2/+2
| | | | | | | | | | | | Previously, the phone ID was appended to the broadcast in DCT and sent to ConnectivityManager. Instead of sending both as an action, send the phone ID as an extra instead to make the action a protected broadcast. Test: manually verify a SecurityException when action provision is sent Test: atest DcTrackerTest Bug: 172459128 Change-Id: Ic4129def86949d7191d15056852718dadbd72fba Merged-In: Ic4129def86949d7191d15056852718dadbd72fba
* Remove hidden deprecated getActiveNetworkQuotaInfoChiachang Wang2020-12-151-11/+0
| | | | | | | | | | | | getActiveNetworkQuotaInfo has never been in API surface since it was introduced. It became essentially functionless since android O, so there should be no usage dependency upon the hidden method, In order to support ConnectivityService mainline, remove the useless function to prevent necessary dependency. Bug: 172183305 Test: atest FrameworksNetTests Change-Id: Ia685b3260256d465ef614b2f577d13344074c787
* Add ConnectivityManager.TYPE_PROXY to SystemApiRemi NGUYEN VAN2020-11-301-1/+1
| | | | | | | | | | | | | | | | | This follows other TYPE_* constants like TYPE_WIFI_P2P that are @SystemApi or public. TYPE_PROXY has a use-case for the system to set network policies based on proxy network templates. Although network types are deprecated, that use-case needs to be supported and significant amounts of network management would need to be rewritten to stop using network types. The constant needs to be API as ConnectivityManager is planned to move out of framework.jar, so only its formal API will be available to the system server. Bug: 174436414 Test: m Change-Id: I266ed6bc59f5eb72302afe14472c93933733c8f8
* Merge "Add maxTargetSdk restriction to unused APIs."Mathew Inwood2020-11-091-20/+20
|\
| * Add maxTargetSdk restriction to unused APIs.Mathew Inwood2020-11-041-20/+20
| | | | | | | | | | | | | | | | | | | | | | These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
* | Adding API stubs for application network routingJames Mattis2020-11-061-0/+5
|/ | | | | | Bug: 171795464 Test: atest FrameworksNetTests Change-Id: Ib055aa37a7bf0c48c335307afc2258aa869c4267
* Merge "Remove @TestApi from @SystemApi symbols"Anton Hansson2020-10-201-3/+0
|\
| * Remove @TestApi from @SystemApi symbolsAnton Hansson2020-10-191-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I ran these commands: cd frameworks/base grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs' grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs' Bug: 171179806 Test: m checkapi Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789 Merged-In: I772790b783b0a8730b8bf680c9e569a886b8d789
* | Create service-connectivity.jarAaron Huang2020-10-161-0/+12
|/ | | | | | | | | | | | | | | | | | | | Create a new target service-connectivity to split ConnectivityService from services.core. Add ConnectivityServiceInitializer for initializing ConnectivityService and add systemReady() in ConnectivityManager so that SystemServer can call systemReady() through ConnectivityManager which won't change current behavior. Bug: 158268939 Test: make target-java, make host-java atest FrameworksNetIntegrationTests atest FrameworksNetTests make, device can boot, atest CtsStrictJavaPackagesTestCases wifi and mobile data work. Change-Id: I99401772ba9c1c34adca20040da3c7c72d86ddd9 Merged-In: Ie732bfaf381404af0bb599ca2f421a96e7aa4257
* Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li2020-08-311-2/+1
|\ | | | | | | | | | | Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
| * Merge "Document the limitation to a hundred callbacks." am: 0f3e06a1fa am: ↵Chalard Jean2020-06-111-9/+78
| |\ | | | | | | | | | | | | | | | | | | | | | 79d15abe06 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1313813 Change-Id: I84b1e39503feddc914b61d4e8bd35953e92ac270
| * \ Merge "Cleanup config_mobile_hotspot_provision_app usage" am: 443092b9a8 am: ↵Mark Chien2020-06-111-21/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0f4e04f5c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1329014 Change-Id: Ib3bb0129419ffd55df6c2c53cce3ad7e9155e854
| * \ \ Merge "Create TestApi for simulating a Data Stall on ConnectivityService." ↵Cody Kesting2020-05-121-0/+25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | am: 655b811c3d am: 63d8b0ef99 Change-Id: I17839cd271d984f76c203889293cc51375bb8bcb
| * \ \ \ Merge "Set attributionTag for noteOp(WRITE_SETTINGS) calls" am: da8697a48b ↵Philip P. Moltmann2020-04-221-9/+50
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c5299c7c3a Change-Id: I099944752fc3006c1e98750dd46dbebf5e50789f
| * | | | | Update NetworkAgentConfig API for council commentsChalard Jean2020-03-251-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 152238712 Test: FrameworksNetTests NetworkStackTests Change-Id: Idca9f243a5c955f4caa30921ee520e1a93b0d11a
| * | | | | Merge "Move NetworkCallback to last parameter for new exposed ↵TreeHugger Robot2020-03-191-13/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | requestNetwork" into rvc-dev
| | * | | | | Move NetworkCallback to last parameter for new exposed requestNetworkmarkchien2020-03-191-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 151243698 Test: atest TetheringTests Change-Id: I87ef1d451eefa6998b9793c4eacabae978376d24
| * | | | | | Merge "TetheringManager API clean up" into rvc-devMark Chien2020-03-191-11/+19
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | TetheringManager API clean upmarkchien2020-03-191-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per API review: - @IntDef defined on the type integer parameter - have getters on each parameter that is set in the TetheringRequest.Builder - new added API should not be deprecated Below APIs is moved from system-current to module-lib-current that only plafrom code(e.g. ConnectivityManager and Settings) can use them. TetheringRequest. onTetherableInterfaceRegexpsChanged, TetheringInterfaceRegexps: Only platform code can use them because interfaces by regular expressions are a mechanism which is planning to be deprecated. Also rename some constants for easier to understand. Bug: 149858697 Bug: 151243337 Test: m doc-comment-check-docs atest TetheringTests Change-Id: Idd041f0fbeca411ea23e49786a50dd7feb77ef45
| * | | | | | Kill ConnectivityManager.CONNECTIVITY_ACTION_SUPLAutomerger Merge Worker2020-03-191-94/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONNECTIVITY_ACTION_SUPL is marked as a "temporary hack" and has never been public. Remove this intent definition since no one is receiving this intent and should use network callback to know the connection change. Bug: 109636544 Test: atest FrameworksNetTests Change-Id: Ie9e5127742beba04f1c191e894e8a29fe1e704bb Merged-In: Ie9e5127742beba04f1c191e894e8a29fe1e704bb (cherry picked from aosp/1224697)
| * | | | | Accept MAINLINE_NETWORK_STACK permission on register/unregister network providerAutomerger Merge Worker2020-03-101-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Registering/Unregistering network provider needs NETWORK_FACTORY which is signature only permission. But mainline modules can't grant this permission because it's not signed with platform key. Hence, these APIs should also accept MAINLINE_NETWORK_STACK permission that allow mainline module to register/unregister network provider. Bug: 150733435 Test: atest FrameworksNetTests Change-Id: Id22113aa0db01244817b4b008f5573c5e7b317f0 Merged-In: Id22113aa0db01244817b4b008f5573c5e7b317f0 (cherry picked from aosp/1248727)
| * | | | | Remove polling of TetheringManager in ConnectivityManager.Automerger Merge Worker2020-03-091-41/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: manual Bug: 144742179 Merged-In: I7d88b38eb3d741534e980b7d1e226a411b71fae2 (cherry picked from commit f8a55a19faa938b4e58310f9a90926276b7936ea) Change-Id: I5cc4231bfb9a0709d677acbb317ee98af31bd041
| * | | | | Revert "Add public fields to NetworkScore and make it @SystemApi"Chalard Jean2020-02-281-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a27e1eef14e575550f112a29d23fa40639387dfd. Bug: 113554781 Test: FrameworksNetTests FrameworksTelephonyTests FrameworksWifiTests Change-Id: Ie1e84bd2a16f088307b195f924f4e49335cbe367
| * | | | | Merge "Sanitize owner UID iff owning app does not have location ↵Automerger Merge Worker2020-02-201-6/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permissions." am: 239908298e am: 8b18b53599 am: 662028385d Change-Id: I9b8fb3ff8d907ecda918a8a926edb133b742c8f1
| * \ \ \ \ \ Merge changes Ide9daebc,Id47ada57 am: 88ec62afa9 am: eb43144549 am: 99c31b925cBenedict Wong2020-02-181-10/+10
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iaacfbe8b221d79e3d06d0d7ea81528db13e4611a
| * \ \ \ \ \ \ Merge "Use framework-tethering-stub instead of framework-tethering"TreeHugger Robot2020-02-071-3/+3
| |\ \ \ \ \ \ \
| | * | | | | | | Use framework-tethering-stub instead of framework-tetheringmarkchien2020-02-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-updatable part of the platform now is built with framework-tethering-stub, which is a stub library of framework-tethering. Bug: 147200698 Test: m Change-Id: I97ef83f7f9b4c1376f373713036f5256318f1050
| * | | | | | | | NetworkRequest: Embed requestor uid & packageNameRoshan Pius2020-02-061-4/+10
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the requestorUid & requestorPackageName fields to NetworkCapabilities. This is populated by CS when a new network request is received. These 2 requestor fields are also optionally used for network matching. All of the regular app initiated requests will have the requestor uid and package name set by connectivity service. Network agents can optionally set the requestorUid and requestorPackageName to restrict the network created only to the app that requested the network. This will help removing the necessity for the various specifiers to embed the uid & package name info in the specifier for network matching. Note: NetworkSpecifier.assertValidFromUid() is deprecated & removed in favor of setting the uid/package name on the agent to restrict the network to a certain app (useful for wifi peer to peer API & wifi aware). Bug: 144102365 Test: Verified that wifi network request related CTS verifier tests pass. Test: Device boots up and connects to wifi networks Change-Id: I207c446108afdac7ee2c25e6bbcbc37c4e3f6529
| * | | | | | | Add public fields to NetworkScore and make it @SystemApiChalard Jean2020-01-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 113554781 Bug: 146583853 Test: FrameworksNetTests Change-Id: I19d965c0146196cb67b3417eb1790ccd90ce3233
| * | | | | | | Merge "Allows the caller to specify configuration by TetheringRequest"Remi NGUYEN VAN2020-01-241-6/+36
| |\ \ \ \ \ \ \
| | * | | | | | | Allows the caller to specify configuration by TetheringRequestmarkchien2020-01-231-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is initial work to allow caller to pass their prefered configuration to start tethering. Caller may able to specify the downstream interface ipv4 address with dhcp server disabled for static IP configuration, or able to exempt entitlement check if they have permission in follow up CL. Bug: 141256482 Test: -atest TetheringTest -ON/OFF wifi tethering Change-Id: Ic7c3a33195bbd7e72f9b8e73fa148be476b87bf3
| * | | | | | | | Fix javadoc build break s/line/link/Nathan Harold2020-01-231-2/+2
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 148248781 Test: compilation Change-Id: I9df208a9b063b71b2f6cc3099005d1ab38044cd2