Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DBluetoothDevicesGroupPreferenceControllerTest.java121 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMatch_addsToGroup()
135 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMatch_addsToPreferenceMap()
149 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMismatch_removesFromGroup()
166 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMismatch_removesFromPreferenceMap()
190 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_devices_showsGroup()
201 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onBluetoothStateChanged_turningOff_clearsPreferences()
215 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onDeviceAdded_refreshesUi()
229 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onDeviceDeleted_refreshesUi()
235 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onDeviceDeleted_refreshesUi()
247 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onDeviceDeleted_lastDevice_hidesGroup()
[all …]
H A DBluetoothUnbondedDevicesPreferenceControllerTest.java113 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
H A DBluetoothScanningDevicesGroupPreferenceControllerTest.java97 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManagerTest.java126 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_validCachedDevices_devicesAdded()
170 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameHiSyncId_validCachedDevices_mainDevicesAdded_subDevicesNotAdded()
185 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentHiSyncId_validCachedDevices_bothAdded()
205 mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded()
261 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
268 devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
275 devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared()
H A DBluetoothEventManagerTest.java241 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
307 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in dispatchActiveDeviceChanged_withA2dpAndHearingAid()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DNotificationBackendTest.java177 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_noAssociations()
190 when(mCbm.getCachedDevicesCopy()).thenReturn(new ArrayList<>()); in getDeviceList_associationsButNoDevice()
206 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_singleDevice()
227 when(mCbm.getCachedDevicesCopy()).thenReturn(cachedDevices); in getDeviceList_multipleDevices()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowCachedBluetoothDeviceManager.java41 protected synchronized Collection<CachedBluetoothDevice> getCachedDevicesCopy() { in getCachedDevicesCopy() method in ShadowCachedBluetoothDeviceManager
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceUpdater.java122 mLocalManager.getCachedDeviceManager().getCachedDevicesCopy(); in forceUpdate()
137 mLocalManager.getCachedDeviceManager().getCachedDevicesCopy(); in removeAllDevicesFromPreference()
H A DDeviceListPreferenceFragment.java142 mLocalManager.getCachedDeviceManager().getCachedDevicesCopy(); in addCachedDevices()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DPairedBluetoothDevices.java106 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy(); in getQCItem()
162 mBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy(); in onNotifyChange()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothDevicesGroupPreferenceController.java116 getBluetoothManager().getCachedDeviceManager().getCachedDevicesCopy(); in updateState()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DPbapClientProfile.java84 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in refreshProfiles()
H A DBluetoothEventManager.java216 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchAudioModeChanged()
227 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchActiveDeviceChanged()
H A DCachedBluetoothDeviceManager.java51 public synchronized Collection<CachedBluetoothDevice> getCachedDevicesCopy() { in getCachedDevicesCopy() method in CachedBluetoothDeviceManager
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java73 when(mMockDeviceManager.getCachedDevicesCopy()).thenReturn(mDevices); in setup()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DSavedBluetoothDeviceUpdaterTest.java220 when(mDeviceManager.getCachedDevicesCopy()).thenReturn(cachedDevices); in forceUpdate_bluetoothAdapterNotEnable_removeAllDevicesFromPreference()
H A DBluetoothDeviceUpdaterTest.java104 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(mCachedDevices); in setUp()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
H A DBluetoothDevicesSlice.java192 localBtManager.getCachedDeviceManager().getCachedDevicesCopy(); in getPairedBluetoothDevices()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
H A DBluetoothBondedDevicesPreferenceControllerTest.java123 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(mCachedDevices); in setUp()
H A DBluetoothDevicePickerPreferenceControllerTest.java121 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
H A DPairedBluetoothDevicesTest.java113 when(deviceManager.getCachedDevicesCopy()).thenReturn(mCachedDevices); in setUp()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java246 ? mLocalBluetoothManager.getCachedDeviceManager().getCachedDevicesCopy() in getDevices()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java313 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in getDiscoveredKeyboard()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java154 lbm.getCachedDeviceManager().getCachedDevicesCopy(); in getDeviceList()