Searched refs:mCachedDevices (Results 1 – 2 of 2) sorted by relevance
48 final List<CachedBluetoothDevice> mCachedDevices = field in CachedBluetoothDeviceManager65 return new ArrayList<CachedBluetoothDevice>(mCachedDevices); in getCachedDevicesCopy()91 for (CachedBluetoothDevice cachedDevice : mCachedDevices) { in findDevice()128 mCachedDevices.add(newDevice); in addDevice()198 for (CachedBluetoothDevice cachedDevice : mCachedDevices) { in updateHearingAidsDevices()240 mCachedDevices.removeIf(cachedDevice in clearNonBondedDevices()251 for (int i = mCachedDevices.size() - 1; i >= 0; i--) { in onScanningStateChanged()252 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onScanningStateChanged()279 for (int i = mCachedDevices.size() - 1; i >= 0; i--) { in onBluetoothStateChanged()280 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onBluetoothStateChanged()[all …]
416 assertThat(mCachedDeviceManager.mCachedDevices).contains(cachedDevice1); in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()429 assertThat(mCachedDeviceManager.mCachedDevices).hasSize(1); in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()470 assertThat(mCachedDeviceManager.mCachedDevices).contains(cachedDevice2); in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()485 assertThat(mCachedDeviceManager.mCachedDevices).hasSize(1); in testOnProfileConnectionStateChanged_twoDevicesDisconnected_oneDeviceVisible()639 mCachedDeviceManager.mCachedDevices.add(mCachedDevice1); in testGetHearingAidPairDeviceSummary_bothHearingAidsPaired_returnsSummaryOfPair()656 mCachedDeviceManager.mCachedDevices.add(mCachedDevice1); in testGetHearingAidPairDeviceSummary_bothHearingAidsNotPaired_returnsNull()674 mCachedDeviceManager.mCachedDevices.add(mCachedDevice1); in testUpdateHearingAidDevices_hiSyncIdAvailable_setsHiSyncId()675 mCachedDeviceManager.mCachedDevices.add(mCachedDevice2); in testUpdateHearingAidDevices_hiSyncIdAvailable_setsHiSyncId()