Searched refs:oldType (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceUtils.java | 389 final String oldType = amAccount.type; in updateAccountManagerType() local 395 asCalendarSyncAdapter(SyncState.CONTENT_URI, amName, oldType), in updateAccountManagerType() 396 new android.accounts.Account(amName, oldType)); in updateAccountManagerType() 408 new android.accounts.Account(amName, oldType)); in updateAccountManagerType() 433 moveCalendarData(context.getContentResolver(), amName, oldType, accountType); in updateAccountManagerType() local 434 moveContactsData(context.getContentResolver(), amName, oldType, accountType); in updateAccountManagerType() local 491 final String oldType, final String newType) { in moveCalendarData() argument 495 .appendQueryParameter(Calendars.ACCOUNT_TYPE, oldType) in moveCalendarData() 503 new String[] {name, oldType}); in moveCalendarData() 507 final String oldType, final String newType) { in moveContactsData() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 1102 final Integer oldType = values.getAsInteger(StructuredPostal.TYPE); in migratePostal() local 1103 if (!supportedTypes.contains(oldType)) { in migratePostal() 1111 if (oldType != null && oldType == StructuredPostal.TYPE_CUSTOM) { in migratePostal() 1325 final Integer oldType = entry.getAsInteger(COLUMN_FOR_TYPE); in migrateGenericWithTypeColumn() local 1327 if (!allowedTypes.contains(oldType)) { in migrateGenericWithTypeColumn() 1332 if (oldType != null && oldType == TYPE_CUSTOM) { in migrateGenericWithTypeColumn() 1340 typeForNewAccount = oldType; in migrateGenericWithTypeColumn()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 2157 String oldType = oldRow.getString(oldRow.getColumnIndex(TYPE)); in mergeFieldsAndUpdateDb() local 2160 if (!oldType.equalsIgnoreCase(newType)) { in mergeFieldsAndUpdateDb() 2161 if (oldType.equals("") || newType.equals("")) { in mergeFieldsAndUpdateDb() 2164 String[] oldTypes = oldType.toLowerCase().split(","); in mergeFieldsAndUpdateDb() 2169 oldType + " old bearer=" + oldRow.getInt(oldRow.getColumnIndex( in mergeFieldsAndUpdateDb()
|