Commit Graph

17053 Commits

Author SHA1 Message Date
Joshua Mccloskey
42efec1a00 Merge "Fix BiometricProvider test" into main 2023-12-05 23:48:06 +00:00
Tyler Freeman
3fddb64a0d Merge "feat(force invert): add force invert Settings preference in A11y > Color and Motion" into main 2023-12-05 20:36:36 +00:00
Yanting Yang
210d884fb5 Merge "Ignore failing test of FactoryResetPreferenceControllerTest" into main 2023-12-05 13:17:07 +00:00
Yanting Yang
3c23c38c2a Merge "Ignore failing test of BootBroadcastReceiverTest" into main 2023-12-05 13:06:27 +00:00
Yanting Yang
8719af8a95 Merge "Ignore failing test of SurveyMixinTest" into main 2023-12-05 12:45:45 +00:00
Yanting Yang
5cdbb5ee4e Merge "Ignore failing test of SupportDashboardActivityTest" into main 2023-12-05 12:39:04 +00:00
Yanting Yang
038915fa3b Merge "Ignore failing test of SettingsSliceProviderTest" into main 2023-12-05 12:38:26 +00:00
Yanting Yang
cdbd4d77fd Merge "Ignore failing tests of CreateShortcutPreferenceControllerTest" into main 2023-12-05 12:21:33 +00:00
Yanting Yang
a7573a1f5e Ignore failing test of FactoryResetPreferenceControllerTest
Bug: 314930928
Test: atest
Change-Id: I0d5d88754ec8dcd9ee3dc05020382a2095c4256b
2023-12-05 20:04:36 +08:00
Yanting Yang
dddfdee3c5 Ignore failing test of SurveyMixinTest
Bug: 314929422
Test: atest
Change-Id: Ib53047b6e2eb55af566140af2de9f5ca022b203b
2023-12-05 19:52:34 +08:00
Yanting Yang
f4af833f53 Merge "Ignore failing test of SelectDebugAppPreferenceControllerTest" into main 2023-12-05 11:42:05 +00:00
Yanting Yang
37a8625d47 Ignore failing test of SupportDashboardActivityTest
Bug: 314927625
Test: atest
Change-Id: I17d1a9304d21b3eec9ddc53663b9e6d8e1b0ff74
2023-12-05 19:39:48 +08:00
Yanting Yang
04e7423c7d Ignore failing test of SettingsSliceProviderTest
Bug: 314925256
Test: atest
Change-Id: Ifd72e07be6b5484b26b6918cb5d4b6c56575e2d9
2023-12-05 19:31:15 +08:00
Yanting Yang
85f09b65e5 Ignore failing tests of CreateShortcutPreferenceControllerTest
Bug: 314924127
Test: atest
Change-Id: I414e4cebec2a1b44bddd8c1286d766777aeb28c1
2023-12-05 19:21:58 +08:00
Yanting Yang
312a3679ab Ignore failing test of BootBroadcastReceiverTest
Bug: 314921894
Test: atest
Change-Id: Iae94522dd629bc46bf7f7815c28362c833086adb
2023-12-05 19:01:08 +08:00
Yanting Yang
9da3e1456a Ignore failing test of SelectDebugAppPreferenceControllerTest
Bug: 314919354
Test: atest
Change-Id: I38cc7bdb5645f2846078c57383548748ac2f4b4b
2023-12-05 18:47:15 +08:00
Fan Wu
474ba5aaf4 Merge "Ignore failing tests under com.android.settings.wifi" into main 2023-12-05 09:52:12 +00:00
Chaohui Wang
bbbd0e640a Merge "Clean up BackupSettingsHelper.getSummary()" into main 2023-12-05 06:42:54 +00:00
FanWu
1bb01ff055 Ignore failing tests under com.android.settings.wifi
Bug: 314867581

Test: not needed
Change-Id: Id721c8a91baa54c746aba007dd40a086276953e8
2023-12-05 12:01:30 +08:00
Vlad Popa
e71281cfc7 Merge "Disable the Bt categorization list when audio type is known" into main 2023-12-05 03:33:36 +00:00
Hyundo Moon
1793200795 Merge "Fix failing BluetoothPermissionActivityTest" into main 2023-12-05 02:57:25 +00:00
Tyler Freeman
e0f10d3fe2 feat(force invert): add force invert Settings preference in A11y > Color and Motion
Bug: 312289375
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ColorAndMotionFragmentTest.java
  && atest packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ToggleForceInvertPreferenceControllerTest.java
Flag: android.view.accessibility.Flags.forceInvertColor

Change-Id: I2739a1dfecbbddcd240a3113344987ade2b7c717
2023-12-04 14:12:43 -08:00
Santiago Seifert
77c2a331fb Merge "Show the output switcher when no media is playing" into main 2023-12-04 12:17:21 +00:00
FanWu
8731857550 Add "test_suites" attribute to SettingsRoboTests.
Reference: https://source.android.com/compatibility/tests/development/test-mapping#packaging_build_script_rules

Bug: 312571846

Test: config change
Change-Id: I8a3e99a59309f1f63294e0ff88fb0536164c1cd1
2023-12-04 09:00:50 +00:00
Jasmine Cha
9e45469833 Show the output switcher when no media is playing
- Support output switcher for system routing.
- Add an new string to indicate the device that
  audio will output to.

Bug: 284227163
Test: device/host atest
 atest MediaOutputPreferenceControllerTest
 atest AudioOutputSwitchPreferenceControllerTest
 atest MediaOutputIndicatorSliceTest

Change-Id: I94bcf84e7e93b3e4f5db1d95d5380a54a3e0c460
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-04 08:19:05 +00:00
Hyundo Moon
b571a9768f Fix failing BluetoothPermissionActivityTest
Bug: 314052293
Test: atest SettingsRoboTests:com.android.settings.bluetooth.BluetoothPermissionActivityTest
Change-Id: Ic62fa4f21a49f865ff713fcf4dea635179441a99
2023-12-04 12:37:18 +09:00
Wa Gao
7954bb5ba7 Merge "Add dialog for top switch on fully managed devices." into main 2023-12-02 02:03:55 +00:00
Wa Gao
b14867f6ac Add dialog for top switch on fully managed devices.
Bug: 311233745
Change-Id: Id4043675041d1cf9c0ed307f3a0c2dc65768641b
2023-12-02 00:42:33 +00:00
Vlad Popa
f782872cfd Disable the Bt categorization list when audio type is known
The audio framework can deduce the type with the help of the
BluetoothDevice metadata API. In case this is known we will grey out the
list with the manual selection of the audio device type.

Test: adb shell device_config put media_audio android.media.audio.automatic_bt_device_type true
Test: atest BluetoothDetailsAudioDeviceTypeControllerTest
Bug: 302323921
Change-Id: Ia2cab27f2dce5493aa4326333699b5908d8a09ee
2023-11-30 18:08:01 -08:00
Manish Singh
71e27963f7 Merge "Check purely for the presence of a managed profile" into main 2023-11-30 20:51:06 +00:00
Chris Antol
ae9e09eae3 Merge "MainlineModuleVersionPreferenceControllerTest to access intent directly" into main 2023-11-30 17:11:07 +00:00
Tetiana Meronyk
094dfcc5d8 Merge "Fix tests in TimeoutToDockUserPreferenceControllerTest" into main 2023-11-30 11:51:26 +00:00
Chaohui Wang
a7b3ac7384 Merge "Clean up AllInOneTetherSettings" into main 2023-11-30 06:31:14 +00:00
Derek Jedral
db72f4ea5f Merge "Update strings for Watch Unlock" into main 2023-11-30 05:23:33 +00:00
Treehugger Robot
50ffdb4a9e Merge "Fix BluetoothLeAudioDeviceDetailsPreferenceControllerTest faliure" into main 2023-11-30 04:58:18 +00:00
Chaohui Wang
0664d3cc45 Clean up AllInOneTetherSettings
This project is not on-going.

Clean up to help improve latency.

Bug: 311604902
Test: manual - on Network & internet page
Test: robo test
Change-Id: I6addb92e5587206661d1b64bdc56473a85ba9c9f
2023-11-30 12:27:33 +08:00
Joshua McCloskey
592e1f6164 Fix BiometricProvider test
Test: atest BiometricSettingsProviderTest
Fixes: 313342682
Change-Id: If9109e5b822f1b41972305913d6a0b56704d2ed7
2023-11-29 20:02:34 +00:00
Alice Kuo
18e16b1a6a Fix BluetoothLeAudioDeviceDetailsPreferenceControllerTest faliure
Two failure case need to run under classic connection by default
situation. Add the precondition for those test case. Remove the ignore
to reland those test case.

Bug: 313589946
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioDeviceDetailsPreferenceControllerTest
Change-Id: If2c9cd590151be043be52e0793d073be83cd0c21
2023-11-30 01:55:57 +08:00
Oli Thompson
6a725695b7 Fix broken ManagedProfileQuietModeEnablerTest test
Bug: 313573729
Test: atest ManagedProfileQuietModeEnablerTest
Change-Id: I33eb9763e92f3060e65a3e7e498cad965aa55600
2023-11-29 15:24:57 +00:00
Tetiana Meronyk
b1ecd3bba8 Fix tests in TimeoutToDockUserPreferenceControllerTest
Bug: 313530297
Test: atest TimeoutToDockUserPreferenceControllerTest
Change-Id: I3a67744fb7652f5815ab1ba1ba88e13f5436e127
2023-11-29 14:10:07 +00:00
Edgar Wang
07b2af4120 Merge "Refactor Date & Time Settings" into main 2023-11-29 13:19:40 +00:00
Tetiana Meronyk
b3632f2ef6 Merge "Fix tests in UserSettingsTest" into main 2023-11-29 12:46:32 +00:00
Edgar Wang
fdab44f9e7 Refactor Date & Time Settings
- Rid off AbstractPreferenceController

Test: robotest
Bug: 235445309
Change-Id: I61118a0ff580231973509c06e84e7088dba897f5
2023-11-29 18:35:43 +08:00
Tetiana Meronyk
bbbdc8423c Fix tests in UserSettingsTest
Bug: 313666476
Test: atest UserSettingsTest
Change-Id: I74c5e9f5e88abb57f758b1d9afe04e07240e2dd2
2023-11-29 10:22:02 +00:00
Xinyi Mao
545381c427 Merge "Revert "Ignore failing test cases in BatterTipsCardPreferenceTest"" into main 2023-11-29 09:48:12 +00:00
Haijie Hong
9a07931247 Merge "Fix test string in BluetoothSwitchPreferenceControllerTest" into main 2023-11-29 08:00:27 +00:00
Chaohui Wang
01ce50de90 Merge "Avoid ANR of TetherPreferenceController" into main 2023-11-29 07:04:30 +00:00
Haijie Hong
b61c785aa2 Fix test string in BluetoothSwitchPreferenceControllerTest
BUG: 313014781
Test: atest SettingsRoboTests:com.android.settings.bluetooth.BluetoothSwitchPreferenceControllerTest
Change-Id: I128e4b856aa3886625d59c643c9f0b32530266ba
2023-11-29 13:14:54 +08:00
Chaohui Wang
880068d23a Avoid ANR of TetherPreferenceController
Off load the following work from main thread,
- Calculate title
- Calculate summery

This also helps improve the latency.

Also migrate to registerTetheringEventCallback() since
TetheringManager.ACTION_TETHER_STATE_CHANGED is deprecated.

Fix: 311848767
Test: manual - on Network & internet page and turn on / off tethering
Test: unit tests
Change-Id: I6ee182b41ef51f691ea31938142be1a41faf5573
2023-11-29 12:06:37 +08:00
Xinyi Mao
a8cc8c10de Revert "Ignore failing test cases in BatterTipsCardPreferenceTest"
This reverts commit 66469618e3.

Reason for revert: test passed in local atest

Change-Id: Ib3ae6f6b31fdbec30a9f95e0b0c6b4b64ced4940
2023-11-29 03:57:46 +00:00