Home
last modified time | relevance | path

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

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBackupUtils.java76 public void backupNowAndAssertSuccessForUser(String packageName, int userId) in backupNowAndAssertSuccessForUser() argument
78 assertBackupIsSuccessful(packageName, backupNowForUser(packageName, userId)); in backupNowAndAssertSuccessForUser()
100 public void restoreAndAssertSuccessForUser(String token, String packageName, int userId) in restoreAndAssertSuccessForUser() argument
102 assertRestoreIsSuccessful(restoreForUser(token, packageName, userId)); in restoreAndAssertSuccessForUser()
122 public boolean isLocalTransportSelectedForUser(int userId) throws IOException { in isLocalTransportSelectedForUser() argument
123 return getShellCommandOutput(String.format("bmgr --user %d list transports", userId)) in isLocalTransportSelectedForUser()
135 public boolean isBackupEnabledForUser(int userId) throws IOException { in isBackupEnabledForUser() argument
136 return getShellCommandOutput(String.format("bmgr --user %d enabled", userId)) in isBackupEnabledForUser()
163 private InputStream backupNowForUser(String packageName, int userId) throws IOException { in backupNowForUser() argument
165 String.format("bmgr --user %d backupnow %s", userId, packageName)); in backupNowForUser()
[all …]