Home | History | Annotate | Download | only in shortcuthost

Lines Matching refs:userId

98     protected void clearShortcuts(String packageName, int userId) throws Exception {
100 getDevice().executeShellCommand("cmd shortcut clear-shortcuts --user " + userId
104 protected void installAppAsUser(String appFileName, int userId) throws FileNotFoundException,
106 CLog.i("Installing app " + appFileName + " for user " + userId);
109 buildHelper.getTestFile(appFileName), true, true, userId, "-t");
110 assertNull("Failed to install " + appFileName + " for user " + userId + ": " + result,
120 String pkgName, @Nullable String testClassName, int userId)
122 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId);
127 String pkgName, @Nullable String testClassName, String testMethodName, int userId)
130 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params);
134 @Nullable String testMethodName, int userId,
153 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener));
187 for (int userId : getDevice().listUsers()) {
188 if (!mOriginalUsers.contains(userId)) {
189 getDevice().removeUser(userId);