Home
last modified time | relevance | path

Searched refs:devicePreference (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceControllerTest.java128 BluetoothDevicePreference devicePreference = in refreshUi_filterMatch_addsToGroup() local
130 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMatch_addsToGroup()
141 BluetoothDevicePreference devicePreference = in refreshUi_filterMatch_addsToPreferenceMap() local
143 assertThat(mController.getPreferenceMap()).containsEntry(devicePreference.getCachedDevice(), in refreshUi_filterMatch_addsToPreferenceMap()
144 devicePreference); in refreshUi_filterMatch_addsToPreferenceMap() local
154 BluetoothDevicePreference devicePreference = in refreshUi_filterMismatch_removesFromGroup() local
156 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMismatch_removesFromGroup()
171 BluetoothDevicePreference devicePreference = in refreshUi_filterMismatch_removesFromPreferenceMap() local
173 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMismatch_removesFromPreferenceMap()
222 BluetoothDevicePreference devicePreference = in onDeviceAdded_refreshesUi() local
[all …]
DBluetoothDevicePickerPreferenceControllerTest.java163 BluetoothDevicePreference devicePreference = in onDeviceClicked_bondedDevice_sendsPickedIntent() local
166 devicePreference.performClick(); in onDeviceClicked_bondedDevice_sendsPickedIntent()
184 BluetoothDevicePreference devicePreference = in onDeviceClicked_bondedDevice_goesBack() local
187 devicePreference.performClick(); in onDeviceClicked_bondedDevice_goesBack()
199 BluetoothDevicePreference devicePreference = in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent() local
202 devicePreference.performClick(); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
216 BluetoothDevicePreference devicePreference = in onDeviceClicked_unbondedDevice_needsAuth_startsPairing() local
219 devicePreference.performClick(); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
231 BluetoothDevicePreference devicePreference = in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning() local
236 devicePreference.performClick(); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
[all …]
DBluetoothUnbondedDevicesPreferenceControllerTest.java142 BluetoothDevicePreference devicePreference = in showsUnbondedDevices() local
144 assertThat(devicePreference.getCachedDevice()).isEqualTo(mUnbondedCachedDevice); in showsUnbondedDevices()
152 BluetoothDevicePreference devicePreference = in configUnbondedDeviceFilterIncludesPhones_showsUnbondedPhones() local
154 assertThat(devicePreference.getCachedDevice()).isEqualTo(mUnbondedCachedDevice); in configUnbondedDeviceFilterIncludesPhones_showsUnbondedPhones()
160 BluetoothDevicePreference devicePreference = in onDeviceClicked_startsPairing() local
163 devicePreference.performClick(); in onDeviceClicked_startsPairing()
171 BluetoothDevicePreference devicePreference = in onDeviceClicked_pairingStartFails_resumesScanning() local
176 devicePreference.performClick(); in onDeviceClicked_pairingStartFails_resumesScanning()
185 BluetoothDevicePreference devicePreference = in onDeviceClicked_requestsPhonebookAccess() local
188 devicePreference.performClick(); in onDeviceClicked_requestsPhonebookAccess()
[all …]
DBluetoothBondedDevicesPreferenceControllerTest.java129 BluetoothDevicePreference devicePreference = in showsOnlyBondedDevices() local
131 assertThat(devicePreference.getCachedDevice()).isEqualTo(mBondedCachedDevice); in showsOnlyBondedDevices()
151 BluetoothDevicePreference devicePreference = in onDeviceClicked_notConnected_connectsToDevice() local
154 devicePreference.performClick(); in onDeviceClicked_notConnected_connectsToDevice()
163 BluetoothDevicePreference devicePreference = in onDeviceClicked_connected_showsDisconnectConfirmDialog() local
166 devicePreference.performClick(); in onDeviceClicked_connected_showsDisconnectConfirmDialog()
177 BluetoothDevicePreference devicePreference = in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment() local
180 assertThat(devicePreference.isActionShown()).isTrue(); in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment()
181 devicePreference.performButtonClick(); in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment()
192 BluetoothDevicePreference devicePreference = in devicePreferenceButton_disallowConfigBluetooth_actionStaysHidden() local
[all …]
DBluetoothScanningDevicesGroupPreferenceControllerTest.java175 BluetoothDevicePreference devicePreference = in onDeviceClicked_callsInternal() local
178 devicePreference.performClick(); in onDeviceClicked_callsInternal()
181 devicePreference.getCachedDevice()); in onDeviceClicked_callsInternal()
187 BluetoothDevicePreference devicePreference = in onDeviceClicked_cancelsScanning() local
191 devicePreference.performClick(); in onDeviceClicked_cancelsScanning()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceController.java147 BluetoothDevicePreference devicePreference = createDevicePreference(cachedDevice); in addPreference() local
148 devicePreference.setOnPreferenceClickListener(mDevicePreferenceClickListener); in addPreference()
149 mPreferenceMap.put(cachedDevice, devicePreference); in addPreference()
150 getPreference().addPreference(devicePreference); in addPreference()