Home
last modified time | relevance | path

Searched refs:mDevicePreferenceMap (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHearingDevicePairingFragmentTest.java123 mFragment.mDevicePreferenceMap.put(mCachedDevice, mDevicePreference); in onDeviceDeleted_stateIsCorrect()
125 assertThat(mFragment.mDevicePreferenceMap).isNotEmpty(); in onDeviceDeleted_stateIsCorrect()
129 assertThat(mFragment.mDevicePreferenceMap).isEmpty(); in onDeviceDeleted_stateIsCorrect()
137 assertThat(mFragment.mDevicePreferenceMap.size()).isEqualTo(0); in addDevice_bluetoothOff_doNothing()
142 assertThat(mFragment.mDevicePreferenceMap.size()).isEqualTo(0); in addDevice_bluetoothOff_doNothing()
149 assertThat(mFragment.mDevicePreferenceMap.size()).isEqualTo(0); in addDevice_addToAvailableHearingDeviceGroup()
154 assertThat(mFragment.mDevicePreferenceMap.size()).isEqualTo(1); in addDevice_addToAvailableHearingDeviceGroup()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DSavedDeviceGroupController.java57 private final Map<BluetoothDevice, Preference> mDevicePreferenceMap = new HashMap<>(); field in SavedDeviceGroupController
121 mDevicePreferenceMap.put( in onDeviceAdded()
134 mDevicePreferenceMap.remove( in onDeviceRemoved()
152 Preference preference = mDevicePreferenceMap.getOrDefault(device, null); in updatePreferenceGroup()
DPreviouslyConnectedDevicePreferenceController.java62 private final Map<BluetoothDevice, Preference> mDevicePreferenceMap = new HashMap<>(); field in PreviouslyConnectedDevicePreferenceController
140 mDevicePreferenceMap.put( in onDeviceAdded()
201 mDevicePreferenceMap.remove( in onDeviceRemoved()
221 Preference preference = mDevicePreferenceMap.getOrDefault(device, null); in updatePreferenceGroup()
/packages/apps/Settings/src/com/android/settings/accessibility/
DHearingDevicePairingFragment.java93 final Map<CachedBluetoothDevice, BluetoothDevicePreference> mDevicePreferenceMap = field in HearingDevicePairingFragment
263 if (mDevicePreferenceMap.get(cachedDevice) != null) { in addDevice()
277 mDevicePreferenceMap.put(cachedDevice, preference); in addDevice()
287 BluetoothDevicePreference preference = mDevicePreferenceMap.remove(cachedDevice); in removeDevice()
345 if (mDevicePreferenceMap.get(cachedDevice) == null in handleLeScanResult()
395 mDevicePreferenceMap.clear(); in removeAllDevices()