Commit graph android_packages_modules_Co.../service/ServiceConnectivityResources
Message SHA1
[Thread] add resourceoverlay config for vendor and model name
Per Thread spec requirement, a Thread BR should optionally publish
the vendor and model name in the "_meshcop._udp" service.

This is useful for distinguish a Google or non-Google Thread BR.

Bug: 311324956
Change-Id: Iace5622197914794dd9c9a54f65f63207942b089

Kangping Dong   commited 2024-03-18 20:13:37 +08:00
bbb7828d31
Merge "[Thread] make Thread state customisable via resource overlay" into main am: 5ce2519a3e
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2916726

Change-Id: I245ca692066f3d206f402851c5688997267bb888
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Kangping Dong   authored and   Automerger Merge Worker   commited 2024-02-28 16:40:29 +00:00
19a5a97420
[Thread] make Thread state customisable via resource overlay
Make the default Thread and Border Router enabled state customizable for
vendor via resource overlay.

Bug: 322734489
Change-Id: I278d6afa82aac8d1bb06ee79f22bae6fb0199386

Kangping Dong   commited 2024-02-28 16:54:02 +08:00
c8359f4eb1
Merge "[DON'T BLOCK] Test ownership migration rules" into main am: e7aa45cdf0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2939819

Change-Id: I44d0250070a365ebea03b46cd1dbefa73f48ef51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Treehugger Robot   authored and   Automerger Merge Worker   commited 2024-02-01 00:08:24 +00:00
612ba174b8
[DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
<add g3 doc link>

Bug: 304529413
Test: N/A
Change-Id: I243f17b3f0ad7af9ffa15ca242456e36688733f5
Merged-In: I243f17b3f0ad7af9ffa15ca242456e36688733f5

Aditya Choudhary   commited 2024-01-31 12:34:50 +00:00
01b5ede2b2
Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: Iaaca422cb105c00ded1d84b40afd745abcd651b7
Change-Id: I4328f5086dfde8c49e4352895663cc7abccab7fa

Xin Li   commited 2024-01-30 10:38:09 -08:00
0d0b075a3a
Merge "[OWNERS] add Thread team to config resource OWNERS" into main
Kangping Dong   authored and   Gerrit Code Review   commited 2024-01-29 11:50:23 +00:00
1af39c0a47
[OWNERS] add Thread team to config resource OWNERS
Bug: 322734489
Change-Id: I9f6c781513a749c9e3953e8bad85b5ebaad776fa

Kangping Dong   commited 2024-01-29 16:43:35 +08:00
3d41ab69e8
Implement offload priority
Implement the TODO to assign priority to services based on an
overlayable configuration.

This changes the default priority from 0 to MAX_VALUE, as higher
priority values are less prioritized, so services not in the priority
list should have a high value. There is currently no user of the API
depending on the priority, so the change should not affect clients.

Test: atest
Change-Id: I3aae9b5fa7756de64c63974c192e4c96b632ce4e

Remi NGUYEN VAN   commited 2024-01-23 19:03:55 +09:00
5c9d6cbf16
Add Thread resource overlay support
This CL adds resource overlay support to allow developers to
change the default configuration of using the location country code.

Bug: b/311324956
Test: Set the resource overlay in cuttlefish, check the default
      configuration via the command `dumpsys thread_network`.

Change-Id: Ide853975e8244f06a382b2eda4844e030539b95d

Zhanglong Xia   commited 2024-01-03 00:29:55 +08:00
125a43c12b
Merge "Include both eth%d and usb%d ethernet interfaces on V+" into main
Treehugger Robot   authored and   Gerrit Code Review   commited 2023-12-23 00:50:23 +00:00
1bf5273349
Include both eth%d and usb%d ethernet interfaces on V+
Ethernet interface naming is not consistent on Linux.
While some USB ethernet dongles show up as eth0,
others might show up as usb0.

This CL changes config_ethernet_iface_regex to "*" which stands
for "use Android version specific default". The default will
include both usb\d+ and eth%d named interfaces on Android V+.
Android T/U will continue to only include eth%d interfaces
(note that the "+" is a new addition which is highly unlikely
to have any actual effect, but is more technically correct).

This reverts commit ac6ff00b83
with change of U+ to V+ minimum.

Reason for revert: Change from U+ to V+

Test: TreeHugger
Bug: 304335605
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I124b8cd284968b920e753a8dcc270c22af46c9aa

Maciej Å»enczykowski   commited 2023-12-22 10:28:59 +00:00
5512a2b70f
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie83ea77e0fbc17964af12950e4e5d89aa5726847

Bill Yi   commited 2023-12-05 15:39:48 -08:00
f26396c5d3
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
Bill Yi   authored and   Android (Google) Code Review   commited 2023-11-30 18:06:51 +00:00
43808e4232
Merge "Revert "Include both eth%d and usb%d ethernet interfaces on U+"" into main am: 783035bdfe
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2851331

Change-Id: I200cdd8bcf37422eaf0432824ceffc99c9744344
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Lorenzo Colitti   authored and   Automerger Merge Worker   commited 2023-11-30 04:20:04 +00:00
9ff1458a9a
Merge "Revert "Include both eth%d and usb%d ethernet interfaces on U+"" into main
Lorenzo Colitti   authored and   Gerrit Code Review   commited 2023-11-30 03:20:39 +00:00
783035bdfe
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia81d65cd82c2bf1a78ae8bad3444649634af7f68

Bill Yi   commited 2023-11-29 14:48:44 -08:00
d966023661
Revert "Include both eth%d and usb%d ethernet interfaces on U+"
This reverts commit 11eac8e12b.

Reason for revert: there are devices in the field using usbX interfaces for tethering

Change-Id: I7bbcbb703294de1c9dd3e0390bc8ad28aa350ef6

Lorenzo Colitti   authored and   Gerrit Code Review   commited 2023-11-29 11:09:44 +00:00
ac6ff00b83
Merge "Prompt user to add data on mobile portals" into main am: 5db2089717
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2632310

Change-Id: I92e425d14e5899f8e37d74221365ef5d4d5a4eec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Remi NGUYEN VAN   authored and   Automerger Merge Worker   commited 2023-11-27 03:37:20 +00:00
f83d712eac
Prompt user to add data on mobile portals
On mobile networks it is more likely that the user needs to top up or
get a mobile data subscription, rather than "sign in" as the previous
messaging was suggesting.
Following feedback from interaction designers / UX writers, change the
strings to be more appropriate for the most common use-case.

Bug: 153673376
Test: atest FrameworksNetTests
      manual test on mobile network force-detecting a portal.
Change-Id: I5b4d4a17fd507d8cf3c9863cf23b5fedb258852e

Remi NGUYEN VAN   commited 2023-11-24 11:02:19 +09:00
3f2ff2e3d7
Merge "Include both eth%d and usb%d ethernet interfaces on U+" into main am: 9b2a0d1962 am: 711bd82be1
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2784077

Change-Id: I9b58925bb846d05eb4981309e99732cc5b846372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Patrick Rohr   authored and   Automerger Merge Worker   commited 2023-10-12 18:38:53 +00:00
b765b261dd
Include both eth%d and usb%d ethernet interfaces on U+
Ethernet interface naming is not consistent on Linux. While some USB
ethernet dongles show up as eth0, others might show up as usb0.

This CL changes config_ethernet_iface_regex to "*" which stands for "use
Android version specific default". The default will include both usb\d+
and eth%d named interfaces on Android U+. Android T will continue to
only include eth%d interfaces (note that the "+" is a new addition which
is highly unlikely to have any actual effect, but is more technically
correct).

Bug: 304335605
Test: TH
Change-Id: I823be8ee390cb2b6dd41b537c72ed76f5aa9e0ea

Patrick Rohr   commited 2023-10-12 10:26:47 -07:00
11eac8e12b
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib8da9db1f15a993e8ac6a82ae7dcbc7a806a6fca

Bill Yi   commited 2023-08-31 03:20:26 -07:00
15001b1432
Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: Iff29b090c0b41d0103997a80788f09c2602df074
Change-Id: I5b03523defc88ffbc3aeab9ac8a29b4ca5a11f57

Xin Li   commited 2023-08-25 13:52:17 -07:00
4a6c653160
Merge "Allow firing the LOST_INTERNET intent immediately in config" am: 1acb331613 am: d3b7944193 am: 06184984db
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2614894

Change-Id: I096aeef7a761bb10d4c1bbd59f89badf1219f4d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Jean Chalard   authored and   Automerger Merge Worker   commited 2023-06-27 07:22:11 +00:00
a957271ae4
Merge "Allow firing the LOST_INTERNET intent immediately in config" am: 1acb331613 am: d3b7944193
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2614894

Change-Id: If0e4a14f9ed3423d7259dd634bc98826c562ca31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Jean Chalard   authored and   Automerger Merge Worker   commited 2023-06-27 06:34:35 +00:00
06184984db
Allow firing the LOST_INTERNET intent immediately in config
When config_notifyNoInternetAsDialogWhenHighPriority is on, the
LOST_INTERNET notification intent should be fired immediately
rather than as a pending intent.

Bug: 281970908
Test: Improve test for this in NetworkNotificationManagerTest
Change-Id: I88565839a12a1ab4b096f763250944ebaf6c5349

Chalard Jean   commited 2023-06-22 15:03:10 +09:00
e13b833b21
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I949074e1dd39228f08d18af3aadfb8bf24d9594f

Bill Yi   commited 2023-04-22 00:45:06 -07:00
4ec47ca793
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib67c4afbc117df5f6974897c01eebebac5f4d251

Bill Yi   commited 2023-04-11 02:56:56 -07:00
0402a8e44c
Merge "Set config_networkAvoidBadWifi overlay for Verizon" am: 0c0eb08dbb
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2424489

Change-Id: Id58c93bb10daebc7a6fffb7436c4a8bf436bca9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Junyu Lai   authored and   Automerger Merge Worker   commited 2023-02-09 03:42:55 +00:00
a3bc486638
Merge "Set config_networkAvoidBadWifi overlay for Verizon" am: 0c0eb08dbb
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2424489

Change-Id: I7da9dbfaf24da338289c718974bc4d7d4fe7dfa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Junyu Lai   authored and   Automerger Merge Worker   commited 2023-02-09 03:41:00 +00:00
e39f5718a1
Set config_networkAvoidBadWifi overlay for Verizon
Currently, config_networkAvoidBadWifi is customized in aosp
for only 2 Verizon mccmncs: 310-004 and 311-480.

However, from TAM feedback, there are few mccmncs
which are not customized yet. Explicitly add them to resources,
and linking files together.

Test: manual
Bug: 267489867
Change-Id: I688e3fa542a41b75e821d9ed62d1270e20b4c827

Junyu Lai   commited 2023-02-07 16:06:12 +08:00
cc792d9bf5
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4291b1f292a75ce8dade6985f54955d89cfd87ec

Bill Yi   commited 2022-12-29 19:49:06 -08:00
8f0c837cf8
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1aa0b50c8e086ed98151374cabed42902c1a5c14

Bill Yi   commited 2022-12-16 01:05:02 -08:00
689006d5e7
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I968782ff01f6393a0858a0a6784877a71c16e151

Bill Yi   commited 2022-12-14 16:46:39 -08:00
ff2226c70e
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I56791fc35c6e7b8665debe70a04ae8123e6f8844

Bill Yi   commited 2022-12-03 14:59:38 -08:00
dc39f79e4a
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0192a0142449d8421e0f94d9e96209514f0385bc

Bill Yi   commited 2022-11-15 22:34:06 -08:00
9fa742dbaa
Merge "[ServiceConnectivityResources] Remove explicit targetSdkVersion" am: 189cc451a9
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2193540

Change-Id: Id3f1e6f367f0ce8e52e3010c9ee3f1facf26c373
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Harshit Mahajan   authored and   Automerger Merge Worker   commited 2022-10-26 19:46:31 +00:00
47ad8b4b90
Merge "[ServiceConnectivityResources] Remove explicit targetSdkVersion" am: 189cc451a9
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2193540

Change-Id: Icdbbf6e185d2424f2cb7493a7f3fbf0aeb7a7407
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Harshit Mahajan   authored and   Automerger Merge Worker   commited 2022-10-26 19:45:10 +00:00
248fe4558a
[ServiceConnectivityResources] Remove explicit targetSdkVersion
Going forward targetSdkVersion would be set by build system.
It would be by default set to 10000 before SDK finalization,
and updated to the new API level after finalization.

Effectively it would mean:
1. '10000' in aosp and internal master
2. Finalized number in development branches like "33" in "tm-dev"
3. As sdk hasn't been finalised in "udc-dev", it would be "10000"
which would be automatically updated to finalized version after sdk finalization.

Removing the target sdk version declaration from the blueprint and manifest files.
More details can be found here go/mainline-modules-target-sdk-version-fix

Bug: b/242296003
Test: croot; sdks=`find ./out -name 'ServiceConnectivityResources.apk' | grep -v .intermediates`; echo $sdks; for sdk in $sdks;do aapt2 dump badging `echo $sdk` | grep targetSdkVersion:; done
1. outputs 33 in tm-mainline-prod
2. outputs 10000 in master

Change-Id: I84b7d29d9da2cb611ce1045bba27660c33165a79

Harshit Mahajan   commited 2022-10-19 19:24:10 +00:00
bf82b12896
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id09473819787abf4a26b04eeb3b64c337921cbcf

Bill Yi   commited 2022-10-09 15:15:32 -07:00
4d8f02f892
Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379
Merged-In: I3ebd4e721add97d7911167c49dad3ffe7bcf577b
Change-Id: I4d49c5b6d036a040e744e55d96920146d385d280

Xin Li   commited 2022-10-06 12:02:49 -07:00
d32b58a6cb
Merge changes I0c161fe7,Icfe1e64b am: 53d2727bec
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2238256

Change-Id: Id52468c33ad16be01eb5f6f18ed6e9e306717c22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Jean Chalard   authored and   Automerger Merge Worker   commited 2022-10-03 09:11:43 +00:00
77debca1d9
Fix a bug where 'avoid unvalidated' is broken
After setting 'avoid unvalidated' the next update of the
score by the agent will set the wrong value for that
flag in the NetworkScore object.

Also have the default behavior on S and T be like the old
one, rather than the new one

Test: manual
Change-Id: I0c161fe7098d3c60827fd50190911b6b762dfa42

Chalard Jean   commited 2022-10-03 11:54:02 +09:00
11b4d5e8b0
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I475151b25c98424460d655afca232204832e1734

Bill Yi   commited 2022-09-23 12:10:08 -07:00
11f459f7b9
Merge changes I7414c278,I11c7ea70 am: 778c9c9f52 am: a53d3cf318
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2219562

Change-Id: Ibd8fc6bcca466e7fc1187aed470f87e5e2c253f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Jean Chalard   authored and   Automerger Merge Worker   commited 2022-09-23 08:27:55 +00:00
da9af0d021
Introduce an overlay for actively preferring bad wifi.
This correctly updates when the mcc/mnc change.

Test: MultinetworkPolicyTrackerTest
Change-Id: I11c7ea7074a15975fb68d39eb3c728778d84a516

Chalard Jean   commited 2022-09-22 16:58:49 +09:00
020b93ac63
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5f200cd2a3e159e298a37bf98ed21942f2be78b0

Bill Yi   commited 2022-09-02 20:51:59 -07:00
df699c1948
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I93fe2333b8bd95c6002e67c00fdd932f9586bfe6

Bill Yi   commited 2022-07-03 12:35:54 -07:00
a7abb9fcac
Merge "Disable fallback when comparison result is different" into tm-dev am: ebec0f76ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/18849946

Change-Id: I568129dda63d52fb71e56f191063fa15913eb573
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>

Junyu Lai   authored and   Automerger Merge Worker   commited 2022-06-15 21:48:26 +00:00
480cd3a603