Syaoran Kuo
28da952fb2
Merge "Add test case for on off airplane mode repeatly"
2021-06-30 13:58:41 +00:00
Syaoran Kuo
b5c5dd5fe8
Merge "Add test to launch all sub items in Settings home."
2021-06-30 13:58:22 +00:00
Syaoran Kuo
4225944fc0
Add test case for on off airplane mode repeatly
...
Bug: 191831494
Test: atest com.android.settings.network.AirplaneModePreferenceControllerComponentTest
Change-Id: I407f4435bb02fed77fc91458e732b8a6573539cd
2021-06-30 17:59:12 +08:00
Syaoran Kuo
d9f8711188
Add test to launch all sub items in Settings home.
...
Bug: 189723084
Test: atest com.android.settings.homepage.HomepageComponentTest
Change-Id: I4d49f0b9f7859fcf2de15e28867e995a19990913
2021-06-30 17:14:05 +08:00
Syaoran Kuo
780283b861
Merge "Adds test case: disable mobile network function"
2021-06-29 10:03:00 +00:00
Syaoran Kuo
9c957e4c46
Adds test case: disable mobile network function
...
Bug: 189722358
Test: atest com.android.settings.network.telephony.MobileDataPreferenceControllerComponentTest
Change-Id: I524d2c26a3c8193e5dc3eb620596baedaae5a635
2021-06-29 12:13:23 +08:00
Syaoran Kuo
5148311d60
Bug fix: null string will cause exception in checkStringInAdbCommandOutput
...
Bug: 192036015
Test: atest com.android.settings.fuelgauge.batterysaver.BatterySaverButtonPreferenceControllerComponentTest#test_check_battery_saver_button
Change-Id: Ifc73c8c9d6b5fabca6af5ea604f23a789b99d217
https://atp.googleplex.com/test_runs/128222905
2021-06-25 08:10:15 +00:00
Syaoran Kuo
5c93fc758a
Add testcase: Add multiple user and delete.
...
Add user and delete, check on UI.
Bug: 188507135
Test: atest com.android.settings.users.UserSettingsComponentTest
Change-Id: I8aaa10f38a146cd3e869b5b5b35a93b451113e07
2021-06-21 18:54:43 +08:00
Syaoran Kuo
278b1e8cce
Add test case for dark theme scheduler.
...
Bug: 189722519
Test: atest com.android.settings.display.darkmode.DarkThemeScheduleComponentTest
Change-Id: I94cbff123af0eaef7834aa636e3b38c6da3f2235
2021-06-21 17:27:41 +08:00
Syaoran Kuo
956b03d3d8
Fix resource id not match issue.
...
Bug: 187485845
Test: atest com.android.settings.notification.AppNotificationComponentTest
Change-Id: I4b094dd430127046e08cb1b87706906807c28b32
2021-06-11 17:02:34 +08:00
Syaoran Kuo
47328cc97b
Adjuest battery saver component test for new logic
...
1. Remove 1 case for spec change.
2. Change UI finding for switch on/off button.
Test: atest com.android.settings.fuelgauge.batterysaver.BatterySaverButtonPreferenceControllerComponentTest
Bug: 185750890
Change-Id: I0612d31b351db8622ac705b46eae1a448bfb3273
2021-06-01 10:15:59 +00:00
Syaoran Kuo
25b846d6d5
Merge "Adds new test for ApplicationState sorting function." into sc-dev
2021-05-31 03:53:57 +00:00
Syaoran Kuo
55fc977cb0
Adds new test for ApplicationState sorting function.
...
Test: atest com.android.settingslib.applications.ApplicationStateComponentTest
Bug: 184814907
Change-Id: Ie6fd2d9d58a8dac64ad1408f1d3122b7d74ae7a3
2021-05-20 07:43:33 +00:00
Syaoran Kuo
87cc2e19e5
Add more log for debugging resource id issue.
...
Bug: 187485845
Test: atest SettingsComponentTests
Change-Id: I6268809eca172b0b4aa9f1a252e0d519ad758083
2021-05-07 18:49:26 +08:00
Syaoran Kuo
bc1e5321ab
Remove wifi related test.
...
To add these case back, add a success case to avoid empty test error.
Bug: 186372528
Test: atest SettingsComponentTest
Change-Id: I6d973a244338f67e3d35e9657d1d46eba8ba4501
2021-05-07 13:44:08 +08:00
Syaoran Kuo
f4aca12619
Adds new test for notification.
...
1. Add notification test.
2. Add shareUserId into manifest file.
Test: atest
com.android.settings.notification.AppNotificationComponentTest
Bug: 184814161
Change-Id: I38b7a854e8c8e0777fb7be3a518b7ed9d0f0a7a6
2021-04-14 05:35:38 +00:00
Jeff Sharkey
9e07eab08f
Request new Bluetooth runtime permissions.
...
An upcoming platform change is introducing a new "Nearby devices"
runtime permission which contains the new BLUETOOTH_CONNECT and
BLUETOOTH_SCAN permissions.
We have logic in place to use <split-permission> to translate the
older BLUETOOTH and BLUETOOTH_ADMIN permissions into these new
runtime permissions, but modern apps will need to pivot to
requesting them directly as part of targeting Android S.
This change requests both the old and new permissions to avoid
breakage while the new permission enforcement is being phased in.
Bug: 181813006
Test: atest CtsPermission2TestCases
Test: atest CtsPermission3TestCases
Test: atest CtsStatsdAtomHostTestCases
Change-Id: I0a6ff040520deaa7c7a6fecd83e8608a9bf28c4a
2021-03-23 12:35:36 +00:00
Bob Badour
a73a67240c
[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Settings
...
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
protos/Android.bp
tests/anomaly-tester/Android.bp
tests/componenttests/Android.bp
tests/legacy_unit/InstrumentedEntitlementApp/Android.bp
tests/perftests/Android.bp
tests/robotests/Android.bp
tests/uitests/Android.bp
tests/unit/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I58a85aced69923fa9a8e5a2b89ecfdd33de5e05c
2021-02-25 15:05:14 -08:00
Jiun-Yang Hsu
7a3635e7f4
Initial commit for Settings component test
...
Test: Tested on local device
Bug: 178765084
Change-Id: I3b8f36daa31b0a44e788fe4c84f94d48653ee037
2021-01-29 14:00:59 +08:00