Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java52 final List<CachedBluetoothDevice> mHearingAidDevicesNotAddedInCache field in CachedBluetoothDeviceManager
96 for (CachedBluetoothDevice notCachedDevice : mHearingAidDevicesNotAddedInCache) { in findDevice()
124 mHearingAidDevicesNotAddedInCache.add(newDevice); in addDevice()
166 for (CachedBluetoothDevice hearingAidDevice : mHearingAidDevicesNotAddedInCache) { in getHearingAidPairDeviceSummary()
183 mHearingAidDevicesNotAddedInCache.add(device); in addDeviceNotaddedInMap()
243 mHearingAidDevicesNotAddedInCache.removeIf(hearingAidDevice in clearNonBondedDevices()
255 for (int i = mHearingAidDevicesNotAddedInCache.size() - 1; i >= 0; i--) { in onScanningStateChanged()
256 CachedBluetoothDevice notCachedDevice = mHearingAidDevicesNotAddedInCache.get(i); in onScanningStateChanged()
296 for (int i = mHearingAidDevicesNotAddedInCache.size() - 1; i >= 0; i--) { in onBluetoothStateChanged()
297 CachedBluetoothDevice notCachedDevice = mHearingAidDevicesNotAddedInCache.get(i); in onBluetoothStateChanged()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java248 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnHiSyncIdChanged_sameHiSyncId_populateInDifferentLists()
260 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).hasSize(1); in testOnHiSyncIdChanged_sameHiSyncId_populateInDifferentLists()
291 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()
302 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache). in testOnHiSyncIdChanged_sameHiSyncIdAndOneConnected_chooseConnectedDevice()
320 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnHiSyncIdChanged_differentHiSyncId_populateInSameList()
331 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnHiSyncIdChanged_differentHiSyncId_populateInSameList()
354 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnProfileConnectionStateChanged_singleDeviceConnected_visible()
367 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnProfileConnectionStateChanged_singleDeviceConnected_visible()
376 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnProfileConnectionStateChanged_singleDeviceConnected_visible()
398 assertThat(mCachedDeviceManager.mHearingAidDevicesNotAddedInCache).isEmpty(); in testOnProfileConnectionStateChanged_twoDevicesConnected_oneDeviceVisible()
[all …]