Searched refs:userType (Results 1 – 4 of 4) sorted by relevance
295 UserType userType = new UserType(parseUserType(userTypeString)); in parseUserTypes() local296 userTypes.put(userType.name(), userType); in parseUserTypes() local317 UserType.MutableUserType userType = new UserType.MutableUserType(); in parseUserType() local319 userType.mName = userTypeString.split("mName: ", 2)[1].split("\n")[0]; in parseUserType()320 userType.mBaseType = new HashSet<>(); in parseUserType()324 userType.mBaseType.add(baseType); in parseUserType()328 userType.mEnabled = Boolean.parseBoolean( in parseUserType()330 userType.mMaxAllowed = Integer.parseInt( in parseUserType()332 userType.mMaxAllowedPerParent = Integer.parseInt( in parseUserType()335 return userType; in parseUserType()
180 public Set<UserReference> findUsersOfType(UserType userType) { in findUsersOfType() argument181 if (userType == null) { in findUsersOfType()185 if (userType.baseType().contains(UserType.BaseType.PROFILE)) { in findUsersOfType()186 throw new NeneException("Cannot use findUsersOfType with profile type " + userType); in findUsersOfType()190 .filter(u -> u.type().equals(userType)) in findUsersOfType()202 public UserReference findUserOfType(UserType userType) { in findUserOfType() argument203 Set<UserReference> users = findUsersOfType(userType); in findUserOfType()209 + userType + ". Found: " + users); in findUserOfType()218 public Set<UserReference> findProfilesOfType(UserType userType, UserReference parent) { in findProfilesOfType() argument219 if (userType == null || parent == null) { in findProfilesOfType()[all …]
255 UserType userType = (UserType) annotation.annotationType()257 ensureHasNoProfile(ensureHasNoProfileAnnotation.value(), userType);752 private void requireRunOnProfile(String userType,758 assumeTrue("This test only runs on users of type " + userType,759 instrumentedUser.type().name().equals(userType));852 String userType, FailureMode failureMode) {854 TestApis.users().supportedType(userType);857 "Device must support user type " + userType1009 com.android.bedstead.nene.users.UserType userType, UserReference forUser) {1010 if (userType == null || forUser == null) {[all …]
912 field public String userType;