/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 125 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser() 130 protected void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() 141 protected void startUser(int userId) throws Exception { in startUser() 145 protected void switchUser(int userId) throws Exception { in switchUser() 157 protected int getUserFlags(int userId) throws DeviceNotAvailableException { in getUserFlags() 183 protected void stopUser(int userId) throws Exception { in stopUser() 190 protected void removeUser(int userId) throws Exception { in removeUser() 211 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() 218 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() 225 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() [all …]
|
D | EphemeralUserTest.java | 41 int userId = createUser(FLAG_EPHEMERAL); in testCreateEphemeralUser() local 51 int userId = createUser(); in testCreateLongLivedUser() local 65 int userId = createUser(FLAG_EPHEMERAL); in testProfileInheritsEphemeral() local 78 int userId = createUser(FLAG_EPHEMERAL); in testRemoveEphemeralOnStop() local 94 int userId = createUser(FLAG_GUEST); in testEphemeralGuestFeature() local
|
D | DeviceOwnerTest.java | 114 int userId = -1; in testRemoteBugreportWithTwoUsers() local 154 int userId = createUser(); in testRemoveUsersOnSetForceEphemeralUsers() local 177 int userId = createUser(); in testRemoveUsersOnSetForceEphemeralUsersWithUserSwitch() local 214 int userId = createUser(); in testCreateUserAfterSetForceEphemeralUsers() local 293 int userId = -1; in testSecurityLoggingWithTwoUsers() local
|
D | UserRestrictionsTest.java | 59 @Nullable String method, int userId) throws DeviceNotAvailableException { in runTests() 63 private boolean runTests(@Nonnull String className, int userId) in runTests()
|
D | ManagedProfileTest.java | 291 private void testCrossProfileCopyPasteInternal(int userId, boolean shouldSucceed) in testCrossProfileCopyPasteInternal() 612 private void setDirectoryPrefix(String directoryName, int userId) in setDirectoryPrefix() 723 private void disableActivityForUser(String activityName, int userId) in disableActivityForUser() 733 private String changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser() 746 private String changeCrossProfileWidgetForUser(String packageName, String command, int userId) in changeCrossProfileWidgetForUser() 759 private void changeVerificationStatus(int userId, String packageName, String status) in changeVerificationStatus() 861 String testMethodName, Integer userId) throws DeviceNotAvailableException { in runDeviceTestsAsUser()
|
D | CustomManagedProfileTest.java | 51 private void assertIsProvisioningAllowed(boolean expected, int userId) in assertIsProvisioningAllowed()
|
D | CustomDeviceOwnerTest.java | 102 int userId = -1; in testCannotSetDeviceOwnerWhenSecondaryUserPresent() local
|
D | DeviceAndProfileOwnerTest.java | 557 private void changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser() 562 private void changeAccountManagement(String command, String accountType, int userId) in changeAccountManagement() 574 private void changePolicy(String command, String extras, int userId) in changePolicy()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 41 public static void runDeviceTests(ITestDevice device, String packageName, int userId) in runDeviceTests() 52 int userId) throws DeviceNotAvailableException { in runDeviceTests() 62 String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTests() 146 final int userId = Integer.parseInt( in createUserOnDevice() local 158 private static void removeUserOnDevice(ITestDevice device, int userId) in removeUserOnDevice()
|
D | ExternalStorageHostTest.java | 247 private void runDeviceTests(String packageName, String testClassName, int userId) in runDeviceTests() 249 Utils.runDeviceTests(getDevice(), packageName, testClassName, userId); in runDeviceTests() local 253 int userId) throws DeviceNotAvailableException { in runDeviceTests() 254 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTests() local
|
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/ |
D | NumberBlockingTest.java | 150 private void installTestAppForUser(int userId) throws Exception { in installTestAppForUser() 168 private void runTestAsUser(String className, String methodName, int userId) throws Exception { in runTestAsUser() 198 private void setTestAppAsDefaultSmsAppForUser(boolean setToSmsApp, int userId) in setTestAppAsDefaultSmsAppForUser() 207 private int getUserSerialNumber(int userId) throws DeviceNotAvailableException { in getUserSerialNumber()
|
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
D | ReadExternalStorageTest.java | 80 final String userId = Integer.toString(android.os.Process.myUid() / 100000); in testMountPointsNotWritable() local
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | BaseMultiUserTest.java | 69 protected int createRestrictedProfile(int userId) in createRestrictedProfile()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ExternalStorageTest.java | 86 final String userId = Integer.toString(android.os.Process.myUid() / 100000); in testMountPointsNotReadable() local
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteExternalStorageTest.java | 290 final String userId = Integer.toString(android.os.Process.myUid() / 100000); in testSecondaryMountPointsNotWritable() local
|
/cts/tests/tests/media/src/android/media/cts/ |
D | JetPlayerTest.java | 214 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate()
|