/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceUpdaterTest.java | 115 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in testAddPreference_deviceExist_doNothing() 126 final Preference preference = mBluetoothDeviceUpdater.mPreferenceMap.get(mBluetoothDevice); in testAddPreference_deviceNotExist_addPreference() 133 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in testRemovePreference_deviceExist_removePreference() 138 assertThat(mBluetoothDeviceUpdater.mPreferenceMap.containsKey(mBluetoothDevice)).isFalse(); in testRemovePreference_deviceExist_removePreference() 143 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in testOnDeviceDeleted_deviceExists_removePreference() 148 assertThat(mBluetoothDeviceUpdater.mPreferenceMap.containsKey(mBluetoothDevice)).isFalse(); in testOnDeviceDeleted_deviceExists_removePreference() 161 mBluetoothDeviceUpdater.mPreferenceMap.put(mSubBluetoothDevice, mPreference); in testRemovePreference_subDeviceExist_removePreference() 163 assertThat(mBluetoothDeviceUpdater.mPreferenceMap. in testRemovePreference_subDeviceExist_removePreference() 168 assertThat(mBluetoothDeviceUpdater.mPreferenceMap. in testRemovePreference_subDeviceExist_removePreference() 220 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in forceUpdate_bluetoothDisabled_removeAllDevicesFromPreference() [all …]
|
D | SavedBluetoothDeviceUpdaterTest.java | 282 mBluetoothDeviceUpdater.mPreferenceMap.put(device2, mPreference); in forceUpdate_deviceNotContain_removePreference() 353 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in update_existingExclusivelyManagedDevice_packageEnabled_removePreference()
|
D | ConnectedBluetoothDeviceUpdaterTest.java | 333 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, btPreference); in addPreference_addPreference_shouldHideSecondTarget()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicesGroupPreferenceController.java | 55 private final Map<CachedBluetoothDevice, BluetoothDevicePreference> mPreferenceMap = field in BluetoothDevicesGroupPreferenceController 118 return mPreferenceMap; in getPreferenceMap() 127 Set<CachedBluetoothDevice> devicesToRemove = new HashSet<>(mPreferenceMap.keySet()); in updateState() 151 mPreferenceMap.clear(); in onBluetoothStateChanged() 166 if (!mPreferenceMap.containsKey(cachedDevice)) { in addPreference() 169 mPreferenceMap.put(cachedDevice, devicePreference); in addPreference() 175 if (mPreferenceMap.containsKey(cachedDevice)) { in removePreference() 176 getPreference().removePreference(mPreferenceMap.get(cachedDevice)); in removePreference() 177 mPreferenceMap.remove(cachedDevice); in removePreference()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceUpdater.java | 56 protected final Map<BluetoothDevice, Preference> mPreferenceMap; field in BluetoothDeviceUpdater 82 mPreferenceMap = new HashMap<>(); in BluetoothDeviceUpdater() 246 if (!mPreferenceMap.containsKey(device)) { in addPreference() 257 mPreferenceMap.put(device, btPreference); in addPreference() 268 if (mPreferenceMap.containsKey(device)) { in removePreference() 280 if (mPreferenceMap.containsKey(device)) { in removePreference() 281 mDevicePreferenceCallback.onDeviceRemoved(mPreferenceMap.get(device)); in removePreference() 282 mPreferenceMap.remove(device); in removePreference() 331 mPreferenceMap.forEach((key, preference) -> { in refreshPreference()
|
D | ConnectedBluetoothDeviceUpdater.java | 116 if (mPreferenceMap.containsKey(device)) { in addPreference() 118 (BluetoothDevicePreference) mPreferenceMap.get(device); in addPreference() 141 Log.d(TAG, "Map : " + mPreferenceMap); in update()
|
D | SavedBluetoothDeviceUpdater.java | 80 for (BluetoothDevice device : new ArrayList<>(mPreferenceMap.keySet())) { in removePreferenceIfNecessary() 98 Log.d(TAG, "Map : " + mPreferenceMap); in update()
|
D | AvailableMediaBluetoothDeviceUpdater.java | 156 Log.d(TAG, "Map : " + mPreferenceMap); in update()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutPickerController.java | 44 private final Map<TwoStatePreference, KeyboardLayout> mPreferenceMap; field in KeyboardLayoutPickerController 57 mPreferenceMap = new HashMap<>(); in KeyboardLayoutPickerController() 103 final KeyboardLayout layout = mPreferenceMap.get(switchPref); in handlePreferenceTreeClick() 141 for (Map.Entry<TwoStatePreference, KeyboardLayout> entry : mPreferenceMap.entrySet()) { in updateCheckedState() 158 mPreferenceMap.put(pref, layout); in createPreferenceHierarchy()
|
D | NewKeyboardLayoutPickerController.java | 49 private final Map<TickButtonPreference, KeyboardLayout> mPreferenceMap; field in NewKeyboardLayoutPickerController 69 mPreferenceMap = new HashMap<>(); in NewKeyboardLayoutPickerController() 141 if (mKeyboardLayoutSelectedCallback != null && mPreferenceMap.containsKey(preference)) { in handlePreferenceTreeClick() 142 mKeyboardLayoutSelectedCallback.onSelected(mPreferenceMap.get(preference)); in handlePreferenceTreeClick() 190 mPreferenceMap.put(pref, layout); in createPreferenceHierarchy() 200 mPreferenceMap.get(preference).getDescriptor()); in setLayout()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceVolumeControlUpdater.java | 91 if (!mPreferenceMap.containsKey(device)) { in addPreference() 125 mPreferenceMap.put(device, vPreference); in addPreference() 143 Log.d(TAG, "Map : " + mPreferenceMap); in update()
|
D | AudioSharingBluetoothDeviceUpdater.java | 91 Log.d(TAG, "Map : " + mPreferenceMap); in update()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiHotspotSecuritySettings.java | 42 protected Map<Integer, SelectorWithWidgetPreference> mPreferenceMap = new HashMap<>(); field in WifiHotspotSecuritySettings
|