/cts/hostsidetests/car/src/android/car/cts/ |
D | PreCreateUsersHostTest.java | 76 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/ |
D | UserStatsTests.java | 73 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()
|
D | UserInfoStatsTests.java | 131 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/ |
D | UserCreationRequestTest.java | 36 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()
|
D | CarUserManagerTest.java | 413 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/ |
D | EphemeralTest.java | 239 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()
|
D | UserManagerHostTest.java | 80 .filter(userInfo -> !userInfo.isGuest()) in remainingUsersAllowedToBeCreated()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserInfo.kt | 75 fun isGuest(): Boolean = proxy.isGuest() method
|
D | UserReference.java | 1050 public boolean isGuest() { in isGuest() method in UserReference 1051 return userInfo().isGuest(); in isGuest()
|
/cts/hostsidetests/car/util/src/android/car/cts/ |
D | CarHostJUnit4TestCase.java | 348 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/ |
D | UsersTest.kt | 199 assertThat(user.isGuest).isFalse() in <lambda>() 601 assertThat(user.isGuest).isTrue() in <lambda>()
|
/cts/common/device-side/bedstead/testapisreflection/java/apis/ |
D | allowlisted-test-methods.txt | 45 android.content.pm.UserInfo,public boolean isGuest()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 980 if (info.isGuest()) { in removeGuestUser()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 1175 method public boolean isGuest();
|