Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java50 private final SparseArray<UsbUserSettingsManager> mSettingsByUser = new SparseArray<>(); field in UsbSettingsManager
76 synchronized (mSettingsByUser) { in getSettingsForUser()
77 UsbUserSettingsManager settings = mSettingsByUser.get(userId); in getSettingsForUser()
81 mSettingsByUser.put(userId, settings); in getSettingsForUser()
122 synchronized (mSettingsByUser) { in remove()
123 mSettingsByUser.remove(userToRemove.getIdentifier()); in remove()
148 synchronized (mSettingsByUser) { in dump()
174 synchronized (mSettingsByUser) { in usbDeviceRemoved()
175 for (int i = 0; i < mSettingsByUser.size(); i++) { in usbDeviceRemoved()
177 mSettingsByUser.valueAt(i).removeDevicePermissions(device); in usbDeviceRemoved()
[all …]