Home
last modified time | relevance | path

Searched refs:defaultType (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java114 private static int getMediaType(String type, int defaultType) { in getMediaType() argument
115 if (type == null) return defaultType; in getMediaType()
123 return defaultType; in getMediaType()
131 private Path getAlbumPath(Uri uri, int defaultType) { in getAlbumPath() argument
134 defaultType); in getAlbumPath()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1104 int defaultType; in migratePostal() local
1106 defaultType = newDataKind.defaultValues.getAsInteger(StructuredPostal.TYPE); in migratePostal()
1108 defaultType = newDataKind.typeList.get(0).rawValue; in migratePostal()
1110 values.put(StructuredPostal.TYPE, defaultType); in migratePostal()
1279 Integer defaultType = null; in migrateGenericWithTypeColumn() local
1281 defaultType = newDataKind.defaultValues.getAsInteger(COLUMN_FOR_TYPE); in migrateGenericWithTypeColumn()
1286 if (defaultType != null) { in migrateGenericWithTypeColumn()
1287 allowedTypes.add(defaultType); in migrateGenericWithTypeColumn()
1288 typeSpecificMaxMap.put(defaultType, -1); in migrateGenericWithTypeColumn()
1300 if (defaultType == null) { in migrateGenericWithTypeColumn()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java1080 int defaultType = kind.defaultValues.getAsInteger(Im.TYPE); in testMigrateImFromGoogleToExchange() local
1084 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1089 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1094 assertEquals(defaultType, outputValues.getAsInteger(Im.TYPE).intValue()); in testMigrateImFromGoogleToExchange()
1161 int defaultType = Phone.TYPE_MOBILE; in testMigratePhoneFromGoogleToExchange() local
1170 assertEquals(defaultType, outputValues.getAsInteger(Phone.TYPE).intValue()); in testMigratePhoneFromGoogleToExchange()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java969 private void assertPersonIdConstraint(Uri uri, String typeColumn, int defaultType) { in assertPersonIdConstraint() argument
971 values.put(typeColumn, defaultType); in assertPersonIdConstraint()
981 String typeColumn, int defaultType, int otherType, String labelColumn) { in assertTypeAndLabelConstraints() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java10390 private static final int getDataUsageFeedbackType(String type, Integer defaultType) { in getDataUsageFeedbackType() argument
10400 if (defaultType != null) { in getDataUsageFeedbackType()
10401 return defaultType; in getDataUsageFeedbackType()
10406 private static final int getAggregationType(String type, Integer defaultType) { in getAggregationType() argument
10416 if (defaultType != null) { in getAggregationType()
10417 return defaultType; in getAggregationType()
/packages/apps/TV/libs/m2/
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...