Searched refs:newAccountType (Results 1 – 3 of 3) sorted by relevance
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactModifierTests.java | 777 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange1() local 778 DataKind kind = newAccountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange1() 813 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange2() local 814 DataKind kind = newAccountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange2() 854 AccountType newAccountType = new GoogleAccountType(getContext(), ""); in testMigrateWithStructuredNameFromExchangeToGoogle() local 855 DataKind kind = newAccountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithStructuredNameFromExchangeToGoogle() 898 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigratePostalFromGoogleToExchange() local 899 DataKind kind = newAccountType.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromGoogleToExchange() 921 AccountType newAccountType = new GoogleAccountType(getContext(), ""); in testMigratePostalFromExchangeToGoogle() local 922 DataKind kind = newAccountType.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromExchangeToGoogle() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 158 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact() local 160 if (newAccountType.getCreateContactActivityClassName() != null) { in rebindEditorsForNewContact() 169 setStateForNewContact(newAccount, newAccountType, oldState, oldAccountType); in rebindEditorsForNewContact()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 974 AccountType oldAccountType, AccountType newAccountType) { in migrateStateForNewContact() argument 975 if (newAccountType == oldAccountType) { in migrateStateForNewContact() 978 for (DataKind kind : newAccountType.getSortedDataKinds()) { in migrateStateForNewContact() 998 for (DataKind kind : newAccountType.getSortedDataKinds()) { in migrateStateForNewContact()
|