Searched refs:mCachedDevice (Results 1 – 3 of 3) sorted by relevance
429 mCachedDevice. in getConnectionSummary_testSingleProfileActiveDeviceHearingAid()1050 mCachedDevice.setName(name); in setName_setDeviceNameIsNotNull()1057 mCachedDevice.setName(null); in setName_setDeviceNameIsNull()1064 mCachedDevice.setName(""); in setName_setDeviceNameIsEmpty()1104 mCachedDevice.mRssi = RSSI_1; in switchSubDeviceContent()1114 verify(mCachedDevice).release(); in switchSubDeviceContent()1146 mCachedDevice.onUuidChanged(); in onUuidChanged_bluetoothClassIsNull_shouldNotCrash()1162 mCachedDevice.refresh(); in getDrawableWithDescription_isAdvancedDevice_returnAdvancedIcon()1173 mCachedDevice.refresh(); in getDrawableWithDescription_isNotAdvancedDevice_returnBluetoothIcon()1186 mCachedDevice.refresh(); in releaseLruCache_lruCacheShouldBeRelease()[all …]
40 private CachedBluetoothDevice mCachedDevice; field in BluetoothMediaDevice52 mCachedDevice = device; in BluetoothMediaDevice()59 return mCachedDevice.getName(); in getName()64 return isConnected() || mCachedDevice.isBusy() in getSummary()65 ? mCachedDevice.getConnectionSummary() in getSummary()77 return BluetoothUtils.isAdvancedUntetheredDevice(mCachedDevice.getDevice()) in getIcon()91 return MediaDeviceUtils.getId(mCachedDevice); in getId()98 return mCachedDevice; in getCachedDevice()117 return mCachedDevice != null in isFastPairDevice()130 return mCachedDevice.getBondState() == BluetoothDevice.BOND_BONDED in isConnected()[all …]
42 private CachedBluetoothDevice mCachedDevice; field in MediaDeviceUtilsTest55 when(mCachedDevice.getAddress()).thenReturn(TEST_ADDRESS); in getId_returnCachedBluetoothDeviceAddress()57 final String id = MediaDeviceUtils.getId(mCachedDevice); in getId_returnCachedBluetoothDeviceAddress()