/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | DisableScreenDozeRule.java | 19 import static android.os.UserHandle.USER_SYSTEM; 55 USER_SYSTEM); in apply() 61 mConfig.restoreDozeSettings(USER_SYSTEM); in apply()
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 34 public static final int USER_SYSTEM = 0; field in Utils 38 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests() 44 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 149 primary = USER_SYSTEM; in getAllUsers() 153 if ((user != USER_SYSTEM) && !Objects.equals(user, primary)) { in getAllUsers()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 41 public static final int USER_SYSTEM = 0; field in Utils 88 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests() 94 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 205 && primary == USER_SYSTEM in getAllUsers() 210 primary = USER_SYSTEM; in getAllUsers() 214 if ((user != USER_SYSTEM) && !Objects.equals(user, primary)) { in getAllUsers()
|
D | BaseAppSecurityTest.java | 47 if (mPrimaryUserId != Utils.USER_SYSTEM) { in setUpBaseAppSecurityTest() 48 mFixedUsers.add(Utils.USER_SYSTEM); in setUpBaseAppSecurityTest()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | MultiUserBackupStateTest.java | 49 protected static final int USER_SYSTEM = 0; field in MultiUserBackupStateTest 99 if (getDevice().listUsers().contains(userId) && userId != USER_SYSTEM) { in removeUser()
|
D | RestoreSessionHostSideTest.java | 55 private static final int USER_SYSTEM = 0; field in RestoreSessionHostSideTest 209 return mBackupUtils.setBackupTransportForUser(transport, USER_SYSTEM); in setBackupTransport()
|
D | BackupPreparer.java | 65 private final int USER_SYSTEM = 0; field in BackupPreparer 233 return mBackupUtils.isBackupActivatedForUser(USER_SYSTEM); in isBackupActiveForSysytemUser()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/ |
D | ValidationHelperTest.java | 38 private static final int USER_SYSTEM = 0; field in ValidationHelperTest 52 assertTrue(ValidationHelper.isUserIdValid(USER_SYSTEM)); in testUserIdValidation()
|
/cts/hostsidetests/appsecurity/test-apps/RoleSecurityTestApp/src/com/android/cts/rolesecuritytest/ |
D | DeviceTest.java | 57 assertNotEquals("This test should be run in a secondary user", UserHandle.USER_SYSTEM, in cannotGetSmsRoleHolderForAnotherUser() 73 getSmsRoleHolderMethod.invoke(roleService, UserHandle.USER_SYSTEM); in cannotGetSmsRoleHolderForAnotherUser()
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | BaseContextCrossProfileTest.java | 40 private static final int USER_SYSTEM = 0; // From the UserHandle class. field in BaseContextCrossProfileTest 72 if (mPrimaryUserId != USER_SYSTEM) { in setFixedUsers() 73 mFixedUsers.add(USER_SYSTEM); in setFixedUsers()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | UserHandleTest.java | 41 assertSameUserHandle(UserHandle.USER_SYSTEM); in testOf() 78 UserHandle.getUid(UserHandle.USER_SYSTEM, TEST_APP_ID), in testGetUid()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-23707/src/android/security/cts/CVE_2024_23707/ |
D | PocManageSpaceActivity.java | 40 UserHandle.USER_SYSTEM); in onResume()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | OrgOwnedProfileOwnerParentTest.java | 102 Settings.Secure.LOCATION_MODE, UserHandle.USER_SYSTEM)); in testAddGetAndClearUserRestriction_onParent() 116 Settings.Secure.LOCATION_MODE, finalLocationMode, UserHandle.USER_SYSTEM)); in testAddGetAndClearUserRestriction_onParent()
|
D | UserRestrictionsParentTest.java | 228 Settings.Secure.LOCATION_MODE, UserHandle.USER_SYSTEM); in testPerProfileUserRestriction_onParent() 252 UserHandle.USER_SYSTEM); in testPerProfileUserRestriction_onParent()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2023_20959.java | 55 PackageManager.MATCH_SYSTEM_ONLY, UserHandle.USER_SYSTEM); in testPocCVE_2023_20959()
|
D | CVE_2024_0046.java | 60 UserHandle.USER_SYSTEM); in testPocCVE_2024_0046()
|
D | CVE_2023_20960.java | 67 UserHandle.USER_SYSTEM); in testPocCVE_2023_20960()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 51 protected static final int USER_SYSTEM = 0; field in BaseMultiUserTest 211 if (getDevice().listUsers().contains(userId) && userId != USER_SYSTEM in removeUser()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppB/src/com/android/cts/appdataisolation/appb/ |
D | AppBTests.java | 61 if (getCurrentUserId() == UserHandle.USER_SYSTEM) { in testCanAccessAppADataDir()
|
/cts/hostsidetests/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 54 private static final int USER_SYSTEM = 0; field in PrivacyDeviceOwnerTest 92 mDeviceOwnerUserId = USER_SYSTEM; in setUp()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0965/src/android/security/cts/CVE_2021_0965/ |
D | DeviceTest.java | 61 PackageManager.MATCH_SYSTEM_ONLY, UserHandle.USER_SYSTEM); in getSettingsPkgName()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21256/src/android/security/cts/CVE_2023_21256/ |
D | DeviceTest.java | 73 UserHandle.USER_SYSTEM); in testSettingsHomePageActivityFromWorkProfile()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 107 protected static final int USER_SYSTEM = 0; // From the UserHandle class. field in BaseDevicePolicyTest 109 protected static final int USER_OWNER = USER_SYSTEM; 226 if (mPrimaryUserId != USER_SYSTEM) { in setUp() 227 mFixedUsers.add(USER_SYSTEM); in setUp() 508 if (listUsers().contains(userId) && userId != USER_SYSTEM) { in removeUser() 538 if (userId != USER_SYSTEM && userId != mInitialUserId) { in removeTestAddedUser()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 143 UserHandle.USER_SYSTEM); in getSettingsPackageName()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/ |
D | DeviceTest.java | 66 UserHandle.USER_SYSTEM); in getTelecomPkgName()
|