Home
last modified time | relevance | path

Searched defs:userId (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java90 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException, in installAppAsUser()
106 protected void startUser(int userId) throws Exception { in startUser()
151 protected void removeUser(int userId) throws Exception { in removeUser()
178 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser()
185 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser()
191 @Nullable String testMethodName, @Nullable Integer userId) in runDeviceTests()
197 @Nullable String testMethodName, @Nullable Integer userId, @Nullable String params) in runDeviceTests()
228 @Nullable String testMethodName, int userId, String params) in doRunTestsAsUser()
316 protected int getUserSerialNumber(int userId) throws DeviceNotAvailableException{ in getUserSerialNumber()
335 protected boolean setProfileOwner(String componentName, int userId) in setProfileOwner()
[all …]
DManagedProfileTest.java274 private void testCrossProfileCopyPasteInternal(int userId, boolean shouldSucceed) in testCrossProfileCopyPasteInternal()
617 private void disableActivityForUser(String activityName, int userId) in disableActivityForUser()
627 private String changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser()
640 private String changeCrossProfileWidgetForUser(String packageName, String command, int userId) in changeCrossProfileWidgetForUser()
654 private void changeVerificationStatus(int userId, String packageName, String status) in changeVerificationStatus()
DCustomDeviceOwnerTest.java102 int userId = -1; in testCannotSetDeviceOwnerWhenSecondaryUserPresent() local
DDeviceAndProfileOwnerTest.java271 private void changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser()
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DUtils.java41 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()
144 final int userId = Integer.parseInt( in createUserOnDevice() local
156 private static void removeUserOnDevice(ITestDevice device, int userId) in removeUserOnDevice()
DExternalStorageHostTest.java240 private void runDeviceTests(String packageName, String testClassName, int userId) in runDeviceTests()
242 Utils.runDeviceTests(getDevice(), packageName, testClassName, userId); in runDeviceTests() local
246 int userId) throws DeviceNotAvailableException { in runDeviceTests()
247 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTests() local
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
DReadExternalStorageTest.java74 final String userId = Integer.toString(android.os.Process.myUid() / 100000); in testMountPointsNotWritable() local
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DExternalStorageTest.java86 final String userId = Integer.toString(android.os.Process.myUid() / 100000); in testMountPointsNotReadable() local
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java279 final String userId = Integer.toString(android.os.Process.myUid() / 100000); in testSecondaryMountPointsNotWritable() local
/cts/tests/tests/media/src/android/media/cts/
DJetPlayerTest.java205 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate()