Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DColumnSchemaTest.java48 ColumnSchema columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString() local
50 assertEquals(columnName + " " + "INTEGER", columnSchema.toString()); in testToString()
52 columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString()
54 assertEquals(columnName + " " + "REAL", columnSchema.toString()); in testToString()
56 columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString()
58 assertEquals(columnName + " " + "TEXT", columnSchema.toString()); in testToString()
60 columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString()
62 assertEquals(columnName + " " + "BLOB", columnSchema.toString()); in testToString()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DJoinedTableDao.java115 for (ColumnSchema columnSchema : columnSchemaList) { in validateColumns()
117 if (ODP_PROVIDED_COLUMNS.containsKey(columnSchema.getName())) { in validateColumns()
118 ColumnSchema expected = ODP_PROVIDED_COLUMNS.get(columnSchema.getName()); in validateColumns()
119 if (expected.getType() != columnSchema.getType()) { in validateColumns()
123 columnSchema.getName(), columnSchema.getType(), expected.getType()); in validateColumns()