Home
last modified time | relevance | path

Searched refs:newAccountType (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DRawContactModifierTests.java828 DataKind kind = newAccountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in testMigrateNameFromGoogleToExchange()
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()
953 DataKind kind = newAccountType.getKindForMimetype(Event.CONTENT_ITEM_TYPE); in testMigrateEventFromGoogleToExchange2()
985 DataKind kind = newAccountType.getKindForMimetype(Email.CONTENT_ITEM_TYPE); in testMigrateEmailFromGoogleToExchange()
1035 DataKind kind = newAccountType.getKindForMimetype(Im.CONTENT_ITEM_TYPE); in testMigrateImFromGoogleToExchange()
1102 DataKind kind = newAccountType.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testMigratePhoneFromGoogleToExchange()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactModifier.java962 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java1384 AccountType newAccountType = accountTypes.getAccountTypeForAccount(newAccount); in rebindEditorsForNewContact() local
1389 setStateForNewContact(newAccount, newAccountType, oldState, oldAccountType, in rebindEditorsForNewContact()