Searched refs:OWNER_NAME (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | InitialUserSetterTest.java | 75 private static final String OWNER_NAME = "OwnerOfALonelyDevice"; field in InitialUserSetterTest 125 mMockedUserHandleHelper, OWNER_NAME, GUEST_NAME)); in setFixtures() 154 assertThrows(IllegalArgumentException.class, () -> builder.setNewUserName(OWNER_NAME)); in testInitialUserInfoBuilder_invalidSetNewUserName() 600 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, newUser); in testDefaultBehavior_firstBoot_ok() 615 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, newUser); in testDefaultBehavior_firstBoot_ok_setLocale() 633 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, newUser); in testDefaultBehavior_firstBoot_ok_setEmptyLocale() 651 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, newUser); in testDefaultBehavior_firstBoot_ok_setBlankLocale() 681 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, user); in testDefaultBehavior_firstBoot_fail_switchFailed() 695 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, user); in testDefaultBehavior_firstBoot_fail_switchFailed_setLocale() 742 expectCreateFullUser(OWNER_NAME, UserManagerHelper.FLAG_ADMIN, newUser); in testDefaultBehavior_nonFirstBoot_ok_targetIsCurrentUserWhichIsEphemeral()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | CreateAndProvisionManagedProfileTaskTest.java | 60 private static final String OWNER_NAME = "ownerName"; field in CreateAndProvisionManagedProfileTaskTest 86 when(mResources.getString(anyInt())).thenReturn(OWNER_NAME); in setUp()
|
D | ProvisionFullyManagedDeviceTaskTest.java | 61 private static final String OWNER_NAME = "ownerName"; field in ProvisionFullyManagedDeviceTaskTest 89 when(mResources.getString(anyInt())).thenReturn(OWNER_NAME); in setUp()
|