Searched refs:newAccountType (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 827 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateNameFromGoogleToExchange() local 828 DataKind kind = newAccountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in testMigrateNameFromGoogleToExchange() 863 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigratePostalFromGoogleToExchange() local 864 DataKind kind = newAccountType.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromGoogleToExchange() 886 AccountType newAccountType = new GoogleAccountType(getContext(), ""); in testMigratePostalFromExchangeToGoogle() local 887 DataKind kind = newAccountType.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromExchangeToGoogle() 928 private void testMigrateEventCommon(AccountType oldAccountType, AccountType newAccountType) { in testMigrateEventCommon() argument 929 DataKind kind = newAccountType.getKindForMimetype(Event.CONTENT_ITEM_TYPE); in testMigrateEventCommon() 952 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateEventFromGoogleToExchange2() local 953 DataKind kind = newAccountType.getKindForMimetype(Event.CONTENT_ITEM_TYPE); in testMigrateEventFromGoogleToExchange2() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 962 AccountType oldAccountType, AccountType newAccountType) { in migrateStateForNewContact() argument 963 if (newAccountType == oldAccountType) { in migrateStateForNewContact() 966 for (DataKind kind : newAccountType.getSortedDataKinds()) { in migrateStateForNewContact() 986 for (DataKind kind : newAccountType.getSortedDataKinds()) { in migrateStateForNewContact()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 1384 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact() local 1389 setStateForNewContact(newAccount, newAccountType, oldState, oldAccountType, in rebindEditorsForNewContact()
|