Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java118 void remove(@NonNull UserHandle userToRemove) { in remove() argument
120 mSettingsByUser.remove(userToRemove.getIdentifier()); in remove()
124 if (mSettingsByProfileGroup.indexOfKey(userToRemove.getIdentifier()) >= 0) { in remove()
127 mSettingsByProfileGroup.get(userToRemove.getIdentifier()).unregisterReceivers(); in remove()
128 mSettingsByProfileGroup.remove(userToRemove.getIdentifier()); in remove()
134 mSettingsByProfileGroup.valueAt(i).removeUser(userToRemove); in remove()
DUsbPermissionManager.java73 void remove(@NonNull UserHandle userToRemove) { in remove() argument
75 mPermissionsByUser.remove(userToRemove.getIdentifier()); in remove()
DUsbProfileGroupSettingsManager.java305 void removeUser(@NonNull UserHandle userToRemove) { in removeUser() argument
313 if (entry.getValue().user.equals(userToRemove)) { in removeUser()
324 if (entry.getValue().user.equals(userToRemove)) { in removeUser()
334 if (userPackages.valueAt(j).user.equals(userToRemove)) { in removeUser()
345 if (userPackages.valueAt(j).user.equals(userToRemove)) { in removeUser()