Commit graph android_packages_modules_Co.../service/ServiceConnectivityResources
Message SHA1
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I14e5b317804177f0d9aaa5c14b889e9532d956b4

Bill Yi   commited 2025-04-07 08:02:16 +00:00
1cb46a87b7
Automated log_list.json generation version 51.57
Bug: N/A
Test: N/A
Flag: NONE automatic key rotation
PiperOrigin-RevId: 741845525
Change-Id: I4fe20e2288e9a99f4ade358d24302fd9b26b6660

Android Network Security   authored and   Sandro Montanari   commited 2025-03-31 13:43:32 +00:00
b0ce1a5309
Merge changes I1d25e5c4,I367f5377 into main am: ee58f011ed
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3554881

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2025-03-21 16:40:14 -07:00
64c00aa254
Merge changes I1d25e5c4,I367f5377 into main
* changes:
  Use "*" to indicate default capabilities in config
  Move NetworkCapabilities parsing to EthernetConfigParser entirely

Treehugger Robot   authored and   Gerrit Code Review   commited 2025-03-21 16:14:26 -07:00
ee58f011ed
Use "*" to indicate default capabilities in config
Instead of using an empty string, make the use of default capabilities
explicit by requiring "*" to be specified.

This behavior is more consistent and allows OEMs to explicitly configure
an interface without any capabilities (apart from those which are
hard-coded). (Technically, they could do so by specifying one of the
hardcoded capabilities in the config).

Test: TH
Change-Id: I1d25e5c4b302b0dbde5e1bb91fc1ed5a7b08be9d

Patrick Rohr   commited 2025-03-21 14:21:59 -07:00
bcb2869df1
Merge "[Thread] add vendor & model name support for net diag" into main am: 52875db997
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3549145

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2025-03-21 03:54:47 -07:00
8c738ecae4
Merge "[Thread] add vendor & model name support for net diag" into main
Treehugger Robot   authored and   Gerrit Code Review   commited 2025-03-21 03:53:47 -07:00
52875db997
[Thread] add vendor & model name support for net diag
1. allow OEMs to default the vendor and model name to system properties.
2. use the vendor & model name for net diag TLVs

Change-Id: I30e988ba3e9cb9f9c5dc3a096f162d5dbcdfbc11

Kangping Dong   commited 2025-03-21 17:20:15 +08:00
6303c84ef5
[Thread] add config_thread_country_code_enabled to overlayable.xml am: 089103dff9
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3556283

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

Zhanglong Xia   authored and   Automerger Merge Worker   commited 2025-03-21 02:08:03 -07:00
08d3a14b04
[Thread] add config_thread_country_code_enabled to overlayable.xml
This commit adds `config_thread_country_code_enabled` to the
overlayable.xml to allow the device to overlay this configuration.

Bug: b/402276117
Test: Set the `config_thread_country_code_enabled` to `false` in
      the real Android device, then run the command
      `adb shell dumpsys thread_network` to check the state of
      CountryCode module.

Change-Id: I37cea57a38f5487c3a07508854adb6cfd25d50b2

Zhanglong Xia   commited 2025-03-21 07:14:12 +00:00
089103dff9
Merge "[Thread] add missing Thread overlay decl config_thread_border_router_default_enabled" into main am: 4b2271398c
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3550885

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2025-03-20 02:33:04 -07:00
c33cbd79ce
Merge "[Thread] add missing Thread overlay decl config_thread_border_router_default_enabled" into main
Treehugger Robot   authored and   Gerrit Code Review   commited 2025-03-20 01:54:10 -07:00
4b2271398c
[Thread] add missing Thread overlay decl config_thread_border_router_default_enabled
Bug: 401654864

Change-Id: I45886e094eddf078b36b23757fca17f650fb9420

Kangping Dong   commited 2025-03-20 15:15:00 +08:00
ff28366d9d
Merge "[Thread] add country code overlay to enable/disable setting Thread country code" into main am: adb71602c5 am: 6183394f07
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3545881

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

Zhanglong Xia   authored and   Automerger Merge Worker   commited 2025-03-19 08:18:46 -07:00
4cb73998eb
[Thread] add country code overlay to enable/disable setting Thread country code
Some android devices call the API `setChannelMaxPowers()` to set the
Thread radio output power. Then there is no need for these devices
to set the Thread country code.

This commit adds an overlay configuration `config_thread_country_code_enabled`
to enable/disable setting the Thread country code.

Bug: b/402276117
Test: atest ThreadNetworkUnitTests:ThreadNetworkCountryCodeTest#initialize_countryCodeDisabled_defaultCountryCodeIsUsed
Change-Id: I215c64757d0277853f8d4625ace363a4d7bb974b

Zhanglong Xia   commited 2025-03-19 05:23:13 +00:00
7356171339
[thread] Support non-BR mode am: 82988c3d98 am: 931e27df25
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3532110

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

Kangping Dong   authored and   Automerger Merge Worker   commited 2025-03-11 04:42:29 -07:00
3b82ae88ac
[thread] Support non-BR mode
This commit adds a resource overlay config for OEMs to disable the
Border Router feature by default. Also updates the tests to cover both
BR and non-BR use cases

Bug: 401654864
Change-Id: I7dd4363836269a08853b58304f62fe52f9021a9e

Kangping Dong   commited 2025-03-11 17:09:29 +08:00
82988c3d98
Merge 25Q1 (ab/BP1A.250305.020) to aosp-main-future
Bug: 385190204
Merged-In: Ibbba520f24e88f3dcbafd925aa8da319824377ad
Change-Id: Ib840c52538deb29ca92245d320d49405f45d2957

Xin Li   commited 2025-03-06 12:22:42 -08:00
e671fc9e06
Merge "Add config_nsdOffloadServicesDenyList to NsdService" into main am: 648d01b9f4 am: 747dd1deb3
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3513113

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

Yuyang Huang   authored and   Automerger Merge Worker   commited 2025-03-06 07:15:42 -08:00
759b87ec6e
Merge "Add config_nsdOffloadServicesDenyList to NsdService" into main
Yuyang Huang   authored and   Gerrit Code Review   commited 2025-03-06 06:10:06 -08:00
648d01b9f4
Add config_nsdOffloadServicesDenyList to NsdService
This commit introduces the config_nsdOffloadServicesDenyList to
NsdService to allow OEMs to specify services that should not be
offloaded. This feature addresses potential memory limitations by
enabling selective offloading, providing OEMs with greater control over
resource management.

Test: TH
Change-Id: I846e7cfc37c3a71c50853707884cf0c0a9a6f971

Yuyang Huang   commited 2025-03-06 21:30:21 +09:00
9b0f749723
Merge "Import translations. DO NOT MERGE ANYWHERE" into main
Treehugger Robot   authored and   Android (Google) Code Review   commited 2025-02-28 16:24:45 -08:00
80be884272
Merge changes If8bab93d,I6a2a4e04 into main am: a7278d3d00 am: 4cd14f27b7
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3510810

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

Sandro Montanari   authored and   Automerger Merge Worker   commited 2025-02-28 02:48:34 -08:00
f6771f7413
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6623a3a370266faf2570bac8d65409f916e70031

Bill Yi   commited 2025-02-27 09:26:40 -08:00
6cfa681586
Automated log_list.json generation version 51.24
PiperOrigin-RevId: 731342025
Change-Id: If8bab93dc6a3dc49417635a11b7fc881a168899a

Android Network Security   authored and   Copybara-Service   commited 2025-02-26 09:12:49 -08:00
7077205ad9
Automated log_list.json generation version 51.20
PiperOrigin-RevId: 729893402
Change-Id: I6a2a4e045b3f7c2c645a24f3657bb695278a0b71

Android Network Security   authored and   Copybara-Service   commited 2025-02-26 09:12:37 -08:00
65b39ab6ff
Merge "Update networksecurity resource owner" into main am: 486546c1f6 am: 2df63ccaac
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3500510

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

Sandro Montanari   authored and   Automerger Merge Worker   commited 2025-02-25 03:06:26 -08:00
c9c28e815c
Update networksecurity resource owner
Bug: 374719543
Change-Id: Iafb5392cb39fbcb854769fc4b8a7351701139b71
Test: n/a

Sandro Montanari   commited 2025-02-19 03:00:07 -08:00
ddeba7449a
Merge "Project import generated by Copybara." into main am: c347c1cbb9 am: 8209670349
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3488832

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2025-02-13 23:37:29 -08:00
98d386ce68
Project import generated by Copybara.
PiperOrigin-RevId: 724337083
Change-Id: I25e17cb54c3ba7564c11d3e1537eba8ef5980903

Android Network Security   authored and   Sandro Montanari   commited 2025-02-11 13:16:37 +00:00
354a222081
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 391337100
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7a0bb03195edda6121c6fae9784b6685b3615835)
Merged-In: Idfbd380f39d5909121ff72932cac1885857884af
Change-Id: Idfbd380f39d5909121ff72932cac1885857884af

Bill Yi   authored and   Android Build Coastguard Worker   commited 2025-01-22 15:31:23 -08:00
9d0c12ada9
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If26424edf440dae770d0d1b463541fd6bab4b4f8

Bill Yi   commited 2025-01-13 12:35:57 -08:00
9c68c53949
[Thread] allow disabling border router auto-join
Test: verified that when the config is set to `false`, thread won't start up after reboots:
```
➜  main-aosp-2 adb shell ot-ctl state
leader
Done
➜  main-aosp-2 adb reboot
➜  main-aosp-2 adb shell ot-ctl state
/system/bin/sh: ot-ctl: inaccessible or not found
➜  main-aosp-2 adb root
➜  main-aosp-2 adb shell ot-ctl state
disabled
Done
```

Bug: 378587036
Change-Id: I4d1c90ab3121f39219cbaf795879a7ba91db02a3

Kangping Dong   commited 2025-01-10 00:09:06 -08:00
d2fc66d4bb
[Thread] allow disabling SRP server wait for border routing
It's default enabled that it waits for border routing establishment
before starting the SRP server. But there are also use cases where
the user may want to know what are the devices in the Thread network
before actually reach to the devices, or it doesn't depend on border
routing to reach to a Thread device.

Given that, this commit adds the support of starting SRP server
without waiting for border routing by adding a new
Runtime Resource Overlay configuration parameter:
config_thread_srp_server_wait_for_border_routing_enabled

Test: it's difficult to assert on the SRP server starts up timing. But manually verified that the SRP server starts without waiting for the routing manager when the RRO config is flipped:

```
01-09 20:18:35.835  7555  7555 I ot-daemon: [I] RoutingManager: RsSender: Sent RS 1/3
01-09 20:18:35.835  7555  7555 I ot-daemon: [I] RoutingManager: Received RS from fe80:0:0:0:98af:44ff:fe2e:fa80 on infra netif 17
01-09 20:18:35.835  7555  7555 I ot-daemon: [I] RoutingManager: Will evaluate routing policy in 00:00.150 (150 msec)
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] NetDataPublshr: DNS/SRP service - State: Adding -> Added
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] SrpServer-----: Start listening on port 53536
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] NetworkData---: Sent ServerData
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] NetworkData---: Received ServerData
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] NetworkData---: Allocated Service ID = 1
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] NetworkData---: Sent ServerData ack
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] Notifier------: StateChanged (0x00000200) [NetData]
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] Mle-----------: Send Data Response (ff02:0:0:0:0:0:0:1)
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] BbrLeader-----: PBBR state: Unchanged
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] BbrLeader-----: Rloc16:0x8800, seqno:69, delay:5, timeout:3600
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] RoutingManager: Will evaluate routing policy in 00:03.558 (3558 msec)
01-09 20:18:35.926  7555  7555 I ot-daemon: [I] NetDataPublshr: DNS/SRP service (state:Added) in netdata - total:1, preferred:0, desired:2
```

Bug: 378587036
Change-Id: Ib768014f3c44dca89390cec823a1c2acac38ab0d

Kangping Dong   commited 2025-01-09 04:23:17 -08:00
fad62be2d2
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I647fddd00b1ee970859291468d481dd5bbfea0e6

Bill Yi   commited 2024-11-26 06:00:10 -08:00
2c15bee348
Merge "Mark packages/modules/Connectivity apps in updatable apexes with updatable: true" into main am: 7f16a49fa5 am: 7899826dd2
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3289621

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

Colin Cross   authored and   Automerger Merge Worker   commited 2024-10-03 18:23:45 +00:00
4bc8e61bf5
Merge "Mark packages/modules/Connectivity apps in updatable apexes with updatable: true" into main
Colin Cross   authored and   Gerrit Code Review   commited 2024-10-03 18:02:04 +00:00
7f16a49fa5
Mark packages/modules/Connectivity apps in updatable apexes with updatable: true
Set updatable: true for apps that are embedded in updatable apexes.
This replaces the top down propagation that was automatically setting
the flag in order to unblock support for incremental Soong analysis.

Bug: 367784740
Test: builds
Flag: EXEMPT refactor
Change-Id: Icba5fd39077b309750224b3cd4c8c3a65c94de10

Colin Cross   commited 2024-10-01 16:13:41 -07:00
558f56bd10
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I076a23a94e5bb5d107f85f5a14f67ae8879f12a6

Bill Yi   commited 2024-09-26 17:03:59 -07:00
7dd6014d8e
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia8ab98dfefdca0465e4bf2f8204c6add6be30fe1

Bill Yi   commited 2024-09-11 12:57:11 -07:00
1cc100928d
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1db0b57c43836690e32bcf7143afcbaa3d6ec0f1

Bill Yi   commited 2024-08-26 18:35:30 -07:00
ece6312190
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia9a85ebee743b224021282958b35ad4b80053e34

Bill Yi   commited 2024-08-12 14:52:39 -07:00
cf4bfb926d
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If234e9d43a8ef80994c12a5e0925bdcbb31de605

Bill Yi   commited 2024-08-06 15:18:43 -07:00
2df274b1a8
Merge "[Thread] add config_thread_mdns_vendor_specific_txts" into main am: 9365e728e5 am: 175659a2c2
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3143917

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2024-07-10 11:37:27 +00:00
f410ba2337
Merge "[Thread] add config_thread_mdns_vendor_specific_txts" into main am: 9365e728e5
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3143917

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2024-07-10 11:17:50 +00:00
175659a2c2
[Thread] add config_thread_mdns_vendor_specific_txts
per offline discussion, it's better to provide support of customizing
any vendor-specific TXTs to make the solution more generic. The preivous
defined "vgh" TXT entry is deprected.

Bug: 343671003
Change-Id: I6e2804e346d04078b7d28bfdc18ed6c23c5c10e6

Kangping Dong   commited 2024-07-10 17:36:13 +08:00
29918c1d45
Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e9a864e8c73fb020aac9aa2bbced53881914407

Bill Yi   commited 2024-06-25 17:17:29 -07:00
cef0270862
Merge "[Thread] add the "vgh" TXT entry" into main am: 7ff092e3d1 am: a00548da3d
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3109107

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2024-06-12 18:53:13 +00:00
a2b5576dc7
Merge "[Thread] add the "vgh" TXT entry" into main am: 7ff092e3d1
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/3109107

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

Treehugger Robot   authored and   Automerger Merge Worker   commited 2024-06-12 18:27:23 +00:00
a00548da3d
[Thread] add the "vgh" TXT entry
Allows vendors to specify whether the Thread network is managed by
Google or not.

Bug: 343671003

Change-Id: Ie4d4050add0485643ea3eff0c576868b086f848c

Kangping Dong   commited 2024-06-12 23:19:34 +08:00
151275359f