Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DExternalAccountTypeTest.java58 assertEquals(-1, ExternalAccountType.resolveExternalResId(c, null, packageName, "")); in testResolveExternalResId()
59 assertEquals(-1, ExternalAccountType.resolveExternalResId(c, "", packageName, "")); in testResolveExternalResId()
62 assertEquals(-1, ExternalAccountType.resolveExternalResId(c, "x", packageName, "")); in testResolveExternalResId()
65 assertEquals(-1, ExternalAccountType.resolveExternalResId(c, "@", packageName, "")); in testResolveExternalResId()
66 assertEquals(-1, ExternalAccountType.resolveExternalResId(c, "@a", packageName, "")); in testResolveExternalResId()
67 assertEquals(-1, ExternalAccountType.resolveExternalResId(c, "@a/b", packageName, "")); in testResolveExternalResId()
70 assertEquals(R.string.test_string, ExternalAccountType.resolveExternalResId(c, in testResolveExternalResId()
78 … final ExternalAccountType type = new ExternalAccountType(getInstrumentation().getTargetContext(), in testNoPackage()
88 … final ExternalAccountType type = new ExternalAccountType(getInstrumentation().getTargetContext(), in testEditSchema()
114 … final ExternalAccountType type = new ExternalAccountType(getInstrumentation().getTargetContext(), in testEditSchema_fallback()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DLocalizedNameResolver.java33 import com.android.contacts.common.model.account.ExternalAccountType;
79 final XmlResourceParser parser = ExternalAccountType.loadContactsXml(context, packageName); in resolveAllContactsNameFromMetaData()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExternalAccountType.java49 public class ExternalAccountType extends BaseAccountType { class
105 public ExternalAccountType(Context context, String resPackageName, boolean isExtension) { in ExternalAccountType() method in ExternalAccountType
115 ExternalAccountType(Context context, String packageName, boolean isExtension, in ExternalAccountType() method in ExternalAccountType
DSamsungAccountType.java85 && !ExternalAccountType.hasContactsXml(context, packageName); in isSamsungAccountType()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java50 import com.android.contacts.common.model.account.ExternalAccountType;
423 accountType = new ExternalAccountType(mContext, auth.packageName, false); in loadAccountsInBackground()
450 ExternalAccountType accountType = in loadAccountsInBackground()
451 new ExternalAccountType(mContext, extensionPackage, true); in loadAccountsInBackground()