HomeSort by relevance Sort by last modified time
    Searched refs:ClosableAccount (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
Utils.java 86 public static class ClosableAccount implements AutoCloseable {
89 private ClosableAccount(@NonNull Account account) {
102 public static ClosableAccount withAccount(@NonNull Activity activity)
114 return new ClosableAccount(addedAccount);
  /cts/tests/tests/content/src/android/content/cts/
DeferSyncTest.java 92 try (Utils.ClosableAccount ignored = withAccount(activity.getActivity())) {
115 try (Utils.ClosableAccount account = withAccount(activity.getActivity())) {
140 try (Utils.ClosableAccount ignored = withAccount(activity.getActivity())) {
165 try (Utils.ClosableAccount ignored = withAccount(activity.getActivity())) {
191 try (Utils.ClosableAccount account1 = withAccount(activity.getActivity())) {
192 try (Utils.ClosableAccount account2 = withAccount(activity.getActivity())) {

Completed in 110 milliseconds