Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DDisallowAddUserTaskTest.java53 private UserInfo systemUser = new UserInfo(UserHandle.USER_SYSTEM, "System", 0 /* flags */); field in DisallowAddUserTaskTest
98 systemUser, meatUser})); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
104 systemUser.getUserHandle()); in testMaybeDisallowAddUsers_splitUserSystem_meatUserDeviceOwner()
111 when(mockUserManager.getUsers()).thenReturn(Collections.singletonList(systemUser)); in testMaybeDisallowAddUsers_splitUserSystem_systemDeviceOwner()
113 new DisallowAddUserTask(mockUserManager, systemUser.id, true /* isSplitSystemUser */) in testMaybeDisallowAddUsers_splitUserSystem_systemDeviceOwner()