Home
last modified time | relevance | path

Searched refs:UserInfo (Results 1 – 25 of 38) sorted by relevance

12

/cts/common/device-side/bedstead/testapisreflection/java/apis/
Dallowlisted-test-fields.txt1 android.content.pm.UserInfo,id,int
2 android.content.pm.UserInfo,name,String
3 android.content.pm.UserInfo,iconPath,String
4 android.content.pm.UserInfo,flags,int
5 android.content.pm.UserInfo,userType,String
6 android.content.pm.UserInfo,serialNumber,int
7 android.content.pm.UserInfo,creationTime,long
8 android.content.pm.UserInfo,lastLoggedInTime,long
9 android.content.pm.UserInfo,lastLoggedInFingerprint,String
10 android.content.pm.UserInfo,partial,boolean
[all …]
Dallowlisted-test-methods.txt39 android.content.pm.UserInfo,public boolean supportsSwitchTo()
41 android.os.UserManager,public java.util.List<android.content.pm.UserInfo> getUsers()
42 android.os.UserManager,public java.util.List<android.content.pm.UserInfo> getUsers(boolean, boolean…
43 android.content.pm.UserInfo,public boolean isPrimary()
44 android.content.pm.UserInfo,public boolean isAdmin()
45 android.content.pm.UserInfo,public boolean isGuest()
46 android.content.pm.UserInfo,public boolean isRestricted()
47 android.content.pm.UserInfo,public boolean isProfile()
48 android.content.pm.UserInfo,public boolean isManagedProfile()
49 android.content.pm.UserInfo,public boolean isCloneProfile()
[all …]
Dallowlisted-test-classes.txt1 android.content.pm.UserInfo
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserInfoStatsTests.java29 import com.android.os.AtomsProto.UserInfo;
83 UserInfo systemUser = findUserById(data, 0); in testGuestUserExists()
89 UserInfo guestUser = findUserById(data, userId); in testGuestUserExists()
109 UserInfo systemUser = findUserById(data, 0); in testSecondaryUserExists()
115 UserInfo secondaryUser = findUserById(data, userId); in testSecondaryUserExists()
122 private UserInfo findUserById(List<AtomsProto.Atom> data, int userId) { in findUserById()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_21256.java27 import com.android.tradefed.device.UserInfo;
53 Map<Integer, UserInfo> mapOfUserInfos = device.getUserInfos(); in testPocCVE_2023_21256()
54 for (UserInfo userInfo : mapOfUserInfos.values()) { in testPocCVE_2023_21256()
DCVE_2023_21107.java26 import com.android.tradefed.device.UserInfo;
43 Map<Integer, UserInfo> mapOfUserInfos = device.getUserInfos(); in withManagedUser()
44 for (UserInfo userInfo : mapOfUserInfos.values()) { in withManagedUser()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/
DDeviceTest.java31 import android.content.pm.UserInfo;
62 List<UserInfo> list = userManager.getUsers(); in testPocCVE_2023_40092()
63 for (UserInfo info : list) { in testPocCVE_2023_40092()
/cts/tests/tests/security/src/android/security/cts/CVE_2024_0024/
DCVE_2024_0024.java35 import android.content.pm.UserInfo;
62 UserInfo mUserInfo = null;
127 final List<UserInfo> list = in grantSmsPermission()
129 for (UserInfo info : list) { in grantSmsPermission()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsMultiUserTest.kt6 import android.content.pm.UserInfo in <lambda>()
34 private val preExistingUsers: MutableList<UserInfo> = mutableListOf() in <lambda>()
35 private val newUsers: MutableList<UserInfo> = mutableListOf() in <lambda>()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40086/src/android/security/cts/CVE_2023_40086/
DDeviceTest.java34 import android.content.pm.UserInfo;
72 List<UserInfo> list = userManager.getUsers(); in testPocCVE_2023_40086()
73 for (UserInfo info : list) { in testPocCVE_2023_40086()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21285/src/android/security/cts/CVE_2023_21285/
DDeviceTest.java32 import android.content.pm.UserInfo;
67 List<UserInfo> users = userManager.getUsers(); in testPocCVE_2023_21285()
69 for (UserInfo user : users) { in testPocCVE_2023_21285()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21244/src/android/security/cts/CVE_2023_21244/
DDeviceTest.java37 import android.content.pm.UserInfo;
68 List<UserInfo> users = userManager.getUsers(); in testCVE_2023_21244()
70 for (UserInfo user : users) { in testCVE_2023_21244()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35668/src/android/security/cts/CVE_2023_35668/
DDeviceTest.java38 import android.content.pm.UserInfo;
69 final List<UserInfo> list = userManager.getUsers(); in testWearableExtenderUri()
70 for (UserInfo info : list) { in testWearableExtenderUri()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21291/src/android/security/cts/CVE_2023_21291/
DDeviceTest.java37 import android.content.pm.UserInfo;
72 List<UserInfo> list = userManager.getUsers(); in testPocCVE_2023_21291()
73 for (UserInfo info : list) { in testPocCVE_2023_21291()
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java269 public <T> T onAllUsers(Function<List<UserInfo>, T> function) throws Exception { in onAllUsers() argument
270 ArrayList<UserInfo> allUsers = executeAndParseCommand(USER_PATTERN, (matcher) -> { in onAllUsers()
271 ArrayList<UserInfo> users = new ArrayList<>(); in onAllUsers()
273 users.add(new UserInfo(matcher)); in onAllUsers()
283 public UserInfo getUserInfo(int userId) throws Exception { in getUserInfo()
408 UserInfo userInfo = getUserInfo(userId); in isUserInitialized()
417 UserInfo userInfo = getUserInfo(userId); in isUserEphemeral()
680 public static final class UserInfo {
686 private UserInfo(Matcher matcher) {
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/user/
DCarUserManagerPermissionTest.java42 import android.content.pm.UserInfo;
119 (um) -> um.createUser("Thanos", UserInfo.FLAG_ADMIN))); in testCannotCreateAdminUserWithoutManageUsersPermission()
121 assertThat(e).hasMessageThat().contains("flags " + UserInfo.FLAG_ADMIN); in testCannotCreateAdminUserWithoutManageUsersPermission()
128 (um) -> um.createUser("Thanos", UserInfo.FLAG_ADMIN))); in testCannotCreateAdminUserWithTypeWithoutManageUsersPermission()
130 assertThat(e).hasMessageThat().contains("flags " + UserInfo.FLAG_ADMIN); in testCannotCreateAdminUserWithTypeWithoutManageUsersPermission()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21238/src/android/security/cts/CVE_2023_21238/
DDeviceTest.java34 import android.content.pm.UserInfo;
78 final List<UserInfo> list = context.getSystemService(UserManager.class).getUsers(); in testPocCVE_2023_21238()
79 for (UserInfo info : list) { in testPocCVE_2023_21238()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21288/src/android/security/cts/CVE_2023_21288/
DDeviceTest.java35 import android.content.pm.UserInfo;
68 final List<UserInfo> list = userManager.getUsers(); in testPocCVE_2023_21288()
69 for (UserInfo info : list) { in testPocCVE_2023_21288()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21286/src/android/security/cts/CVE_2023_21286/
DDeviceTest.java31 import android.content.pm.UserInfo;
77 final List<UserInfo> list = context.getSystemService(UserManager.class).getUsers(); in testPocCVE_2023_21286()
78 for (UserInfo info : list) { in testPocCVE_2023_21286()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/concurrentuser/
DConcurrentUserActivityUtils.java37 import android.content.pm.UserInfo;
73 List<UserInfo> users = userManager.getAliveUsers(); in getResponderUserId()
74 for (UserInfo info : users) { in getResponderUserId()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21277/src/android/security/cts/CVE_2023_21277/
DDeviceTest.java38 import android.content.pm.UserInfo;
80 List<UserInfo> list = userManager.getUsers(); in testPocCVE_2023_21277()
81 for (UserInfo info : list) { in testPocCVE_2023_21277()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21239/src/android/security/cts/CVE_2023_21239/
DDeviceTest.java37 import android.content.pm.UserInfo;
77 final List<UserInfo> list = in testCallStyleNotification()
79 for (UserInfo info : list) { in testCallStyleNotification()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21279/src/android/security/cts/CVE_2023_21279/
DDeviceTest.java32 import android.content.pm.UserInfo;
81 final List<UserInfo> list = context.getSystemService(UserManager.class).getUsers(); in testPocCVE_2023_21279()
82 for (UserInfo info : list) { in testPocCVE_2023_21279()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40073/src/android/security/cts/CVE_2023_40073/
DDeviceTest.java39 import android.content.pm.UserInfo;
75 List<UserInfo> list = userManager.getUsers(); in testPocCVE_2023_40073()
76 for (UserInfo info : list) { in testPocCVE_2023_40073()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DHeadlessSystemUserTest.java27 import android.content.pm.UserInfo;
65 UserInfo user = null; in testProfileOwnerIsSetOnNewUser()

12