Home
last modified time | relevance | path

Searched refs:preference3 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/fastpair/
DFastPairDevicePreferenceControllerTest.java202 final GearPreference preference3 = new GearPreference(mContext, null /* AttributeSet */); in onDeviceAdded_addThreeFastPairDevicePreference_displayThreeNoSeeAll() local
206 mFastPairDevicePrefController.onDeviceAdded(preference3); in onDeviceAdded_addThreeFastPairDevicePreference_displayThreeNoSeeAll()
220 final GearPreference preference3 = new GearPreference(mContext, null /* AttributeSet */); in onDeviceAdded_addFourDevicePreference_onlyDisplayThreeWithSeeAll() local
221 preference3.setOrder(1); in onDeviceAdded_addFourDevicePreference_onlyDisplayThreeWithSeeAll()
229 mFastPairDevicePrefController.onDeviceAdded(preference3); in onDeviceAdded_addFourDevicePreference_onlyDisplayThreeWithSeeAll()
234 assertThat(mPreferenceGroup.getPreference(0)).isEqualTo(preference3); in onDeviceAdded_addFourDevicePreference_onlyDisplayThreeWithSeeAll()
248 final GearPreference preference3 = new GearPreference(mContext, null /* AttributeSet */); in onDeviceRemoved_removeFourthDevice_hideSeeAll() local
249 preference3.setOrder(3); in onDeviceRemoved_removeFourthDevice_hideSeeAll()
257 mFastPairDevicePrefController.onDeviceAdded(preference3); in onDeviceRemoved_removeFourthDevice_hideSeeAll()
266 assertThat(mPreferenceGroup.getPreference(1)).isEqualTo(preference3); in onDeviceRemoved_removeFourthDevice_hideSeeAll()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DPreviouslyConnectedDevicePreferenceControllerTest.java249 final BluetoothDevicePreference preference3 = new BluetoothDevicePreference( in onDeviceAdded_addFourDevicePreference_onlyDisplayThree() local
258 mPreConnectedDeviceController.onDeviceAdded(preference3); in onDeviceAdded_addFourDevicePreference_onlyDisplayThree()
331 final BluetoothDevicePreference preference3 = in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected() local
344 mPreConnectedDeviceController.onDeviceAdded(preference3); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()
354 assertThat(preference3.getOrder()).isEqualTo(2); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()
366 final BluetoothDevicePreference preference3 = in updatePreferenceGroup_bluetoothIsDisable_shouldShowOnlySeeAllPreference() local
379 mPreConnectedDeviceController.onDeviceAdded(preference3); in updatePreferenceGroup_bluetoothIsDisable_shouldShowOnlySeeAllPreference()
DSavedDeviceGroupControllerTest.java180 final BluetoothDevicePreference preference3 = in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected() local
198 mSavedDeviceGroupController.onDeviceAdded(preference3); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()
209 assertThat(preference3.getOrder()).isEqualTo(2); in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected()
215 final BluetoothDevicePreference preference3 = in updatePreferenceGroup_bluetoothIsDisable_shouldShowNoPreference() local
233 mSavedDeviceGroupController.onDeviceAdded(preference3); in updatePreferenceGroup_bluetoothIsDisable_shouldShowNoPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java247 final BluetoothDevicePreference preference3 = new BluetoothDevicePreference(mContext, in compareTo_sortTypeFIFO() local
259 mPreferenceList.add(preference3); in compareTo_sortTypeFIFO()
263 .isEqualTo(preference3.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO()
272 final BluetoothDevicePreference preference3 = new BluetoothDevicePreference(mContext, in compareTo_sortTypeDefault() local
284 mPreferenceList.add(preference3); in compareTo_sortTypeDefault()
292 .isEqualTo(preference3.getCachedDevice().getAddress()); in compareTo_sortTypeDefault()