Commit Graph

21569 Commits

Author SHA1 Message Date
Yanting Yang
d6252636bb Ignore failing tests of com.android.settings.applications
Bug: 313578776
Test: atest
Change-Id: Ifc885440976dc5f9581d77c1bd2f0d5b20daf01b
2023-11-28 17:04:26 +08:00
Fan Wu
f501d193e7 Merge "Ignore failing tests in ChartDataUsagePreferenceTest" into main 2023-11-28 08:58:22 +00:00
Fan Wu
febc63f928 Merge "Ignore failing tests in MainlineModuleVersionPreferenceControllerTest" into main 2023-11-28 08:58:07 +00:00
FanWu
c902c1ba4f Ignore failing tests under com.android.settings.panel
Bug: 313576125

Test: atest
Change-Id: If3aa191cf6e56d2d73f45ce2d7861ad16854dc90
2023-11-28 16:56:32 +08:00
Fan Wu
8579dec1be Merge "Ignore MemtagPreferenceControllerTest and the development test" into main 2023-11-28 08:43:48 +00:00
Yanting Yang
1e073948f1 Ignore failing tests of com.android.settings.accounts
Bug: 313573729
Test: atest
Change-Id: Iaa5a843ed71bc7838a119e88bca2b5562ec55007
2023-11-28 16:33:10 +08:00
FanWu
e7cd8abe99 Ignore failing tests under com.android.settings.dashboard
Bug: 313569889

Test: atest
Change-Id: I77976eb3863022bd4c3a60d9652694eede68bd62
2023-11-28 16:31:28 +08:00
FanWu
48f50222f1 Ignore failing tests in ChartDataUsagePreferenceTest
Bug: 313568482

Test: atest
Change-Id: I5812203a9442ba8a7116ffeb6b3cedf39c9ef2dd
2023-11-28 16:08:29 +08:00
Yanting Yang
7fa36869d4 Ignore failing tests of com.android.settings.MainClearTest
Bug: 313566998
Test: atest
Change-Id: I7e38c43b02a0823dfa13844a7f8bc6701f9471ba
2023-11-28 16:01:25 +08:00
FanWu
950a30c81c Ignore failing tests in MainlineModuleVersionPreferenceControllerTest
Bug: 313567396

Test: atest
Change-Id: Id2cf0740ba51d46da5f030f3100e7097e139c505
2023-11-28 15:57:56 +08:00
FanWu
c3ba104206 Ignore MemtagPreferenceControllerTest and the development test
Bug: 313564061

Test: atest
Change-Id: I927241e809aee9cc382d09a59a85277a5602c9ba
2023-11-28 15:24:51 +08:00
FanWu
d85920a9e6 Ignore LinkifySummaryPreferenceTest
Bug: 313563183

Test: atest
Change-Id: Ib5f1d4a377a4bc5a293b586a72457b63b6dbb1d7
2023-11-28 15:11:57 +08:00
Fan Wu
5926dc07a5 Merge "Ignore failing tests under com.android.settings.gestures" into main 2023-11-28 06:58:34 +00:00
Fan Wu
2991cfbc6a Merge changes I10eb8818,I8f2152e2 into main
* changes:
  Ignore failing tests under com.android.settings.location
  Ignore failing tests under com.android.settings.wifi.details
2023-11-28 06:26:55 +00:00
Weng Su
f20baa2bc7 Merge "Fine-tune launch time in Network & Internet settings" into main 2023-11-28 04:02:02 +00:00
FanWu
4a769ea516 Ignore failing tests under com.android.settings.gestures
Bug: 313541907

Test: atest
Change-Id: Icaf54beca37a17015a849259a1b888a7c9361664
2023-11-28 11:16:22 +08:00
FanWu
b593928ac2 Ignore failing tests under com.android.settings.location
Bug: 313540388

Test: atest
Change-Id: I10eb8818d1a3737702df0eeb6497d3c741ba7972
2023-11-28 10:57:03 +08:00
FanWu
c9eb27c62c Ignore failing tests under com.android.settings.wifi.details
Bug: 313536962

Test: atest
Change-Id: I8f2152e29fe8db0463ea1cbf5ab1e388e17366dd
2023-11-28 10:42:05 +08:00
Chaohui Wang
c3e97122c1 Clean up BackupSettingsHelper.getSummary()
Backup item in System page no longer has summary.

Bug: 310513318
Test: m RunSettingsRoboTests
Change-Id: I0bb3b9114287546c279a5f30b65fb7081af54e44
2023-11-28 02:30:09 +00:00
FanWu
021e3492e7 Ignore failing tests under com.android.settings.users
Bug: 313530297

Test: atest
Change-Id: I946b2276b8be8f1225263e9716a757c770a80ea0
2023-11-28 10:08:38 +08:00
Daniel Norman
126de9691a Use A11yManagerService to check if the A11yService warning is required.
Bug: 303511250
Test: m RunSettingsRoboTests ROBOTEST_FILTER=ToggleAccessibilityServicePreferenceFragmentTest
Change-Id: Ibef748bd82ba166e377be0611df113ac09d052bc
2023-11-28 01:54:21 +00:00
Fan Wu
a808cbe11d Merge "Ignore failing tests under com.android.settings.biometrics" into main 2023-11-28 01:34:27 +00:00
Fan Wu
9b17f30108 Merge "Ignore failing tests under connecteddevice/" into main 2023-11-28 01:34:08 +00:00
Weng Su
129ff9b8fe Fine-tune launch time in Network & Internet settings
- Avoid creating WifiPickerTracker if Hotspot network feature is not enabled

Fix: 312905628
Test: unit test
atest -c InternetPreferenceControllerTest

Change-Id: I5818698ce06244aa7660e90a5f2fd372a3a221bf
2023-11-28 06:51:39 +08:00
Kevin Liu
bc69be0ff6 Merge "Temporarily ignore the tests that time out the execution" into main 2023-11-27 16:53:43 +00:00
FanWu
11ecd1f626 Ignore failing tests under connecteddevice/
Bug: 313362757

Test: atest
Change-Id: Ic9c6c1f071c403c7df5d5539cc44a401ac500774
2023-11-27 15:29:23 +08:00
Chaohui Wang
b848685b8d Merge "Clean up Contextual Wifi card" into main 2023-11-27 06:55:55 +00:00
Chaohui Wang
34c4deb6c9 Clean up Contextual Wifi card
Bug: 245854887
Test: m RunSettingsRoboTests
Change-Id: I3b4ccc076a68eadc11e9fb3d2967a34fe0396cf9
2023-11-27 13:59:33 +08:00
Chaohui Wang
ee7139a889 Remove injecting developer options into Settings itself
- It can improve performance because we use less injected item
- Also use RestrictedPreference instead just checking restrictions,
  so we follow policy transparency.

Note: Renamed DevelopmentSettingsDashboardActivity to
DevelopmentSettingsActivity,
because DevelopmentSettingsDashboardActivity could in disabled state
even after Settings upgrades, use a new name to prevent this issue.

Bug: 311604902
Test: manual - turn on / off Developer Options
Test: unit test
Change-Id: I17be117ae59e59410687e6d08fd5edd034d0508f
2023-11-27 05:12:13 +00:00
Chaohui Wang
c9ccf861c6 Merge "Clean up unused MobilePlanPreferenceController" into main 2023-11-27 05:11:53 +00:00
Treehugger Robot
fb431d863f Merge "Temporary failing tests under com.android.settings.bluetooth" into main 2023-11-27 04:04:27 +00:00
FanWu
804dfb4fe1 Ignore failing tests under com.android.settings.biometrics
Bug: 313342682

Test: atest
Change-Id: Id16d407983c0cc323418a8765cadae2be0fd453a
2023-11-27 11:40:45 +08:00
Kevin Liu
3544c76c56 Temporarily ignore the tests that time out the execution
Fix timeout issue that cause v2/android-settings/apps/robolectric_settings_test with no result on CI

Bug: 300134365
Test: atest SettingsRoboTests
Change-Id: Ied94c6f6357d1919c37ceeca27fc1b9cb726c502
2023-11-24 23:51:55 +00:00
Treehugger Robot
b76f32ef3e Merge "Hide search results when Battery info page is disabled." into main 2023-11-24 16:50:20 +00:00
Yi-Ling Chuang
43260f6f28 Hide search results when Battery info page is disabled.
Fixes: 312639417
Test: robotest
Change-Id: I04279c4068ebb0e06b575ae2df44836d193f9bac
2023-11-24 23:56:08 +08:00
Chaohui Wang
a39905eabd Clean up unused MobilePlanPreferenceController
Which can improve the latency of "Network & internet" page.

Bug: 311604902
Test: manual - on "Network & internet" page
Change-Id: If306e93491402278ede4f20591296765b30bde37
2023-11-24 23:55:14 +08:00
Treehugger Robot
f122a93efc Merge "Add power consumption footer in screen timeout page." into main 2023-11-24 09:59:58 +00:00
mxyyiyi
027db802fe Add power consumption footer in screen timeout page.
- show this footer when there's no footer about work profile
Screenshots:
[without work profile]: https://screenshot.googleplex.com/5pAD2xBvP6QSBvY
[with work profile]:  https://screenshot.googleplex.com/7BRd6ToAjFN9QZx

Bug: 300245790
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.ScreenTimeoutSettingsTest"
Change-Id: I6df018d7758fbec3277179358b17eb11fa1aee34
2023-11-24 17:11:15 +08:00
FanWu
73f3015961 Temporary failing tests under com.android.settings.bluetooth
Bug: 313014781
Bug: 293405483
Test: atest
Change-Id: Ib2f4504dacd8f16acd23871e3ff26e87cab99e65
2023-11-24 07:29:37 +00:00
YK Hung
e5dc6a5cba Merge "Reset the dynamic set denylist after reboot the device" into main 2023-11-24 07:05:42 +00:00
ykhung
65260c7f5e Reset the dynamic set denylist after reboot the device
Reset the uids which are set into the POLICY_REJECT_METERED_BACKGROUND
from the dynamic configured mechanism, rather than set by users
manually, to avoid it still take effect after rebooting the device.

Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: Idc0c21350cad7e48e6a5c7190565d5364236c2cd
2023-11-24 13:59:20 +08:00
YK Hung
0b30f6a2e2 Merge "Replace the isWorkProfile method from the SettingsLib" into main 2023-11-24 05:07:31 +00:00
ykhung
7007b11228 Replace the isWorkProfile method from the SettingsLib
Replace the isWorkProfile() in the Settings with the common method
defined in the SettingsLib to avoid duplicate code

Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: Ic9b18e6b80c23f9d4fc200080224daa27cbf4a4d
2023-11-24 11:08:06 +08:00
YK Hung
ba6a19ea21 Merge "Dump the DynamicDenylistManager stored data into bugreport" into main 2023-11-24 03:03:13 +00:00
ykhung
072ccdd06a Dump the DynamicDenylistManager stored data into bugreport
Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.datasaver"
Change-Id: If512f561b3b376ea56e0dc78c339bf254ff20060
2023-11-24 10:01:59 +08:00
Edgar Wang
a930f5eaf8 Merge "Remove injecting multi-user settings into settings itself" into main 2023-11-23 22:02:30 +00:00
Edgar Wang
40cc58f5a1 Merge "Update SpellCheckerPreference layout to support divider" into main 2023-11-23 07:50:41 +00:00
Edgar Wang
2dfae393c4 Merge "Remove SettingsIntelligence log writer" into main 2023-11-23 03:28:13 +00:00
Edgar Wang
3755ba0f42 Remove SettingsIntelligence log writer
Bug: 259034522
Test: rebuild
Change-Id: I9bc4eee86a251aa30289b2d279bdb84de82d91b1
2023-11-23 09:58:33 +08:00
Weng Su
203931d038 Show Hotspot network in Network & internet settings
- Show Hotspot icons

- Show getAlternateSummary instead of original getSummary

Fix: 308187592
Test: unit test
atest -c InternetPreferenceControllerTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a9ea40dc71362b372c5adc89b82dbe2024253688)
Merged-In: I8afe54edebc904c9ec936f5851a33c6c20f13e29
Change-Id: I8afe54edebc904c9ec936f5851a33c6c20f13e29
2023-11-22 09:58:07 +00:00