Home
last modified time | relevance | path

Searched refs:userInfo (Results 1 – 10 of 10) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUserParser26.java126 String userInfo[] = userString.split("UserInfo\\{", 2)[1].split("\\}", 2)[0].split(":"); in parseUser() local
128 user.mName = userInfo[1]; in parseUser()
129 user.mFlags = Integer.parseInt(userInfo[2], 16); in parseUser()
130 user.mId = Integer.parseInt(userInfo[0]); in parseUser()
DUserReference.java134 return userInfo().isAdmin(); in isAdmin()
145 return userInfo().isForTesting(); in isForTesting()
324 if (!userInfo().isEnabled()) { in startUser()
575 mIsPrimary = userInfo().isPrimary(); in isPrimary()
982 private UserInfo userInfo() { in userInfo() method in UserReference
1030 UserInfo userInfo = userInfo(); in getSwitchToUserError() local
1031 if (!userInfo.supportsSwitchTo()) { in getSwitchToUserError()
1032 return "supportsSwitchTo=false(partial=" + userInfo.getPartial() + ", isEnabled=" in getSwitchToUserError()
1033 … + userInfo.isEnabled() + ", preCreated=" + userInfo.getPreCreated() + ", isFull=" in getSwitchToUserError()
1034 + userInfo.isFull() + ")"; in getSwitchToUserError()
[all …]
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_21256.java54 for (UserInfo userInfo : mapOfUserInfos.values()) { in testPocCVE_2023_21256()
55 if (userInfo.userName().equals("CVE_2023_21256_work_user")) { in testPocCVE_2023_21256()
56 workUserId = userInfo.userId(); in testPocCVE_2023_21256()
DCVE_2023_21107.java44 for (UserInfo userInfo : mapOfUserInfos.values()) { in withManagedUser()
45 if (userInfo.userName().equals("CVE_2023_21107_TestUser")) { in withManagedUser()
46 mWorkUserId = userInfo.userId(); in withManagedUser()
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/
DMediaSessionManagerTest.java119 RemoteUserInfo userInfo = new RemoteUserInfo( in testIsTrusted_returnsTrue() local
121 assertTrue(mMediaSessionManager.isTrustedForMediaControl(userInfo)); in testIsTrusted_returnsTrue()
129 RemoteUserInfo userInfo = new RemoteUserInfo( in testIsTrusted_returnsFalse() local
131 assertFalse(mMediaSessionManager.isTrustedForMediaControl(userInfo)); in testIsTrusted_returnsFalse()
/cts/hostsidetests/car/src/android/car/cts/
DCarUserManagerHostTest.java99 .mapToInt((userInfo) -> userInfo.id) in getNonExistentUser()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DUserManagerHostTest.java80 .filter(userInfo -> !userInfo.isGuest()) in remainingUsersAllowedToBeCreated()
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DEnterpriseContactsMultiUserTest.java106 for (UserInfo userInfo : device.getUserInfos().values()) { in setUpEnterpriseProfile()
107 if (userInfo.isManagedProfile()) { in setUpEnterpriseProfile()
108 sEnterpriseUserId = userInfo.userId(); in setUpEnterpriseProfile()
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java408 UserInfo userInfo = getUserInfo(userId); in isUserInitialized() local
409 CLog.v("isUserInitialized(%d): %s", userId, userInfo); in isUserInitialized()
410 return userInfo.flags.contains("INITIALIZED"); in isUserInitialized()
417 UserInfo userInfo = getUserInfo(userId); in isUserEphemeral() local
418 CLog.v("isUserEphemeral(%d): %s", userId, userInfo); in isUserEphemeral()
419 return userInfo.flags.contains("EPHEMERAL"); in isUserEphemeral()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java1223 final MediaSessionManager.RemoteUserInfo userInfo = in sendMediaSessionManagerIsTrustedForMediaControl() local
1225 final boolean isTrusted = mediaSessionManager.isTrustedForMediaControl(userInfo); in sendMediaSessionManagerIsTrustedForMediaControl()