Home
last modified time | relevance | path

Searched refs:getCachedDevicesCopy (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesChecker.java72 return mLocalBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy().stream() in isAnyPairedHearingDevice()
94 return mLocalBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy().stream() in isAnyActiveHearingDevice()
DHearingDevicesDialogDelegate.java419 return mLocalBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy().stream() in getHearingDevicesList()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java153 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_validCachedDevices_devicesAdded()
197 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameHiSyncId_validCachedDevices_mainDevicesAdded_subDevicesNotAdded()
212 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentHiSyncId_validCachedDevices_bothAdded()
232 mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded()
288 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
295 devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
302 devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
477 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameGroupId_validCachedDevices_mainDevicesAdded_memberDevicesNotAdded()
494 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentGroupId_validCachedDevices_bothAdded()
DBluetoothEventManagerTest.java433 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
503 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged()
536 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
588 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged()
604 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in dispatchActiveDeviceChanged_activeFromSubDevice_mainCachedDeviceActive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesCheckerTest.java72 when(mCachedBluetoothDeviceManager.getCachedDevicesCopy()).thenReturn(mCachedDevices); in setUp()
DHearingDevicesDialogDelegateTest.java141 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(mDevices); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPbapClientProfile.java84 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in refreshProfiles()
DBluetoothEventManager.java249 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchAudioModeChanged()
261 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchActiveDeviceChanged()
DCachedBluetoothDeviceManager.java66 public synchronized Collection<CachedBluetoothDevice> getCachedDevicesCopy() { in getCachedDevicesCopy() method in CachedBluetoothDeviceManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java88 when(mMockDeviceManager.getCachedDevicesCopy()).thenReturn(mDevices); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java266 ? mLocalBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy() in getDevices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java325 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in getDiscoveredKeyboard()