/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDeviceActionButtonsPreferenceController.java | 59 button.setEnabled(!getCachedDevice().isBusy()); in updateConnectionButton() 60 if (getCachedDevice().isConnected()) { in updateConnectionButton() 62 v -> getCachedDevice().disconnect()); in updateConnectionButton() 65 v -> getCachedDevice().connect()); in updateConnectionButton() 71 getCachedDevice().unpair(); in updateForgetButton()
|
D | BluetoothDeviceProfilesPreferenceController.java | 50 profile.setEnabled(profilePref.getCachedDevice().getDevice(), isChecked); 75 for (LocalBluetoothProfile profile : getCachedDevice().getProfiles()) { in updateState() 79 getCachedDevice()); in updateState() 89 for (LocalBluetoothProfile removedProfile : getCachedDevice().getRemovedProfiles()) { in updateState()
|
D | BluetoothDeviceNamePreferenceController.java | 55 CachedBluetoothDevice cachedDevice = getCachedDevice(); in updateState() 83 RemoteRenameDialogFragment.newInstance(getCachedDevice()), in handlePreferenceClicked()
|
D | BluetoothDeviceAddressPreferenceController.java | 46 getCachedDevice().getAddress()); in updateState()
|
D | BluetoothDeviceProfilePreference.java | 58 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDeviceProfilePreference
|
D | BluetoothDevicePreferenceController.java | 74 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDevicePreferenceController
|
D | BluetoothDevicesGroupPreferenceController.java | 59 onDeviceClicked(((BluetoothDevicePreference) preference).getCachedDevice());
|
D | BluetoothDevicePreference.java | 80 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDevicePreference
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 349 assertThat(mPreferenceList.get(0).getCachedDevice().getAddress()) in compareTo_sortTypeFIFO() 350 .isEqualTo(preference3.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO() 351 assertThat(mPreferenceList.get(1).getCachedDevice().getAddress()) in compareTo_sortTypeFIFO() 352 .isEqualTo(preference2.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO() 353 assertThat(mPreferenceList.get(2).getCachedDevice().getAddress()) in compareTo_sortTypeFIFO() 354 .isEqualTo(preference1.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO() 374 assertThat(mPreferenceList.get(0).getCachedDevice().getAddress()) in compareTo_sortTypeDefault() 375 .isEqualTo(preference1.getCachedDevice().getAddress()); in compareTo_sortTypeDefault() 376 assertThat(mPreferenceList.get(1).getCachedDevice().getAddress()) in compareTo_sortTypeDefault() 377 .isEqualTo(preference2.getCachedDevice().getAddress()); in compareTo_sortTypeDefault() [all …]
|
D | BluetoothFindBroadcastsFragmentTest.java | 90 doReturn(mCachedDevice).when(mFragment).getCachedDevice(any()); in setUp()
|
/packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicesGroupPreferenceControllerTest.java | 127 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMatch_addsToGroup() 140 assertThat(mController.getPreferenceMap()).containsEntry(devicePreference.getCachedDevice(), in refreshUi_filterMatch_addsToPreferenceMap() 153 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMismatch_removesFromGroup() 170 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMismatch_removesFromPreferenceMap() 221 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in onDeviceAdded_refreshesUi() 239 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice2); in onDeviceDeleted_refreshesUi() 266 assertThat(mController.getClickedDevice()).isEqualTo(devicePreference.getCachedDevice()); in preferenceClicked_callsOnDeviceClicked()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeGroupController.java | 95 if (preference.getCachedDevice() != null 96 && BluetoothUtils.getGroupId(preference.getCachedDevice()) 199 int order = getPreferenceOrderForDevice(preference.getCachedDevice()); in onChange() 259 CachedBluetoothDevice cachedDevice = volumePref.getCachedDevice(); in onDeviceAdded() 282 String address = volumePref.getCachedDevice().getDevice() == null ? "null" in onDeviceRemoved() 283 : volumePref.getCachedDevice().getDevice().getAnonymizedAddress(); in onDeviceRemoved()
|
D | AudioSharingDeviceVolumeControlUpdater.java | 113 BluetoothDevice prefDevice = pref.getCachedDevice().getDevice(); in removePreference()
|
D | AudioSharingDeviceVolumePreference.java | 65 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in AudioSharingDeviceVolumePreference
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeControlUpdaterTest.java | 148 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_leaDeviceConnected_noSharing_removesPref() 172 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_leaDeviceConnected_noSource_removesPref() 197 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_deviceIsNotInList_removesPref() 221 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_leaDeviceDisconnected_removesPref() 245 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_leaDeviceDisconnecting_removesPref() 261 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_leaDeviceConnected_hasSource_addsPreference() 279 assertThat(((AudioSharingDeviceVolumePreference) captor.getValue()).getCachedDevice()) in onProfileConnectionStateChanged_hasLeaMemberConnected_hasSource_addsPreference()
|
D | AudioSharingDeviceVolumeGroupControllerTest.java | 179 when(mPreference1.getCachedDevice()).thenReturn(mCachedDevice1); in setUp() 184 when(mPreference2.getCachedDevice()).thenReturn(mCachedDevice2); in setUp()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ui/view/ |
D | DeviceDetailsMoreSettingsFragment.kt | 115 private fun getCachedDevice(): CachedBluetoothDevice? { in <lambda>() method in com.android.settings.bluetooth.ui.view.DeviceDetailsMoreSettingsFragment 125 getCachedDevice() in <lambda>()
|
/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePickerPreferenceControllerTest.java | 184 0)).getCachedDevice()).isEqualTo(mBondedCachedDevice); in onStart_appliesFilterType() 329 devicePreference.getCachedDevice(), BluetoothDevice.BOND_BONDED); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent() 354 devicePreference.getCachedDevice(), BluetoothDevice.BOND_BONDED); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
|
D | BluetoothUnbondedDevicesPreferenceControllerTest.java | 170 assertThat(devicePreference.getCachedDevice()).isEqualTo(mUnbondedCachedDevice); in showsUnbondedDevices() 181 assertThat(devicePreference.getCachedDevice()).isEqualTo(mUnbondedCachedDevice); in configUnbondedDeviceFilterIncludesPhones_showsUnbondedPhones()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | MediaControlHelper.java | 124 && hasOverlap(deviceForMedia.getCachedDevice(), currentLeDevice); in shouldStopMedia()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | MediaControlHelperTest.java | 133 when(mBluetoothMediaDevice.getCachedDevice()).thenReturn(mCachedBluetoothDevice); in testStart_isPlaying_onDeviceListUpdate_deviceMatch_shouldStopMedia()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 161 CachedBluetoothDevice getCachedDevice(String deviceAddress) { in getCachedDevice() method in BluetoothDeviceDetailsFragment 201 mCachedDevice = getCachedDevice(mDeviceAddress); in onAttach()
|
D | BluetoothFindBroadcastsFragment.java | 189 CachedBluetoothDevice getCachedDevice(String deviceAddress) { in getCachedDevice() method in BluetoothFindBroadcastsFragment 199 mCachedDevice = getCachedDevice(mDeviceAddress); in onAttach()
|
D | DevicePickerFragment.java | 164 if ((btPreference.getCachedDevice().getBondState() == in onDevicePreferenceClick()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | MediaVolumePreferenceController.java | 154 ((BluetoothMediaDevice) mMediaDevice).getCachedDevice(); in getSliceEndItem()
|