/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
H A D | BluetoothDevicePreferenceTest.java | 246 assertThat(mPreferenceList.get(0).getCachedDevice().getAddress()) in compareTo_sortTypeFIFO() 247 .isEqualTo(preference3.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO() 248 assertThat(mPreferenceList.get(1).getCachedDevice().getAddress()) in compareTo_sortTypeFIFO() 249 .isEqualTo(preference2.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO() 250 assertThat(mPreferenceList.get(2).getCachedDevice().getAddress()) in compareTo_sortTypeFIFO() 251 .isEqualTo(preference1.getCachedDevice().getAddress()); in compareTo_sortTypeFIFO() 271 assertThat(mPreferenceList.get(0).getCachedDevice().getAddress()) in compareTo_sortTypeDefault() 272 .isEqualTo(preference1.getCachedDevice().getAddress()); in compareTo_sortTypeDefault() 273 assertThat(mPreferenceList.get(1).getCachedDevice().getAddress()) in compareTo_sortTypeDefault() 274 .isEqualTo(preference2.getCachedDevice().getAddress()); in compareTo_sortTypeDefault() [all …]
|
H A D | BluetoothDeviceDetailsFragmentTest.java | 83 doReturn(mCachedDevice).when(mFragment).getCachedDevice(any()); in setUp()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A 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()
|
H A D | BluetoothDeviceProfilesPreferenceController.java | 42 profile.setEnabled(profilePref.getCachedDevice().getDevice(), isChecked); 58 for (LocalBluetoothProfile profile : getCachedDevice().getProfiles()) { in updateState() 62 getCachedDevice()); in updateState() 67 for (LocalBluetoothProfile removedProfile : getCachedDevice().getRemovedProfiles()) { in updateState()
|
H A D | BluetoothDeviceNamePreferenceController.java | 57 CachedBluetoothDevice cachedDevice = getCachedDevice(); in updateState() 92 RemoteRenameDialogFragment.newInstance(getCachedDevice()), in handlePreferenceClicked()
|
H A D | BluetoothDeviceAddressPreferenceController.java | 46 getCachedDevice().getAddress()); in updateState()
|
H A D | BluetoothDevicePreferenceController.java | 62 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDevicePreferenceController
|
H A D | BluetoothDeviceProfilePreference.java | 56 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDeviceProfilePreference
|
H A D | BluetoothDevicePreference.java | 77 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDevicePreference
|
H A D | BluetoothDevicesGroupPreferenceController.java | 59 onDeviceClicked(((BluetoothDevicePreference) preference).getCachedDevice());
|
H A D | BluetoothBondedDevicesPreferenceController.java | 161 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in setButtonsCheckedAndListeners()
|
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDevicesGroupPreferenceControllerTest.java | 130 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMatch_addsToGroup() 143 assertThat(mController.getPreferenceMap()).containsEntry(devicePreference.getCachedDevice(), in refreshUi_filterMatch_addsToPreferenceMap() 156 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMismatch_removesFromGroup() 173 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in refreshUi_filterMismatch_removesFromPreferenceMap() 224 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice1); in onDeviceAdded_refreshesUi() 242 assertThat(devicePreference.getCachedDevice()).isEqualTo(mCachedDevice2); in onDeviceDeleted_refreshesUi() 269 assertThat(mController.getClickedDevice()).isEqualTo(devicePreference.getCachedDevice()); in preferenceClicked_callsOnDeviceClicked()
|
H A D | BluetoothUnbondedDevicesPreferenceControllerTest.java | 140 assertThat(devicePreference.getCachedDevice()).isEqualTo(mUnbondedCachedDevice); in showsUnbondedDevices() 150 assertThat(devicePreference.getCachedDevice()).isEqualTo(mUnbondedCachedDevice); in configUnbondedDeviceFilterIncludesPhones_showsUnbondedPhones()
|
H A D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 177 devicePreference.getCachedDevice()); in onDeviceClicked_callsInternal()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
H A D | LocalMediaManager.java | 165 ((BluetoothMediaDevice) device).getCachedDevice(); in connectDevice() 427 if (isActiveDevice(((BluetoothMediaDevice) device).getCachedDevice()) in updateCurrentConnectedDevice() 622 ((BluetoothMediaDevice) device).getCachedDevice() in unRegisterDeviceAttributeChangeCallback() 678 && !((BluetoothMediaDevice) mOnTransferBluetoothDevice).getCachedDevice() in onDeviceAttributesChanged()
|
H A D | BluetoothMediaDevice.java | 81 public CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothMediaDevice
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | HearingAidDeviceManager.java | 64 final CachedBluetoothDevice hearingAidDevice = getCachedDevice(hiSyncId); in setSubDeviceIfNeeded() 80 private CachedBluetoothDevice getCachedDevice(long hiSyncId) { in getCachedDevice() method in HearingAidDeviceManager
|
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothDeviceDetailsFragment.java | 90 CachedBluetoothDevice getCachedDevice(String deviceAddress) { in getCachedDevice() method in BluetoothDeviceDetailsFragment 111 mCachedDevice = getCachedDevice(mDeviceAddress); in onAttach()
|
H A D | DevicePickerFragment.java | 141 if ((btPreference.getCachedDevice().getBondState() == in onDevicePreferenceClick()
|
H A D | DeviceListPreferenceFragment.java | 157 CachedBluetoothDevice device = btPreference.getCachedDevice(); in onPreferenceTreeClick()
|
H A D | BluetoothDevicePreference.java | 134 CachedBluetoothDevice getCachedDevice() { in getCachedDevice() method in BluetoothDevicePreference
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
H A D | LocalMediaManagerTest.java | 184 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice() 501 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceAttributesChanged_failingTransferring_shouldResetState() 610 when(((BluetoothMediaDevice) device).getCachedDevice()).thenReturn(cachedDevice); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() 747 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice() 748 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice() 775 when(device1.getCachedDevice()).thenReturn(cachedDevice1); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice() 776 when(device2.getCachedDevice()).thenReturn(cachedDevice2); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDevicePickerPreferenceControllerTest.java | 170 0)).getCachedDevice()).isEqualTo(mBondedCachedDevice); in onStart_appliesFilterType() 313 devicePreference.getCachedDevice(), BluetoothDevice.BOND_BONDED); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent() 338 devicePreference.getCachedDevice(), BluetoothDevice.BOND_BONDED); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
|
H A D | BluetoothBondedDevicesPreferenceControllerTest.java | 145 assertThat(devicePreference.getCachedDevice()).isEqualTo(mBondedCachedDevice); in showsOnlyBondedDevices()
|