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.java132 public static final int FLAG_EPHEMERAL = 0x00000100; field in UserInfo
211 FLAG_EPHEMERAL,
418 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;
108 .setDefaultUserInfoPropertyFlags(FLAG_EPHEMERAL) in testUserTypeBuilder_createUserType()
127 assertEquals(FLAG_PROFILE | FLAG_EPHEMERAL, type.getDefaultUserInfoFlags()); in testUserTypeBuilder_createUserType()
288 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency()
304 UserInfo.getDefaultUserType(FLAG_GUEST | FLAG_EPHEMERAL)); in testGetDefaultUserType()
312 UserInfo.getDefaultUserType(FLAG_EPHEMERAL)); in testGetDefaultUserType()
DUserManagerServiceUserInfoTest.java21 import static android.content.pm.UserInfo.FLAG_EPHEMERAL;
290 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.java21 import static android.content.pm.UserInfo.FLAG_EPHEMERAL;
358 final int flags = FLAG_GUEST | (ephemeralGuests ? FLAG_EPHEMERAL : 0); in getDefaultTypeFullGuest()
DUserManagerService.java292 | UserInfo.FLAG_EPHEMERAL
3093 userData.info.flags &= ~UserInfo.FLAG_EPHEMERAL; in setUserNonEphemeralUnchecked()
3109 userData.info.flags |= UserInfo.FLAG_EPHEMERAL; in setUserEphemeralUnchecked()
5438 flags |= UserInfo.FLAG_EPHEMERAL;
5533 flags |= UserInfo.FLAG_EPHEMERAL;
5540 flags &= ~UserInfo.FLAG_EPHEMERAL;
5543 if ((flags & UserInfo.FLAG_EPHEMERAL) != 0) {
6143 profileData.info.flags |= UserInfo.FLAG_EPHEMERAL;
DPackageManagerShellCommand.java3071 flags |= UserInfo.FLAG_EPHEMERAL; in runCreateUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorTest.kt416 /* flags= */ UserInfo.FLAG_EPHEMERAL or UserInfo.FLAG_FULL,
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java750 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped()
779 final int userId = createUserWithFlags(UserInfo.FLAG_EPHEMERAL | UserInfo.FLAG_DEMO); in ephemeralUserStopped_realistic()
/frameworks/base/core/api/
Dtest-current.txt1200 field public static final int FLAG_EPHEMERAL = 256; // 0x100
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java12577 int userInfoFlags = ephemeral ? UserInfo.FLAG_EPHEMERAL : 0;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13410 Landroid/content/pm/UserInfo;->FLAG_EPHEMERAL:I