summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-13Merge "Import translations. DO NOT MERGE" into rvc-devTreeHugger Robot
2020-04-12Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Change-Id: I972b6ad702bc718f01ff56b0b6c940eb0f587816
2020-04-12[automerger skipped] Import translations. DO NOT MERGE am: 8ff57efca2 -s ↵Bill Yi
ours am: 8e428d5332 -s ours am skip reason: subject contains skip directive Change-Id: I2dc0aa89d0e2ebc286aa32903abbfd2a8ce49e85
2020-04-12[automerger skipped] Import translations. DO NOT MERGE am: 8ff57efca2 -s oursBill Yi
am skip reason: subject contains skip directive Change-Id: I8cf0747bb02b104af76aa4f2b3be2bf4581c40e5
2020-04-12Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Change-Id: Ifeeafbddf48f36ace5f92b33710dc5e6df574c21
2020-04-12[automerger skipped] Import translations. DO NOT MERGE am: fccc7df90b -s oursBill Yi
am skip reason: subject contains skip directive Change-Id: I0de9f6dc6101712e521ce6f7a7db6a712158542c
2020-04-11Import translations. DO NOT MERGEBill Yi
Auto-generated-cl: translation import Change-Id: I5e00487c7b5d0b7df6263d999e18ebbcbc167d44
2020-04-11Merge "Add assertContainsStringsExactly to MiscAsserts" into rvc-dev am: ↵TreeHugger Robot
91096fae2b am: 77079d1419 Change-Id: Ia0b986957e416befeae6227a91f47ab57c65f1bc
2020-04-11Merge "Add assertContainsStringsExactly to MiscAsserts" into rvc-dev am: ↵TreeHugger Robot
91096fae2b Change-Id: I4b4c279bad1fc922a8e571d9d797f480a763a6a3
2020-04-11Merge "Add assertContainsStringsExactly to MiscAsserts" into rvc-devTreeHugger Robot
2020-04-10Merge "Support specific client address configuration" into rvc-dev am: ↵Mark Chien
ad6540d6ac am: d6ca1051c6 Change-Id: Ie9f5516642453ee88559007618f5f5cfd89a5d1f
2020-04-10Merge "Support specific client address configuration" into rvc-dev am: ↵Mark Chien
ad6540d6ac Change-Id: I66461e359eff9e633a87b3587f5e70ace0c133b9
2020-04-10Merge "Support specific client address configuration" into rvc-devMark Chien
2020-04-10Refine DNS private IP probes am: 3ca1ff17e2 am: 3842f4dc73Remi NGUYEN VAN
Change-Id: Idbc85056795efdf75b8cbb0227474239985c27ad
2020-04-10Refine DNS private IP probes am: 3ca1ff17e2Remi NGUYEN VAN
Change-Id: I3b4e2b9fcddb11cfd116569e4bbcbf2608378b5c
2020-04-10Refine DNS private IP probesRemi NGUYEN VAN
This addresses comments on the parent change that introduced the optional feature. This change also considers IPv6 ULAs as private addresses, corrects some style and comments. Bug: 136734947 Test: atest NetworkStackTests:NetworkMonitorTest \ NetworkStackTests:NetworkStackUtilsTest Change-Id: I1169320f3a5c09631e754518c60acab337faf49b Merged-In: If4231804b77143b78f26a32c16db53fc4ac44cd8 (cherry picked from commit 0f62e8c6d21afd28280dbae7c3ea216097def466, aosp/1282802)
2020-04-10Matches the URL content by regular expression am: c3d9f71600 am: a405ab6299lucaslin
Change-Id: Ic248e8fa8c4f06d104c1fd4b26f7c8836a50036e
2020-04-10Matches the URL content by regular expression am: c3d9f71600lucaslin
Change-Id: If9da69bc440b68059f4c85ee517d71a4cd2be668
2020-04-10Support specific client address configurationTreehugger Robot
If specific config "clientAddr" is set, the DHCP server will only offer "clientAddr". This is for peer-to-peer use case. If there are multiple clients for which "clientAddr" is already in use, dhcp server will not offer other addresses to clients. Bug: 141256482 Test: manual atest NetworkStackNextTests Merged-In: I96bc24a9c30bfc48dff38c3c4456085694fd381c Change-Id: I96bc24a9c30bfc48dff38c3c4456085694fd381c
2020-04-10ipmemorystore-aidl-interfaces is marked as available to platformJiyong Park
The lib is depended on by NetworkStackNext which is part of the platform. With b/153073816, we will be checking the availability to the platform, i.e. platform-available module depending on platform-unavailable module causes a build error. Prepare for the change by correctly marking that this interface lib is available to the platform. Bug: 153073816 Test: m Change-Id: I946c9c874b381a8679071f87060d4e4739875f82
2020-04-10Merge "Do not detect portals when DNS returns private IPs" into rvc-dev am: ↵Remi NGUYEN VAN
6fb2a069f9 am: 414cb985f6 Change-Id: I1d283d76d55f4368203438c29efced0d8f8365d4
2020-04-10Merge "Use the lastest frozen netd_aidl_interface in NetworkStack" into ↵Luke Huang
rvc-dev am: 9eebee7583 am: bd90f60b1d Change-Id: I9f8f9589c80fed22ce658a9c0feb12c98eb993f4
2020-04-10Matches the URL content by regular expressionlucaslin
This patch provides a way to configure the regular expression which is used for matching the URL content. Once the result is matching, then NetworkMonitor will treat the validation result as fail or success. Bug: 141406258 Test: 1. Build pass 2. atest NetworkStackTests Merged-In: I77747b34fad895565d42ea4c017759c256d61489 Change-Id: I77747b34fad895565d42ea4c017759c256d61489
2020-04-10Merge "Do not detect portals when DNS returns private IPs" into rvc-dev am: ↵Remi NGUYEN VAN
6fb2a069f9 Change-Id: If93b11b7c01647f8d2f500ab0edbb185331a9ee0
2020-04-10Merge "Use the lastest frozen netd_aidl_interface in NetworkStack" into ↵Luke Huang
rvc-dev am: 9eebee7583 Change-Id: Ia830bd190d5b6247d36d97b129c292eb25830f64
2020-04-10Merge "Do not detect portals when DNS returns private IPs" into rvc-devRemi NGUYEN VAN
2020-04-10Change Connectivity Manager to Network Manager am: 46601ac76c am: a28272b7e2Remi NGUYEN VAN
Change-Id: I3a3eec84fa4847bce34277cdb0efa8fa003b90b2
2020-04-10Merge "Use the lastest frozen netd_aidl_interface in NetworkStack" into rvc-devLuke Huang
2020-04-10Change Connectivity Manager to Network Manager am: 46601ac76cRemi NGUYEN VAN
Change-Id: I06ffd7b9fe0502ed32e3d20b62e0c30b5e702215
2020-04-10Do not detect portals when DNS returns private IPsRemi NGUYEN VAN
When access points return private IPs (as defined in the NetworkMonitor constant) in response to DNS probes, do not consider the access point as behind a portal, but instead indicate that it has no connectivity. This solves issues with some access points that return private IP responses to DNS queries when they do not have internet access. This feature is turned off by default while investigating its impact. OEMs can force-enable it through a resource overlay: config_force_dns_probe_private_ip_not_portal. Metrics to evaluate the feature will be added in a later change. Bug: 136734947 Test: atest NetworkStackTests Merged-In: I51975e18f424e3b7265011000f073777f376e597 Change-Id: I51975e18f424e3b7265011000f073777f376e597
2020-04-09Use the lastest frozen netd_aidl_interface in NetworkStackLuke Huang
Bug: 140541991 Test: build Merged-In: I3d19c6ff11df1de44bf6c555067511509936a7a6 Change-Id: I3d19c6ff11df1de44bf6c555067511509936a7a6
2020-04-08[SP27.2] Rename TestableNetworkStatsProviderjunyulai
Currently, TestableNetworkStatsProvider is a subclass of INetworkStatsProvider. This is not very accurate naming after API council review feedback since now we have NetworkStatsProvider as a system api interface. Thus, this change rename it to TestableNetworkStatsProviderBinder and create another TestableNetworkStatsProvider to support subsequent test of NetworkStatsProvider. Test: atest FrameworksNetTests TetheringTests Bug: 150643374 Change-Id: I6c359dc718c24c384b827a465980b1c1c24075a0
2020-04-08Change Connectivity Manager to Network ManagerRemi NGUYEN VAN
Following feedback from naming, change the NetworkStack display name in English from "Connectivity Manager" to "Network manager". Test: m Bug: 153199466 Merged-In: Ieeaac0e5080ce2fe7b6e223d50847dee74f08569 Change-Id: Ieeaac0e5080ce2fe7b6e223d50847dee74f08569
2020-04-07Merge "Add bssid field in the ScanResultInfo class." into rvc-dev am: ↵Xiao Ma
a8782392d4 am: 4ab4a8886e Change-Id: Ia9d6cbe4d84381fa0d716ad5cf2fda354649787b
2020-04-07Merge "Add bssid field in the ScanResultInfo class." into rvc-dev am: a8782392d4Xiao Ma
Change-Id: Ib8fb647b6ff5007e20b0ed4c7ad460be02f6bf1e
2020-04-07Merge "Add bssid field in the ScanResultInfo class." into rvc-devXiao Ma
2020-04-07Rename IDhcpLeaseCallbacks to IDhcpEventCallbacks for more generic. am: ↵Xiao Ma
f8783184b0 am: ea8c8e988f Change-Id: I733a530267ecd3373ac207a62b97dffb49b3bb91
2020-04-07Rename IDhcpLeaseCallbacks to IDhcpEventCallbacks for more generic. am: ↵Xiao Ma
f8783184b0 Change-Id: I61fd758439b4f63342ae27caa0b1c22770b96e74
2020-04-07Add tests for IpReachabilityMonitorRemi NGUYEN VAN
The first tests just verify that provisioning is lost if all IPv4/6 DNS servers or gateways are lost. Test: atest NetworkStackTests Bug: 152819907 Merged-In: I8da6a8f4f237ce963c0a1610432d310160fd3f20 Change-Id: I8da6a8f4f237ce963c0a1610432d310160fd3f20
2020-04-07Add bssid field in the ScanResultInfo class.Xiao Ma
This change adds a new filed: bssid in the ScanResultInfo class which are encapsulated by WiFi when connecting to AP successfully, using current connected AP's bssid as a hint to determine whether L2 roaming happened or not. Also adding @NonNull annotation for fields, methods and constructor params. Bug: 131797393 Test: atest NetworkStackIntegrationTests NetworkStackTests Test: atest FrameworksNetTests Change-Id: Ia11f1954124f45f9586495f6be7fb7fb3430ae97
2020-04-07Rename IDhcpLeaseCallbacks to IDhcpEventCallbacks for more generic.Xiao Ma
This change renames IDhcpLeaseCallbacks, easier to expand in the future and adds a new method onNewPrefixRequest which will be called on DHCP server receives DHCPDECLINE message and request a new IPv4 prefix from IpServer. Bug: 130741856 Test: atest NetworkStackTests NetworkStackNextTests Merged-In: Ia7b08bb1e7feda08ffe9fbb8885dbc8b7bdd66c9 Change-Id: Ia7b08bb1e7feda08ffe9fbb8885dbc8b7bdd66c9
2020-04-06Add assertContainsStringsExactly to MiscAssertschenbruce
Bug: 143732914 Test: atest NetworkStackNextTests Change-Id: I9667be7fbc5b3b0cc462421e3dcda9cbe9660b48
2020-04-06Merge "[SP26.1] Add assert function for parceling NetworkStats" into rvc-dev ↵Junyu Lai
am: 520e8de526 am: 0df78ca0b0 Change-Id: I22410771c23be45c24cb136eeb92bd5d9b84a10c
2020-04-06Merge "[SP26.1] Add assert function for parceling NetworkStats" into rvc-dev ↵Junyu Lai
am: 520e8de526 Change-Id: Ie2abe756372c70740ad3fad4fb3fae95b6c2ed6a
2020-04-06Merge "[SP26.1] Add assert function for parceling NetworkStats" into rvc-devJunyu Lai
2020-04-06Merge changes Ifdf54ace,Ib2c1d16d into rvc-dev am: d1ec74f588 am: 682884183fChiachang Wang
Change-Id: I4283cfd641e0144b7e7b19fc7e56b24c3ba5ba83
2020-04-06[MP01] Add configuration to support multiple probes am: a64bb70602 am: ↵Chiachang Wang
4f85628ff0 Change-Id: Iebc8391ad3c9bdf1904b85af355f2ffc96ae030d
2020-04-06Merge changes Ifdf54ace,Ib2c1d16d into rvc-dev am: d1ec74f588Chiachang Wang
Change-Id: I44ed020c30bd3c59b3c5d29802f25f397d639463
2020-04-06[MP01] Add configuration to support multiple probes am: a64bb70602Chiachang Wang
Change-Id: I014052213070f57c5a91abb2896c61738b1f6709
2020-04-06Merge changes Ifdf54ace,Ib2c1d16d into rvc-devChiachang Wang
* changes: [MP02] Make multiple probe url configration overlayable [MP01] Add configuration to support multiple probes