Home
last modified time | relevance | path

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

/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java51 private static final int USER_SYSTEM = 0; field in AppBindingHostTest
337 installAndCheckBound(APK_1, PACKAGE_A, SERVICE_1, USER_SYSTEM); in testSimpleBind1()
349 installAndCheckBound(APK_2, PACKAGE_A, SERVICE_2, USER_SYSTEM); in testSimpleBind2()
361 installAndCheckBound(APK_B, PACKAGE_B, SERVICE_1, USER_SYSTEM); in testSimpleBindB()
373 installAndCheckNotBound(APK_3, PACKAGE_A, USER_SYSTEM, in testSimpleNotBound3()
386 installAndCheckNotBound(APK_4, PACKAGE_A, USER_SYSTEM, "More than one"); in testSimpleNotBound4()
398 installAndCheckNotBound(APK_5, PACKAGE_A, USER_SYSTEM, in testSimpleNotBound5()
411 installAndCheckNotBound(APK_6, PACKAGE_A, USER_SYSTEM, in testSimpleNotBound6()
425 installAndCheckBound(APK_1, PACKAGE_A, SERVICE_1, USER_SYSTEM); in testUpgrade()
426 installAndCheckBound(APK_2, PACKAGE_A, SERVICE_2, USER_SYSTEM); in testUpgrade()
[all …]
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java33 public static final int USER_SYSTEM = 0; field in Utils
37 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
43 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
148 primary = USER_SYSTEM; in getAllUsers()
152 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java38 public static final int USER_SYSTEM = 0; field in Utils
55 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
61 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
167 primary = USER_SYSTEM; in getAllUsers()
171 if ((user != USER_SYSTEM) && (user != primary)) { in getAllUsers()
DBaseAppSecurityTest.java48 if (mPrimaryUserId != Utils.USER_SYSTEM) { in setUpBaseAppSecurityTest()
49 mFixedUsers.add(Utils.USER_SYSTEM); in setUpBaseAppSecurityTest()
DExternalStorageHostTest.java456 if (user == Utils.USER_SYSTEM) { in testSecondaryUsersInaccessible()
/cts/hostsidetests/backup/src/android/cts/backup/
DRestoreSessionHostSideTest.java43 private static final int USER_SYSTEM = 0; field in RestoreSessionHostSideTest
165 return mBackupUtils.setBackupTransportForUser(transport, USER_SYSTEM); in setBackupTransport()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java79 protected static final int USER_SYSTEM = 0; field in BaseMultiUserTest
110 mExistingUsers.add(USER_SYSTEM); in setUp()
228 if (getDevice().listUsers().contains(userId) && userId != USER_SYSTEM in removeUser()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java71 protected static final int USER_SYSTEM = 0; // From the UserHandle class. field in BaseDevicePolicyTest
200 if (mPrimaryUserId != USER_SYSTEM) { in setUp()
201 mFixedUsers.add(USER_SYSTEM); in setUp()
216 switchUser(USER_SYSTEM); in setUp()
422 if (listUsers().contains(userId) && userId != USER_SYSTEM) { in removeUser()
DDeviceOwnerTest.java129 switchUser(USER_SYSTEM); in tearDown()
1005 String mSerialNumber = Integer.toString(getUserSerialNumber(USER_SYSTEM)); in testNoHiddenActivityFoundTest()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java129 UserHandle.USER_SYSTEM); in getSettingsPackageName()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java128 UserHandle.USER_SYSTEM); in getSettingsPackageName()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java784 uid = pm.getPackageUidAsUser(packageName, UserHandle.USER_SYSTEM);