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

  /packages/apps/Contacts/tests/src/com/android/contacts/model/account/
AccountTypeTest.java 23 import com.android.contacts.model.account.AccountType;
27 * Test case for {@link AccountType}.
42 assertEquals(DEFAULT, AccountType.getResourceText(c, null, -1, DEFAULT));
45 assertEquals(DEFAULT, AccountType.getResourceText(c, packageName, -1, DEFAULT));
50 AccountType.getResourceText(c, packageName, externalResID, DEFAULT));
55 AccountType.getResourceText(c, null, internalResId, DEFAULT));
59 * Verify if {@link AccountType#getInviteContactActionLabel} correctly gets the resource ID
60 * from {@link AccountType#getInviteContactActionResId}
68 AccountType accountType = new AccountType()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/account/
AccountType.java 51 public abstract class AccountType {
52 private static final String TAG = "AccountType";
57 public String accountType = null;
213 return getResourceText(context, syncAdapterPackageName, titleRes, accountType);
234 return AccountTypeWithDataSet.get(accountType, dataSet);
511 * Compare two {@link AccountType} by their {@link AccountType#getDisplayLabel} with the
514 public static class DisplayLabelComparator implements Comparator<AccountType> {
523 private String getDisplayLabel(AccountType type) {
529 public int compare(AccountType lhs, AccountType rhs)
    [all...]

Completed in 499 milliseconds