Searched refs:mCachedDevicesMapForHearingAids (Results 1 – 2 of 2) sorted by relevance
56 final Map<Long, CachedBluetoothDevice> mCachedDevicesMapForHearingAids field in CachedBluetoothDeviceManager130 && !mCachedDevicesMapForHearingAids.containsKey(newDevice.getHiSyncId())) { in addDevice()131 mCachedDevicesMapForHearingAids.put(newDevice.getHiSyncId(), newDevice); in addDevice()150 if(mCachedDevicesMapForHearingAids.containsKey(hiSyncId)) { in isPairAddedInCache()237 mCachedDevicesMapForHearingAids.entrySet().removeIf(entries in clearNonBondedDevices()285 && mCachedDevicesMapForHearingAids.containsKey(cachedDevice.getHiSyncId())) in onBluetoothStateChanged()287 mCachedDevicesMapForHearingAids.remove(cachedDevice.getHiSyncId()); in onBluetoothStateChanged()339 mCachedDevicesMapForHearingAids.put(hiSyncId, cachedDevice); in onHiSyncIdChanged()343 mCachedDevicesMapForHearingAids.put(hiSyncId, in onHiSyncIdChanged()354 mCachedDevicesMapForHearingAids.put(hiSyncId, cachedDevice); in onHiSyncIdChanged()[all …]
223 mCachedDeviceManager.mCachedDevicesMapForHearingAids.put(HISYNCID1, mCachedDevice1); in testClearNonBondedDevices_HearingAids_nonBondedHAsClearedFromCachedDevicesMap()224 mCachedDeviceManager.mCachedDevicesMapForHearingAids.put(HISYNCID2, mCachedDevice2); in testClearNonBondedDevices_HearingAids_nonBondedHAsClearedFromCachedDevicesMap()228 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids.values()) in testClearNonBondedDevices_HearingAids_nonBondedHAsClearedFromCachedDevicesMap()230 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids.values()) in testClearNonBondedDevices_HearingAids_nonBondedHAsClearedFromCachedDevicesMap()249 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids).isEmpty(); in testOnHiSyncIdChanged_sameHiSyncId_populateInDifferentLists()261 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids).hasSize(1); in testOnHiSyncIdChanged_sameHiSyncId_populateInDifferentLists()264 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids) in testOnHiSyncIdChanged_sameHiSyncId_populateInDifferentLists()292 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids).isEmpty(); in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()300 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids). in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()321 assertThat(mCachedDeviceManager.mCachedDevicesMapForHearingAids).isEmpty(); in testOnHiSyncIdChanged_differentHiSyncId_populateInSameList()[all …]