Home
last modified time | relevance | path

Searched refs:foreignKeyInfo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DHealthConnectDatabaseSchemaParser.java253 String sqlForeignKeyStatement, ForeignKeyInfo.Builder foreignKeyInfo) { in setForeignKeyFlags() argument
260 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_DELETE_CASCADE); in setForeignKeyFlags()
263 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_DELETE_SET_NULL); in setForeignKeyFlags()
266 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_DELETE_SET_DEFAULT); in setForeignKeyFlags()
269 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_DELETE_RESTRICT); in setForeignKeyFlags()
272 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_UPDATE_CASCADE); in setForeignKeyFlags()
275 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_UPDATE_SET_NULL); in setForeignKeyFlags()
278 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_UPDATE_SET_DEFAULT); in setForeignKeyFlags()
281 foreignKeyInfo.addFlag(ForeignKeyInfo.ON_UPDATE_RESTRICT); in setForeignKeyFlags()
284 foreignKeyInfo.addFlag(ForeignKeyInfo.DEFERRABLE_FLAG); in setForeignKeyFlags()
[all …]
DDatabaseTestUtils.java380 ForeignKeyInfo foreignKeyInfo = in checkForeignKeyModification() local
382 String referTableName = foreignKeyInfo.getForeignKeyTableName(); in checkForeignKeyModification()
387 .get(foreignKeyInfo.getForeignKeyReferredColumnName()) in checkForeignKeyModification()
392 .contains(foreignKeyInfo.getForeignKeyReferredColumnName()) in checkForeignKeyModification()
469 ForeignKeyInfo foreignKeyInfo = foreignKeyList.get(foreignKeyName); in checkNewTableAddition() local
470 String referTableName = foreignKeyInfo.getForeignKeyTableName(); in checkNewTableAddition()
475 .get(foreignKeyInfo.getForeignKeyReferredColumnName()) in checkNewTableAddition()
484 .contains(foreignKeyInfo.getForeignKeyReferredColumnName()) in checkNewTableAddition()
DTableInfo.java85 @NonNull String foreignKeyName, @NonNull ForeignKeyInfo foreignKeyInfo) { in addForeignKeyInfoMapping() argument
87 Objects.requireNonNull(foreignKeyInfo); in addForeignKeyInfoMapping()
88 mForeignKeyNameForeignKeyInfoMap.put(foreignKeyName, foreignKeyInfo); in addForeignKeyInfoMapping()