Home
last modified time | relevance | path

Searched refs:userName (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DUserHelper.java89 String userName = userInfo.userName(); in cleanupOldUsersIfLimitReached() local
95 if (userName != null && userName.equals(TF_CREATED_USER)) { in cleanupOldUsersIfLimitReached()
111 String userName = entry.getValue().userName(); in findExistingTradefedUser() local
113 if (userName != null && userName.equals(TF_CREATED_USER)) { in findExistingTradefedUser()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DUserInfo.java122 public UserInfo(int userId, String userName, int flag, boolean isRunning) { in UserInfo() argument
124 mUserName = userName; in UserInfo()
129 public UserInfo(int userId, String userName, int flag, boolean isRunning, String userType) { in UserInfo() argument
130 this(userId, userName, flag, isRunning); in UserInfo()
138 public String userName() { in userName() method in UserInfo
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceUserFuncTest.java64 final String userName = "Google"; in testUserLifecycle() local
65 userId = mTestDevice.createUser(userName, false, false); in testUserLifecycle()
77 assertEquals(userName, info.userName()); in testUserLifecycle()
DTestDeviceTest.java2947 assertEquals("Foo", user0.userName()); in testListUsersInfo_oneUser_preT()
2972 assertEquals("Owner", user0.userName()); in testListUsersInfo_oneUser_postT()
2992 assertEquals("Foo", user0.userName()); in testListUsersInfo_multiUsers()
2998 assertEquals("FooBar", user10.userName()); in testListUsersInfo_multiUsers()