Searched refs:userHandles (Results 1 – 7 of 7) sorted by relevance
95 final ArrayList<UserHandle> userHandles = new ArrayList<>(userInfos.size()); in show() local97 userHandles.add(info.getUserHandle()); in show()99 if (userHandles.size() == 1) { in show()101 context.startActivityAsUser(intent, userHandles.get(0)); in show()105 userHandles); in show()108 final UserHandle user = userHandles.get(which); in show()
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()
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()