Home
last modified time | relevance | path

Searched refs:oldType (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1102 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/
DTelephonyProvider.java2262 String oldType = oldRow.getString(oldRow.getColumnIndex(TYPE)); in mergeFieldsAndUpdateDb() local
2265 if (!oldType.equalsIgnoreCase(newType)) { in mergeFieldsAndUpdateDb()
2266 if (oldType.equals("") || newType.equals("")) { in mergeFieldsAndUpdateDb()
2269 String[] oldTypes = oldType.toLowerCase().split(","); in mergeFieldsAndUpdateDb()
2274 oldType + " old bearer=" + oldRow.getInt(oldRow.getColumnIndex( in mergeFieldsAndUpdateDb()