Commit graph android_packages_modules_Co.../tests/cts/tethering/AndroidTestTemplate.xml
Message SHA1
Test Tethering/NetworkStack package existence for SYSTEM and FULL users.
Follow-up from aosp/3405539, it is possible that OEMs do not
install Tethering/NetworkStack for certain user types.
This is undesirable. Therefore, enforce this with CTS test cases.

Flag: TEST_ONLY
Test: m CtsTetheringTest && atest \
      CtsTetheringTest:android.tethering.test.TetheringManagerTest
Fix: 400836850

Change-Id: I176d4930040d288846bde43beda9e30519ecd513

Junyu Lai   commited 2025-04-16 06:57:18 -07:00
90c80840d8
Add hostapd callstack to TetheringManagerTest dump
TetheringManagerTest may fail on T devices in rare cases due to hostapd
hanging. Log the hostapd callstack upon failure in #testStopAllTethering
so we can analyze it the next time the failure happens.

Flag: EXEMPT test-only change

Bug: 299687365
Test: atest TetheringManagerTest
Change-Id: I59ce9dc98be7eb3689dae4863078360534edc802

Quang Anh Luong   commited 2025-04-01 16:49:26 +09:00
97e205cf0c
Add CtsTetheringTestLatestSdk into mainline-presubmit
Also test CtsTetheringTestLatestSdk on physical devices
physical SIM in mainline-post

Test: TH

Change-Id: Ia9806c46fbe49282017011ea6ca414e2c58fe00b

Mark Chien   authored and   Mark   commited 2023-05-31 03:50:26 +00:00
f8870fa7af
Update ConnectivityCheckTargetPreparer references
Use the new ConnectivityTestTargetPreparer name instead, as the preparer
is being made more generic.

Bug: 263665773
Test: m
Merged-In: I520e92c449f366c51cda2f8b33fe9a354a8c0445
Change-Id: I520e92c449f366c51cda2f8b33fe9a354a8c0445

Remi NGUYEN VAN   commited 2023-05-16 15:15:55 +09:00
89570aca44
Use ConnectivityCheckTargetPreparer in tethering cts
This can make sure test device have wifi and mobile data connectivity before running tethering test.

Bug: 264785877
Change-Id: Iac416ca4aaccf3936134aa878b49160ca07f0486
Test: TH

Mark Chien   commited 2023-03-14 05:55:21 +00:00
9bfe8578a2
Test mts against last stable api level
Create *LatestSdk variant build target which have target sdk specify
to allow test apk install to released platform.

Bug: 182211575
Test: test S MtsTetheringTest in R device
Change-Id: I4d5c5e8c3d74993a67380e0211da31884cbf8792

markchien   commited 2021-05-12 22:11:04 +08:00
7193a1b30e
Renamed from tests/cts/tethering/AndroidTest.xml (Browse further)