Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java116 public static final int FLAG_EPHEMERAL = 0x00000100; field in UserInfo
173 FLAG_EPHEMERAL,
356 return (flags & FLAG_EPHEMERAL) == FLAG_EPHEMERAL; in isEphemeral()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java20 import static android.content.pm.UserInfo.FLAG_EPHEMERAL;
89 .setDefaultUserInfoPropertyFlags(FLAG_EPHEMERAL) in testUserTypeBuilder_createUserType()
106 assertEquals(FLAG_PROFILE | FLAG_EPHEMERAL, type.getDefaultUserInfoFlags()); in testUserTypeBuilder_createUserType()
217 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency()
233 UserInfo.getDefaultUserType(FLAG_GUEST | FLAG_EPHEMERAL)); in testGetDefaultUserType()
241 UserInfo.getDefaultUserType(FLAG_EPHEMERAL)); in testGetDefaultUserType()
DUserManagerServiceUserInfoTest.java21 import static android.content.pm.UserInfo.FLAG_EPHEMERAL;
218 FLAG_GUEST | FLAG_EPHEMERAL | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
/frameworks/base/core/java/android/os/
DNewUserRequest.java90 if (isEphemeral()) flags |= UserInfo.FLAG_EPHEMERAL; in getFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java20 import static android.content.pm.UserInfo.FLAG_EPHEMERAL;
209 final int flags = FLAG_GUEST | (ephemeralGuests ? FLAG_EPHEMERAL : 0); in getDefaultTypeFullGuest()
DUserManagerService.java242 | UserInfo.FLAG_EPHEMERAL
1965 boolean isEphemeralUser = (userData.info.flags & UserInfo.FLAG_EPHEMERAL) != 0; in setUserEphemeral()
1978 userData.info.flags |= UserInfo.FLAG_EPHEMERAL; in setUserEphemeral()
1980 userData.info.flags &= ~UserInfo.FLAG_EPHEMERAL; in setUserEphemeral()
3995 flags |= UserInfo.FLAG_EPHEMERAL; in createUserInternalUncheckedNoTracing()
4088 flags |= UserInfo.FLAG_EPHEMERAL; in createUserInternalUncheckedNoTracing()
4095 flags &= ~UserInfo.FLAG_EPHEMERAL; in createUserInternalUncheckedNoTracing()
4098 if ((flags & UserInfo.FLAG_EPHEMERAL) != 0) { in createUserInternalUncheckedNoTracing()
4862 userData.info.flags |= UserInfo.FLAG_EPHEMERAL; in removeUserWhenPossible()
DPackageManagerShellCommand.java2809 flags |= UserInfo.FLAG_EPHEMERAL; in runCreateUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorTest.kt397 /* flags= */ UserInfo.FLAG_EPHEMERAL,
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java345 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped()
/frameworks/base/core/api/
Dtest-current.txt909 field public static final int FLAG_EPHEMERAL = 256; // 0x100
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10756 int userInfoFlags = ephemeral ? UserInfo.FLAG_EPHEMERAL : 0;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13410 Landroid/content/pm/UserInfo;->FLAG_EPHEMERAL:I