9f1e911759dc6fedaac9fa65afb79f6a93022bf4 |
|
09-Jun-2017 |
Andrew Sapperstein <asapperstein@google.com> |
Refactor test runner to use static list of resource paths Previously everything lived in an inner class method of SettingsRobolectricTestRunner. That method has now been turned into a static method so that it can be called by other runners. Bug: 62460102 Test: robotests Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/BluetoothSettingsTest.java
|
52ccb49fbe65c8e84a5d4fde1d8028b62a713204 |
|
10-May-2017 |
jackqdyulei <jackqdyulei@google.com> |
Split BluetoothSettings into two pages This cl splits the BluetoothSettings into paired device page and pairing page, including small changes about: 1. Refactor the pages so they could get as much as static preference from xml file rather than dynamically add/remove them everytime. 2. Remove creating method in BluetoothDeviceNamePreferenceController and add it in xml file 3. Create BluetoothPairingDetail page, basically move the logic from BluetoothSettings. 4. Make pairing preference clickable and jump to BluetoothPairingDetail 5. Add and update bunch of tests Bug: 35877041 Test: RunSettingsRoboTests Change-Id: Ief9e9690c612f7b46c58e866e5cecc511af642c8
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/BluetoothSettingsTest.java
|
5333ecd1fb630ad5bc4211c0db4eb2d32e5859f9 |
|
17-May-2017 |
jackqdyulei <jackqdyulei@google.com> |
Dupe BluetoothSettings and DeviceListPreferenceFragment Create the obsolete version of the belowing fragments, so we could flip between old page and new page. BluetoothSettingsObsolete and DeviceListPreferenceObsoleteFragment contains all the old logic but: 1. Logic about BluetoothPairingPreferenceController(ag/2239482), since this preference shouldn't be checked in without the flag :( This cl also adds logic in MasterSwitchPreferenceController to flip these two pages. Following cl will refactor these fragment to make it compatible to new framework. Bug: 35877041 Test: RunSettingsRoboTests Change-Id: I1cc1bc2d49d8a3e11c3127e56f6409fbc84028d8
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/BluetoothSettingsTest.java
|
d2ba0117fc20b321aedecbad1c3552627d39921c |
|
30-Mar-2017 |
jackqdyulei <jackqdyulei@google.com> |
Expose mac address in bluetooth main page This mac address means the owned device, not the device to connect. Bug: 35875420 Test: RunSettingsRoboTests Change-Id: I142f49fdca72d8ffbb9b8b2e2666a61aefb80505
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/BluetoothSettingsTest.java
|
d3a32ed21b545d7639c52fe171c35a81276339c6 |
|
04-Jan-2017 |
Doris Ling <dling@google.com> |
Check for text type before setting text span. The text from the empty text view can be any CharSequence. Need to check the actual type before trying to cast it to Spannable and setting the text span. Change-Id: Ib3ead0a0fe0b797e026c0c259591025fc9c94709 Fix: 34075068 Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/BluetoothSettingsTest.java
|