Searched refs:userHandles (Results 1 – 5 of 5) 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()
95 final List<UserHandle> userHandles = tile.userHandle; in updateUserHandlesIfNeeded() local100 for (int i = userHandles.size() - 1; i >= 0; i--) { in updateUserHandlesIfNeeded()101 if (userManager.getUserInfo(userHandles.get(i).getIdentifier()) == null) { in updateUserHandlesIfNeeded()103 Log.d(TAG, "Delete the user: " + userHandles.get(i).getIdentifier()); in updateUserHandlesIfNeeded()105 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()
115 final List<UserHandle> userHandles = new ArrayList<>(); in setUp() local116 userHandles.add(new UserHandle(0)); in setUp()117 doReturn(userHandles).when(mUserManager).getUserProfiles(); in setUp()
60 final List<UserHandle> userHandles = userManager.getUserProfiles(); in getRestrictedAppsList() local74 && userHandles.contains( in getRestrictedAppsList()