Home
last modified time | relevance | path

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

/cts/hostsidetests/car/src/android/car/cts/
DPreCreateUsersHostTest.java76 private void appsAreNotInstalledOnPreCreatedUserTest(boolean isGuest) throws Exception { in appsAreNotInstalledOnPreCreatedUserTest() argument
81 int preCreatedUserId = preCreateUser(isGuest); in appsAreNotInstalledOnPreCreatedUserTest()
88 convertPreCreatedUser(isGuest, preCreatedUserId); in appsAreNotInstalledOnPreCreatedUserTest()
110 private void appPermissionsPreCreatedUserPackagesTest(boolean isGuest) throws Exception { in appPermissionsPreCreatedUserPackagesTest() argument
117 int referenceUserId = isGuest in appPermissionsPreCreatedUserPackagesTest()
127 if (isGuest) { in appPermissionsPreCreatedUserPackagesTest()
131 int preCreatedUserId = preCreateUser(isGuest); in appPermissionsPreCreatedUserPackagesTest()
133 convertPreCreatedUser(isGuest, preCreatedUserId); in appPermissionsPreCreatedUserPackagesTest()
184 private int preCreateUser(boolean isGuest) throws Exception { in preCreateUser() argument
196 CLog.e("Exception pre-creating %s: %s", (isGuest ? "guest" : "user"), e); in preCreateUser()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserStatsTests.java73 protected int userCreate(String userName, boolean isGuest) throws Exception { in userCreate() argument
75 int userId = getDevice().createUser(userName, isGuest, false /* ephemeral */); in userCreate()
82 protected int removeGuestUser(String userName, boolean isGuest) throws Exception { in removeGuestUser() argument
83 int userId = getDevice().createUser(userName, isGuest, false /* ephemeral */); in removeGuestUser()
92 protected int switchUser(String userName, boolean isGuest) throws Exception { in switchUser() argument
93 int userId = getDevice().createUser(userName, isGuest, false /* ephemeral */); in switchUser()
DUserInfoStatsTests.java131 private int userCreate(String userName, boolean isGuest) throws Exception { in userCreate() argument
132 int userId = getDevice().createUser(userName, isGuest, false /* ephemeral */); in userCreate()
/cts/tests/tests/car/src/android/car/cts/
DUserCreationRequestTest.java36 expectThat(userCreationRequest.isGuest()).isFalse(); in testUserCreationRequestName()
46 expectThat(userCreationRequest.isGuest()).isFalse(); in testUserCreationRequestNameNull()
57 expectThat(userCreationRequest.isGuest()).isTrue(); in testUserCreationRequestGuest()
68 expectThat(userCreationRequest.isGuest()).isFalse(); in testUserCreationRequestAdmin()
79 expectThat(userCreationRequest.isGuest()).isFalse(); in testUserCreationRequestGuestUser()
DCarUserManagerTest.java413 private UserHandle createUser(@Nullable String name, boolean isGuest) { in createUser() argument
415 Log.d(TAG, "Creating new " + (isGuest ? "guest" : "user") + " with name '" + name in createUser()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DEphemeralTest.java239 private int createUser(boolean isGuest, boolean isEphemeral) throws Exception { in createUser() argument
242 return getDevice().createUser(name, isGuest, isEphemeral); in createUser()
246 name, isGuest, isEphemeral), e); in createUser()
DUserManagerHostTest.java80 .filter(userInfo -> !userInfo.isGuest()) in remainingUsersAllowedToBeCreated()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserInfo.kt75 fun isGuest(): Boolean = proxy.isGuest() method
DUserReference.java1050 public boolean isGuest() { in isGuest() method in UserReference
1051 return userInfo().isGuest(); in isGuest()
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java348 protected int createUser(String name, int flags, boolean isGuest) throws Exception { in createUser() argument
353 + ", flags " + flags + ", guest " + isGuest, in createUser()
356 flags, (isGuest ? "--guest " : ""), name); in createUser()
/cts/common/device-side/bedstead/modules/multiuser/src/test/kotlin/com/android/bedstead/multiuser/
DUsersTest.kt199 assertThat(user.isGuest).isFalse() in <lambda>()
601 assertThat(user.isGuest).isTrue() in <lambda>()
/cts/common/device-side/bedstead/testapisreflection/java/apis/
Dallowlisted-test-methods.txt45 android.content.pm.UserInfo,public boolean isGuest()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java980 if (info.isGuest()) { in removeGuestUser()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt1175 method public boolean isGuest();