Home
last modified time | relevance | path

Searched refs:oldType (Results 1 – 3 of 3) 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/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1016 int oldType = internalConfig.getDefaultSecurityParams().getSecurityType(); in mergeSecurityParamsListWithInternalWifiConfiguration() local
1018 if (oldType != newType) { in mergeSecurityParamsListWithInternalWifiConfiguration()
1021 } else if (externalConfig.isSecurityType(oldType)) { in mergeSecurityParamsListWithInternalWifiConfiguration()
1023 internalConfig.addSecurityParams(oldType); in mergeSecurityParamsListWithInternalWifiConfiguration()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java2487 String oldType = oldRow.getString(oldRow.getColumnIndex(TYPE)); in mergeFieldsAndUpdateDb() local
2490 if (!oldType.equalsIgnoreCase(newType)) { in mergeFieldsAndUpdateDb()
2491 if (oldType.equals("") || newType.equals("")) { in mergeFieldsAndUpdateDb()
2494 String[] oldTypes = oldType.toLowerCase().split(","); in mergeFieldsAndUpdateDb()
2499 oldType + " old bearer=" + oldRow.getInt(oldRow.getColumnIndex( in mergeFieldsAndUpdateDb()