Home
last modified time | relevance | path

Searched refs:subCachedDevice (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceTest.java909 mCachedDevice.setSubDevice(subCachedDevice); in getSubDevice_setSubDevice()
911 assertThat(mCachedDevice.getSubDevice()).isEqualTo(subCachedDevice); in getSubDevice_setSubDevice()
920 subCachedDevice.mRssi = RSSI_2; in switchSubDeviceContent()
921 subCachedDevice.mJustDiscovered = JUSTDISCOVERED_2; in switchSubDeviceContent()
922 mCachedDevice.setSubDevice(subCachedDevice); in switchSubDeviceContent()
927 assertThat(subCachedDevice.mRssi).isEqualTo(RSSI_2); in switchSubDeviceContent()
928 assertThat(subCachedDevice.mJustDiscovered).isEqualTo(JUSTDISCOVERED_2); in switchSubDeviceContent()
929 assertThat(subCachedDevice.mDevice).isEqualTo(mSubDevice); in switchSubDeviceContent()
935 assertThat(subCachedDevice.mRssi).isEqualTo(RSSI_1); in switchSubDeviceContent()
936 assertThat(subCachedDevice.mJustDiscovered).isEqualTo(JUSTDISCOVERED_1); in switchSubDeviceContent()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceUpdater.java265 final CachedBluetoothDevice subCachedDevice = cachedDevice.getSubDevice(); in removePreference() local
269 } else if (subCachedDevice != null) { in removePreference()
273 final BluetoothDevice subDevice = subCachedDevice.getDevice(); in removePreference()