Lines Matching defs:um
136 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE);
140 assertTrue(findUser(um, UserHandle.USER_OWNER));
143 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST);
166 um.removeUser(otherUser.id);
240 private boolean findUser(UserManager um, int userHandle) {
241 for (UserInfo user : um.getUsers()) {
251 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE);
255 assertTrue(findUser(um, UserHandle.USER_OWNER));
258 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST);
283 um.removeUser(user.id);