/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 51 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/ |
D | Utils.java | 33 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/ |
D | Utils.java | 38 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()
|
D | BaseAppSecurityTest.java | 48 if (mPrimaryUserId != Utils.USER_SYSTEM) { in setUpBaseAppSecurityTest() 49 mFixedUsers.add(Utils.USER_SYSTEM); in setUpBaseAppSecurityTest()
|
D | ExternalStorageHostTest.java | 456 if (user == Utils.USER_SYSTEM) { in testSecondaryUsersInaccessible()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | RestoreSessionHostSideTest.java | 43 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/ |
D | BaseMultiUserTest.java | 79 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/ |
D | BaseDevicePolicyTest.java | 71 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()
|
D | DeviceOwnerTest.java | 129 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/ |
D | ManualPackageInstallTest.java | 129 UserHandle.USER_SYSTEM); in getSettingsPackageName()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 128 UserHandle.USER_SYSTEM); in getSettingsPackageName()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 784 uid = pm.getPackageUidAsUser(packageName, UserHandle.USER_SYSTEM);
|