Home
last modified time | relevance | path

Searched refs:UserState (Results 1 – 5 of 5) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUser.java33 public enum UserState { enum in AdbUser
42 static UserState fromDumpSysValue(String value) { in fromDumpSysValue()
44 return UserState.valueOf(value); in fromDumpSysValue()
62 @Nullable UserState mState;
90 public UserState state() { in state()
DAdbUserParser26.java137 AdbUser.UserState.fromDumpSysValue( in parseUser()
DUserReference.java75 private static final Set<AdbUser.UserState> RUNNING_STATES = new HashSet<>(
76 Arrays.asList(AdbUser.UserState.RUNNING_LOCKED,
77 AdbUser.UserState.RUNNING_UNLOCKED,
78 AdbUser.UserState.RUNNING_UNLOCKING)
536 return adbUser.state().equals(AdbUser.UserState.RUNNING_UNLOCKED); in isUnlocked()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DSensorStates.java76 @NonNull private final Map<Integer, UserState> mUserStates;
82 int currentStrength, @NonNull Map<Integer, UserState> userStates, in SensorState()
120 @NonNull public Map<Integer, UserState> getUserStates() { in getUserStates()
133 public static class UserState { class in SensorStates
136 public UserState(int numEnrolled) { in UserState() method in SensorStates.UserState
146 final Map<Integer, UserState> userStates = new HashMap<>(); in parseFrom()
148 userStates.put(userStateProto.userId, new UserState(userStateProto.numEnrolled)); in parseFrom()
226 final Map<Integer, UserState> userStates = sensorStates.get(sensorId).getUserStates(); in toString()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricTestBase.java21 import static android.server.biometrics.util.SensorStates.UserState;
228 for (UserState userState : sensorState.getUserStates().values()) { in anyEnrollmentsExist()