1d583e125faf3ae4c9cd82636d8f3ecf1cdec3aa |
|
13-Jun-2017 |
Tony Mantler <nicoya@google.com> |
Make PreferenceController a mixin Bug: 62912136 Test: Existing tests in BaseSearchIndexProviderTest Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/DeviceListPreferenceFragmentTest.java
|
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/DeviceListPreferenceFragmentTest.java
|
c11af01481dd7fb4515e681128340724f2008dc0 |
|
31-May-2017 |
Jack He <siyuanh@google.com> |
Bluetooth: Always scan while on pairing or DevicePicker page * Modified DeviceListPreferenceFragment to have enable/disable scanning methods. In ENABLE state, each onScanningStateChanged(false) will restart another round of scanning * Subclasses of DeviceListPreferenceFragment should call enable/disable scanning when scanning is needed for long period of time * Currently, BluetoothPairingDetail and DevicePickerFragment call enableScanning() when Bluetooth is turned ON and call disableScanning when some device is picked in their lists * Both BluetoothPairingDetail and DevicePickerFragment will re-enable scanning if pairing failed for selected device * Added associated unit tests as well Bug: 32172815 Test: make, pair Bluetooth device, send file over Bluetooth Opp Change-Id: I99325e06aadd7b00e7a7ba6d6c282a6831859d8b
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/DeviceListPreferenceFragmentTest.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/DeviceListPreferenceFragmentTest.java
|