Home
last modified time | relevance | path

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

/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/
DUserManagerHelper.java60 public static final int FLAG_EPHEMERAL = UserInfo.FLAG_EPHEMERAL; field in UserManagerHelper
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUserManager.java325 (userInfo.flags & UserInfo.FLAG_EPHEMERAL) != 0; in setUserEphemeral()
336 userInfo.flags |= UserInfo.FLAG_EPHEMERAL; in setUserEphemeral()
338 userInfo.flags &= ~UserInfo.FLAG_EPHEMERAL; in setUserEphemeral()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java627 & UserManagerHelper.FLAG_EPHEMERAL) != UserManagerHelper.FLAG_EPHEMERAL)) { in matches()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java304 flags |= UserInfo.FLAG_EPHEMERAL; in build()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java2042 UserManagerHelper.FLAG_EPHEMERAL, mRegularUser); in testCreateUser_halNotSupported_success()
2044 createUser("dude", UserManager.USER_TYPE_FULL_SECONDARY, UserManagerHelper.FLAG_EPHEMERAL, in testCreateUser_halNotSupported_success()
2083 UserManagerHelper.FLAG_EPHEMERAL, UserHandle.of(userId)); in testCreateUser_success()
2087 createUser("dude", UserManager.USER_TYPE_FULL_SECONDARY, UserManagerHelper.FLAG_EPHEMERAL, in testCreateUser_success()
2199 int flags = UserManagerHelper.FLAG_EPHEMERAL; in testCreateUser_guest_failsWithNonZeroFlags()
2216 UserManagerHelper.FLAG_EPHEMERAL, expectedUser); in testCreateUser_success_nullName()
2220 createUser(nullName, UserManager.USER_TYPE_FULL_SECONDARY, UserManagerHelper.FLAG_EPHEMERAL, in testCreateUser_success_nullName()
2289 createUserWithRestrictionsInvalidTypes(UserManagerHelper.FLAG_EPHEMERAL); in testCreateUserWithRestrictions_invalidFlags()
DInitialUserSetterTest.java352 expectCreateGuestUser(GUEST_NAME, UserManagerHelper.FLAG_EPHEMERAL, newGuest); in testReplaceGuestIfNeeded_ok_ephemeralGuest()
456 expectCreateGuestUser("TheDude", UserManagerHelper.FLAG_EPHEMERAL, newGuest); in testCreateUser_ok_ephemeralGuest()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java673 if ((flags & UserManagerHelper.FLAG_EPHEMERAL) == UserManagerHelper.FLAG_EPHEMERAL) { in createUser()
720 flags |= userCreationRequest.isEphemeral() ? UserManagerHelper.FLAG_EPHEMERAL : 0; in createUser()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java303 UserInfo.FLAG_EPHEMERAL); in testMockUmGetAliveUsers()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1296 flags |= userCreationRequest.isEphemeral() ? UserManagerHelper.FLAG_EPHEMERAL : 0; in createUser()
1539 if ((flags & UserManagerHelper.FLAG_EPHEMERAL) == UserManagerHelper.FLAG_EPHEMERAL) { in getCreateUserRequest()
2807 | UserManagerHelper.FLAG_EPHEMERAL
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt315 field TIRAMISU_0 int FLAG_EPHEMERAL = UserInfo.FLAG_EPHEMERAL;
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java494 return new UserInfo(id, null, UserInfo.FLAG_EPHEMERAL); in createEphemeralUser()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java200 flags |= UserManagerHelper.FLAG_EPHEMERAL; in toUserInfoFlags()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java238 .isEqualTo(UserManagerHelper.FLAG_EPHEMERAL); in testToUserInfoFlags()
243 .isEqualTo(UserManagerHelper.FLAG_EPHEMERAL | UserManagerHelper.FLAG_ADMIN); in testToUserInfoFlags()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java2460 if ((flags & UserManagerHelper.FLAG_EPHEMERAL) == UserManagerHelper.FLAG_EPHEMERAL) {
2574 if ((flags & UserManagerHelper.FLAG_EPHEMERAL) == UserManagerHelper.FLAG_EPHEMERAL) {
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt341 field public static final int FLAG_EPHEMERAL = 256; // 0x100