Searched refs:userHandles (Results 1 – 7 of 7) sorted by relevance
81 List<UserHandle> userHandles = tile.userHandle; in updateUserHandlesIfNeeded() local86 for (int i = userHandles.size() - 1; i >= 0; i--) { in updateUserHandlesIfNeeded()87 if (userManager.getUserInfo(userHandles.get(i).getIdentifier()) == null) { in updateUserHandlesIfNeeded()89 Log.d(TAG, "Delete the user: " + userHandles.get(i).getIdentifier()); in updateUserHandlesIfNeeded()91 userHandles.remove(i); in updateUserHandlesIfNeeded()
58 UserHandle[] userHandles = new UserHandle[] { in testGetManagedProfile() local63 .thenReturn(new ArrayList<UserHandle>(Arrays.asList(userHandles))); in testGetManagedProfile()70 UserHandle[] userHandles = new UserHandle[] { in testGetManagedProfile_notPresent() local74 .thenReturn(new ArrayList<UserHandle>(Arrays.asList(userHandles))); in testGetManagedProfile_notPresent()
95 final ArrayList<UserHandle> userHandles = new ArrayList<>(userInfos.size()); in show() local97 userHandles.add(info.getUserHandle()); in show()101 UserAdapter adapter = UserAdapter.createUserAdapter(userManager, context, userHandles); in show()104 final UserHandle user = userHandles.get(which); in show()
109 final List<UserHandle> userHandles = new ArrayList<>(); in setUp() local110 userHandles.add(new UserHandle(0)); in setUp()111 doReturn(userHandles).when(mUserManager).getUserProfiles(); in setUp()
60 final List<UserHandle> userHandles = userManager.getUserProfiles(); in getRestrictedAppsList() local74 && userHandles.contains( in getRestrictedAppsList()