Commit graph android_packages_modules_Co.../networksecurity/TEST_MAPPING
Message SHA1
Add NetworkSecurityUnitTests to tethering-mainline-presubmit
Test with connectivity/tethering module only, to catch integration issues with older versions of other modules.

Only the unit test are added to the test_mapping for now. The CTS tests are not compatible with older dessert releases.

The min_sdk_version in the test build target should help preventing the
regressions from b/398885474.

Bug: 397130276
Test: on go/abtd
Change-Id: I215758a34901ff048a8279b4a417ef9f4797db0f

Sandro Montanari   commited 2025-03-11 12:05:53 +00:00
5a7eeec399
Revert "Add mapping to trigger NetworkSecurity unit tests on presubmit for tethering-mainline-presubmit"
This reverts commit f37bf52f86.

Reason for revert: b/398885474

Change-Id: Ib5d6ee1fe2738518ba6c3de17c42bb59a673e6af

Sandro Montanari   authored and   Gerrit Code Review   commited 2025-02-25 02:45:00 -08:00
5a06ed3cb4
Add mapping to trigger NetworkSecurity unit tests on presubmit for tethering-mainline-presubmit
Test with connectivity/tethering module only, to catch integration issues with older versions of other modules.

Only the unit test are added to the test_mapping for now. The CTS tests are not compatible with older dessert releases.

Bug: 397130276
Test: n/a
Change-Id: I832bf21ebe5a0f7033e0f2a68714efa7a6e37bc8

Sandro Montanari   commited 2025-02-24 14:10:16 +00:00
f37bf52f86
Revert "Add mapping to trigger NetworkSecurity unit tests on presubmit for tethering-mainline-presubmit"
This reverts commit b54ea49050.

Reason for revert: Droidmonitor created revert due to b/397704210. Will be verifying through ABTD before submission.

Change-Id: I9ca21679c505c1db0ce40b607336dbf43abda011

Priyanka Advani (xWF)   authored and   Gerrit Code Review   commited 2025-02-19 12:28:14 -08:00
4a2854b30a
Add mapping to trigger NetworkSecurity unit tests on presubmit for tethering-mainline-presubmit
Test with connectivity/tethering module only, to catch integration issues with older versions of other modules.


Bug: 397130276
Change-Id: Idc2fec3fa7b17ae87f6dcebcf4179196abd9f971
Test: n/a

Sandro Montanari   commited 2025-02-19 03:03:14 -08:00
b54ea49050
Add NetSecConfigCertificateTransparencySctNoLogListTestCases to
networksecurity TEST_MAPPING

Now that ag/31339357 has been merged, the "no log list present" test
cases can now be added to the NetworkSecurity presubmit.

Bug: 378424118
Bug: 378423774
Test: atest --test-mapping packages/modules/Connectivity/networksecurity
Change-Id: Id72bf93657ea7257e37a52a42294bcd90b56591c

Bessie Jiang   commited 2025-01-22 19:41:18 +00:00
f449f91537
Ensure directory permissions are granted for CT root and version directories
In aosp/3434620 the logic of the DirectoryUtils#makeDir method
was changed to use dir.mkdirs() instead of dir.mkdir(). This
resulted in an issue where the permissions were not properly
set for the CT root directory.

Also, add tests to presubmit set for networksecurity.

Bug: 377276991
Test: atest --test-mapping packages/modules/Connectivity/networksecurity
Change-Id: I8a41224bf425b4ec869dc1ee087e8efda4644423

Sandro Montanari   commited 2025-01-16 10:52:52 +00:00
5cc68e42f8
Schedule log list download on flag update
Add the CertificateTransparencyDownloader to download the data and
metadata needed by Certificate Transparency.

The download is triggered when either the content URL, the metadata URL,
or the log list flags change.

The version numbers and URLs are stored in an on-disk DataStore to make
sure the same files are not downloaded on repeated flag updates.

Flag: com.android.ct.flags.certificate_transparency_service
Bug: 319829948
Test: atest NetworkSecurityUnitTests
Change-Id: Ic30e2973fdce99ea861d13f7777128161dd4003e

Sandro Montanari   commited 2024-08-21 10:18:00 +00:00
799860a21d