Home
last modified time | relevance | path

Searched refs:USER_SYSTEM (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java32 public static final int USER_SYSTEM = 0; field in Utils
36 runDeviceTests(device, packageName, null, null, USER_SYSTEM, null); in runDeviceTests()
46 runDeviceTests(device, packageName, testClassName, null, USER_SYSTEM, null); in runDeviceTests()
56 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
62 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
157 primary = USER_SYSTEM; in getAllUsers()
161 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
DBaseAppSecurityTest.java55 if (mPrimaryUserId != Utils.USER_SYSTEM) { in setUp()
56 mFixedUsers.add(Utils.USER_SYSTEM); in setUp()
DInstantAppUserTest.java47 private static final int USER_SYSTEM = 0; // From the UserHandle class. field in InstantAppUserTest
81 if (mPrimaryUserId != USER_SYSTEM) { in setUp()
82 mFixedUsers.add(USER_SYSTEM); in setUp()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java30 protected static final int USER_SYSTEM = 0; // From the UserHandle class. field in BaseMultiUserTest
56 if (mPrimaryUserId != USER_SYSTEM) { in setUp()
57 mFixedUsers.add(USER_SYSTEM); in setUp()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java80 protected static final int USER_SYSTEM = 0; field in BaseMultiUserTest
115 mExistingUsers.add(USER_SYSTEM); in setUp()
231 if (getDevice().listUsers().contains(userId) && userId != USER_SYSTEM in removeUser()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsSingleUserTest.java39 mSerialNumber = Integer.toString(getUserSerialNumber(USER_SYSTEM)); in setUp()
DBaseDevicePolicyTest.java52 protected static final int USER_SYSTEM = 0; // From the UserHandle class. field in BaseDevicePolicyTest
132 if (mPrimaryUserId != USER_SYSTEM) { in setUp()
133 mFixedUsers.add(USER_SYSTEM); in setUp()
243 if (listUsers().contains(userId) && userId != USER_SYSTEM) { in removeUser()
DDeviceOwnerTest.java79 switchUser(USER_SYSTEM); in tearDown()