summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Merge mainline-release 6664920 to master - DO NOT MERGEBill Yi2020-09-171-2/+2
|\ | | | | | | | | Merged-In: I09503c3e461299afc4d58c69d235369857797d9b Change-Id: Iec3c6d656851a8ed3e49a1b9d406754c90b7881c
| * Import translations. DO NOT MERGEBill Yi2020-05-091-1/+1
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I0865454d50a7deba68eb5c8149dc38dcf0894a18
| * Update default value of probe url to be a constantChiachang Wang2020-05-072-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | Default value for probing url should be a constant in NetworkStack but not an overlayable config due to some technical limitations. OEMs can mistakenly override configs that were not designed to be overridden. Bug: 152730542 Test: atest NetworkStackTests NetworkStackNextTests Change-Id: I1846958e7c4e8b64ae287718c63e705bb232632a Merged-In: I1846958e7c4e8b64ae287718c63e705bb232632a
| * Prevent using commas in url configurationsChiachang Wang2020-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Literal commas are not allowed in the url configuration because they are used as a separator internally. Add document in the resource to prevent OEMs to misconfigure it and cause unexpected result. Bug: 155027030 Test: m -j30; atest NetworkStackTests Change-Id: I76a847105fc6e57542bb7b8e2dc7ce45ae8393a3 Merged-In: I76a847105fc6e57542bb7b8e2dc7ce45ae8393a3
| * Add EvaluatingBandwidthState to evaluate network bandwidthLucas Lin2020-05-062-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a new state between EvaluatingPrivateDnsState and ValidatedState to evaluate the network bandwidth. This state is optional, OEMs can overlay the resource file and set the related config to enable this feature. Bug: 133522566 Test: atest NetworkStackTests Change-Id: I4b43450ad7ed4284bf433b0daab8d0c00d4c284e Merged-In: Ia2d6e4b8e434c15e76bc9e58874c40b1647f97fb (cherry picked from commit 679809049207e48a63fde4f00f1084a3ea287dc1)
| * Import translations. DO NOT MERGEBill Yi2020-04-2332-32/+32
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I22038ebea5d21d055e05c6eaabb16aaf392399be
| * Import translations. DO NOT MERGEBill Yi2020-04-1910-19/+10
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I30ad1c7d884a436788b5e5159881e1e3090c50d3
| * Import translations. DO NOT MERGEBill Yi2020-04-1285-85/+94
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: Ifeeafbddf48f36ace5f92b33710dc5e6df574c21
| * Matches the URL content by regular expressionlucaslin2020-04-102-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge "Do not detect portals when DNS returns private IPs" into rvc-devRemi NGUYEN VAN2020-04-102-0/+16
| |\
| | * Do not detect portals when DNS returns private IPsRemi NGUYEN VAN2020-04-102-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Change Connectivity Manager to Network ManagerRemi NGUYEN VAN2020-04-081-1/+1
| |/ | | | | | | | | | | | | | | | | | | 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
| * Merge changes Ifdf54ace,Ib2c1d16d into rvc-devChiachang Wang2020-04-062-0/+6
| |\ | | | | | | | | | | | | | | | * changes: [MP02] Make multiple probe url configration overlayable [MP01] Add configuration to support multiple probes
| | * [MP02] Make multiple probe url configration overlayableChiachang Wang2020-04-011-0/+2
| | | | | | | | | | | | | | | | | | | | | Bug: 139034276 Test: atest NetworkStackTests NetworkStackNextTests Merged-In: Ifdf54ace6dcc05efc14c182018848880cfb0a00f Change-Id: Ifdf54ace6dcc05efc14c182018848880cfb0a00f
| | * [MP01] Add configuration to support multiple probesChiachang Wang2020-04-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add configuration to allow configuring multiple probe. Bug: 139034276 Test: atest NetworkStackTests NetworkStackNextTests Merged-In: Ib2c1d16d2088ef043cdc6f9cb323a9df552beefb Change-Id: Ib2c1d16d2088ef043cdc6f9cb323a9df552beefb
| * | Import translations. DO NOT MERGEBill Yi2020-04-041-4/+2
| |/ | | | | | | | | Auto-generated-cl: translation import Change-Id: I73c07a842c533f0386eb26f49ddddaf167b4162b
| * Import translations. DO NOT MERGEBill Yi2020-03-3167-161/+112
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: Ib273031cc7620ed779b761c84f4890bdd6f14979
| * Import translations. DO NOT MERGEBill Yi2020-03-2474-182/+91
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I9900143eea2afb778dab00a991bf1733dc7819db
| * Import translations. DO NOT MERGEBill Yi2020-03-1984-187/+177
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I5239fbcbb035052ee5a58256021c4e0da8808439
| * Merge "Import translations. DO NOT MERGE" into rvc-devTreeHugger Robot2020-03-1983-82/+520
| |\
| | * Import translations. DO NOT MERGEBill Yi2020-03-1983-82/+520
| | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I3841ae2b1786891130fd171bc95618750b47f25a
| * | Update the title & description of notificationLucas Lin2020-03-191-11/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Refer to the UX design doc to fix the title & description. Bug: 150903640 Test: 1. Build pass 2. atest NetworkStackTests 3. Manual test to see if the title & description are shown as expected Change-Id: I5ab49a3b5b220e144c69627eb9d02c6ddc438716 Merged-In: I354f9f19aa4d8057b49833107c8bd4d9c67d5525 (cherry picked from commit 07c905836d8a0d153ad3f02421b9776a0cee1108)
| * Merge "Fix the description in string.xml" into rvc-devTreeHugger Robot2020-03-171-1/+1
| |\
| | * Fix the description in string.xmlAutomerger Merge Worker2020-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 151333843 Test: 1. Build pass 2. atest NetworkStackTests Change-Id: I953f76ea333e6af2d1e0ec78c40078788f0a9da8 Merged-In: I406e3c29fabff18e4f8d966477f859b0ba1f5e9a
| * | Provide RRO to configure neighbor unreachable probes parameters.Automerger Merge Worker2020-03-172-0/+14
| |/ | | | | | | | | | | | | | | | | Bug: 130871097 Test: atest FrameworksNetTests NetworkStackTests Merged-In: Idc2c4303640d4fd3fc29dd0957771088820030ff (cherry picked from commit f540206076ca0e55d685ef81e3e04da3e9a654cf) Change-Id: Icd69008635461aa24d976f9b9d2d0ef1d60e23d5
| * Change the sender name of notificationAutomerger Merge Worker2020-03-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Current sender name of connected notification may be not meaningful to the user. Change the sender name from NetworkStack to Connectivity Manager. Bug: 150903640 Test: 1. Build pass. 2. Flash the ROM and see if the sender name has changed. Change-Id: Ib2acb18f9f56f94e39651d6630bd1c99d4f958b2 Merged-In: Ica379240eace4a8e8f43fe6053825f544c29bcc6
| * Import translations. DO NOT MERGEBill Yi2020-03-1574-0/+1924
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I2ea9875b26423337070842eab2dc61bb58d8799c
| * Change the icon of connected notificationAutomerger Merge Worker2020-03-101-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | Updated the icon_wifi.xml to follow the old design which was referring to the ic_wifi_signal_4.xml. Bug: 150903640 Test: 1. Build pass. 2. Flash the ROM to see if the icon has changed. Change-Id: I276f48550631ac654cc7a6426329414ff0fa0963 Merged-In: I276f48550631ac654cc7a6426329414ff0fa0963
* | Import translations. DO NOT MERGE ANYWHEREBill Yi2020-09-0485-0/+2210
| | | | | | | | | | Auto-generated-cl: translation import Change-Id: I76219650c4abe308109a293a5bfd7500908e7ddd
* | Revert "Update language to comply with Android's inclusive language guidance"Chiachang Wang2020-07-311-1/+1
| | | | | | | | | | | | | | | | This reverts commit a4d416f8a9c540a8ec29eb4fe735810f64976fee. Reason for revert: <This change requires a change in PermissionManagerService but it will also update lots of documents and files. Keep previous log for now.> Change-Id: I0a0202c06de0f277296c86e53237a7904686b125
* | Update language to comply with Android's inclusive language guidanceChiachang Wang2020-07-301-1/+1
| | | | | | | | | | | | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 161896447 Test: m ; atest NetworkStackIntegrationTests Change-Id: If82bc36de525503c38432dcc150b0cbf579881e9
* | Merge changes I1846958e,I76a84710 am: 1ade5b7d8cChiachang Wang2020-05-072-12/+32
|\ \ | | | | | | | | | Change-Id: I09ac3a0cb351c789b558b09126ded5050ffea26f
| * \ Merge changes I1846958e,I76a84710Chiachang Wang2020-05-072-12/+32
| |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Update default value of probe url to be a constant Prevent using commas in url configurations
| | * | Update default value of probe url to be a constantChiachang Wang2020-05-072-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default value for probing url should be a constant in NetworkStack but not an overlayable config due to some technical limitations. OEMs can mistakenly override configs that were not designed to be overridden. Bug: 152730542 Test: atest NetworkStackTests NetworkStackNextTests Change-Id: I1846958e7c4e8b64ae287718c63e705bb232632a
| | * | Prevent using commas in url configurationsChiachang Wang2020-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Literal commas are not allowed in the url configuration because they are used as a separator internally. Add document in the resource to prevent OEMs to misconfigure it and cause unexpected result. Bug: 155027030 Test: m -j30; atest NetworkStackTests Change-Id: I76a847105fc6e57542bb7b8e2dc7ce45ae8393a3
* | | | Merge "Add EvaluatingBandwidthState to evaluate network bandwidth" am: ↵Lucas Lin2020-05-052-0/+18
|\| | | | | | | | | | | | | | | | | | | | | | | bfc2429dda Change-Id: I7fd8710e60b7f6127e5aafa69d47d4ed755cd434
| * | | Merge "Add EvaluatingBandwidthState to evaluate network bandwidth"Lucas Lin2020-05-052-0/+18
| |\ \ \
| | * | | Add EvaluatingBandwidthState to evaluate network bandwidthlucaslin2020-04-292-0/+18
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new state between EvaluatingPrivateDnsState and ValidatedState to evaluate the network bandwidth. This state is optional, OEMs can overlay the resource file and set the related config to enable this feature. Bug: 133522566 Test: atest NetworkStackTests Change-Id: Ia2d6e4b8e434c15e76bc9e58874c40b1647f97fb
| * / / Import translations. DO NOT MERGEBill Yi2020-04-2585-99/+96
| |/ / | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I87457394a31bd07faaae75d0cb037089231d9265
| * | Merge "Import translations. DO NOT MERGE"Bill Yi2020-04-2185-365/+512
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2020-03-2685-365/+512
| | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Change-Id: I2bae4d0fe8e6141175affe268a0f231ee4c76403
* | | | Matches the URL content by regular expression am: d4c999f8f8lucaslin2020-04-102-0/+37
|\| | | | | | | | | | | | | | | Change-Id: I1b247f81d474299cd788b47843f8b921de52a4b7
| * | | Matches the URL content by regular expressionlucaslin2020-04-092-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Change-Id: I77747b34fad895565d42ea4c017759c256d61489
* | | | Merge "Do not detect portals when DNS returns private IPs" am: a9068317c9Remi NGUYEN VAN2020-04-092-0/+16
|\| | | | | | | | | | | | | | | Change-Id: Ic4f3c09e0f471e1bade7d72096c73cf1b2886cad
| * | | Merge "Do not detect portals when DNS returns private IPs"Remi NGUYEN VAN2020-04-092-0/+16
| |\ \ \
| | * | | Do not detect portals when DNS returns private IPsYeo2020-04-082-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Change-Id: I51975e18f424e3b7265011000f073777f376e597
* | | | | Merge "Change Connectivity Manager to Network Manager" am: 694231c7c2Remi NGUYEN VAN2020-04-081-1/+1
|\| | | | | | | | | | | | | | | | | | | Change-Id: I6c17d245a3157ab7321b532664e47b09ea5a79e6
| * | | | Change Connectivity Manager to Network ManagerRemi NGUYEN VAN2020-04-071-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following feedback from naming, change the NetworkStack display name in English from "Connectivity Manager" to "Network manager". Test: m Bug: 153199466 Change-Id: Ieeaac0e5080ce2fe7b6e223d50847dee74f08569
* | | | [MP02] Make multiple probe url configration overlayable am: d0ab1505d5Chiachang Wang2020-04-011-0/+2
|\| | | | | | | | | | | | | | | Change-Id: Id786855688e2280a9b0124166569318506331d57
| * | | [MP02] Make multiple probe url configration overlayableChiachang Wang2020-03-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 139034276 Test: atest NetworkStackTests NetworkStackNextTests Change-Id: Ifdf54ace6dcc05efc14c182018848880cfb0a00f