/frameworks/support/room/runtime/src/main/java/androidx/room/ |
D | EntityInsertionAdapter.java | 75 public final void insert(T[] entities) { in insert() argument 78 for (T entity : entities) { in insert() 92 public final void insert(Iterable<T> entities) { in insert() argument 95 for (T entity : entities) { in insert() 126 public final long[] insertAndReturnIdsArray(Collection<T> entities) { in insertAndReturnIdsArray() argument 129 final long[] result = new long[entities.size()]; in insertAndReturnIdsArray() 131 for (T entity : entities) { in insertAndReturnIdsArray() 148 public final long[] insertAndReturnIdsArray(T[] entities) { in insertAndReturnIdsArray() argument 151 final long[] result = new long[entities.length]; in insertAndReturnIdsArray() 153 for (T entity : entities) { in insertAndReturnIdsArray() [all …]
|
D | EntityDeletionOrUpdateAdapter.java | 82 public final int handleMultiple(Iterable<T> entities) { in handleMultiple() argument 86 for (T entity : entities) { in handleMultiple() 102 public final int handleMultiple(T[] entities) { in handleMultiple() argument 106 for (T entity : entities) { in handleMultiple()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | ShortcutMethodProcessorTest.kt | 89 assertThat(shortcut.entities.size, `is`(1)) in <lambda>() 90 assertThat(shortcut.entities["user"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 106 assertThat(shortcut.entities.size, `is`(0)) in <lambda>() 126 assertThat(shortcut.entities.size, `is`(2)) in <lambda>() 127 assertThat(shortcut.entities["u1"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 128 assertThat(shortcut.entities["u1"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 149 assertThat(shortcut.entities.size, `is`(1)) in <lambda>() 150 assertThat(shortcut.entities["users"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 167 assertThat(shortcut.entities.size, `is`(1)) in <lambda>() 168 assertThat(shortcut.entities["users"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() [all …]
|
D | InsertionMethodProcessorTest.kt | 72 assertThat(insertion.entities.size, `is`(0)) in <lambda>() 89 assertThat(insertion.entities["user"]?.typeName, in <lambda>() 106 assertThat(insertion.entities.size, `is`(0)) in <lambda>() 126 assertThat(insertion.entities.size, `is`(2)) in <lambda>() 127 assertThat(insertion.entities["u1"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 128 assertThat(insertion.entities["u2"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 148 assertThat(insertion.entities.size, `is`(1)) in <lambda>() 149 assertThat(insertion.entities["users"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() 169 assertThat(insertion.entities.size, `is`(1)) in <lambda>() 170 assertThat(insertion.entities["users"]?.typeName, `is`(USER_TYPE_NAME)) in <lambda>() [all …]
|
D | DatabaseProcessorTest.kt | 157 assertThat(db.entities.size, `is`(1)) in <lambda>() 171 assertThat(db.entities.size, `is`(2)) in <lambda>() 173 assertThat(db.entities.map { it.type.toString() }, in <lambda>() 573 assertThat(insertionMethod?.entities?.values?.first(), sameInstance(adapterEntity)) in <lambda>() 580 assertThat(insertionMethod?.entities?.values?.first(), in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | DatabaseProcessor.kt | 63 val entities = processEntities(dbAnnotation, element) in <lambda>() constant 64 validateUniqueTableNames(element, entities) in <lambda>() 65 validateForeignKeys(element, entities) in <lambda>() 76 DatabaseVerifier.create(context, element, entities) in <lambda>() 96 validateUniqueDaoClasses(element, daoMethods, entities) in <lambda>() 97 validateUniqueIndices(element, entities) in <lambda>() 103 val hasForeignKeys = entities.any { it.foreignKeys.isNotEmpty() } in <lambda>() 109 entities = entities, in <lambda>() 116 private fun validateForeignKeys(element: TypeElement, entities: List<Entity>) { in <lambda>() 117 val byTableName = entities.associateBy { it.tableName } in <lambda>() [all …]
|
D | DeletionMethodProcessor.kt | 41 val (entities, params) = delegate.extractParams( in process() constant 49 entities = entities, in process()
|
D | UpdateMethodProcessor.kt | 50 val (entities, params) = delegate.extractParams( in process() constant 58 entities = entities, in process()
|
D | InsertionMethodProcessor.kt | 55 val (entities, params) = delegate.extractParams( in process() constant 80 entities = entities, in process()
|
D | ShortcutMethodProcessor.kt | 59 val entities = params in extractParams() constant 66 return Pair(entities, params) in extractParams()
|
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/ |
D | TextClassifier.java | 123 public EntityConfig includeEntities(String... entities) { in includeEntities() argument 124 mIncludedEntityTypes.addAll(Arrays.asList(entities)); in includeEntities() 131 public EntityConfig excludeEntities(String... entities) { in excludeEntities() argument 132 mExcludedEntityTypes.addAll(Arrays.asList(entities)); in excludeEntities() 140 ArrayList<String> entities = new ArrayList<>(); in getEntities() local 143 entities.add(entity); in getEntities() 147 if (!mExcludedEntityTypes.contains(entity) && !entities.contains(entity)) { in getEntities() 148 entities.add(entity); in getEntities() 151 return Collections.unmodifiableList(entities); in getEntities()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
D | Database.kt | 33 val entities: List<Entity>, in <lambda>() constant in androidx.room.vo.Database 49 DatabaseBundle(version, identityHash, entities.map(Entity::toBundle), in <lambda>() 60 idKey.appendSorted(entities) in <lambda>() 65 val entityDescriptions = entities in <lambda>() 68 val indexDescriptions = entities in <lambda>()
|
D | DeletionMethod.kt | 23 entities: Map<String, Entity>, returnCount: Boolean, 25 ) : ShortcutMethod(element, name, entities, returnCount, parameters)
|
D | UpdateMethod.kt | 23 entities: Map<String, Entity>, returnCount: Boolean, 26 element, name, entities, returnCount, parameters)
|
D | ShortcutMethod.kt | 25 val entities: Map<String, Entity>, val returnCount: Boolean, constant in androidx.room.vo.ShortcutMethod
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/ |
D | DatabaseVerifier.kt | 37 val connection: Connection, val context: Context, val entities: List<Entity>) { in <lambda>() constant in androidx.room.verifier.DatabaseVerifier 69 fun create(context: Context, element: Element, entities: List<Entity>): DatabaseVerifier? { in <lambda>() 72 DatabaseVerifier(connection, context, entities) in <lambda>() 97 entities.forEach { entity -> in <lambda>()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/ |
D | FunnyNamedDao.java | 36 void insert(FunnyNamedEntity... entities); in insert() argument 38 void delete(FunnyNamedEntity... entities); in delete() argument 40 void update(FunnyNamedEntity... entities); in update() argument
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/writer/ |
D | SQLiteOpenHelperWriterTest.kt | 67 .createQuery(database.entities.first()) in <lambda>() 86 .createQuery(database.entities.first()) in <lambda>() 105 .createQuery(database.entities.first()) in <lambda>() 125 .createQuery(database.entities.first()) in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/cache/ |
D | Cache.kt | 38 val entities: Bucket<EntityKey, Entity> = Bucket(parent?.entities) constant in androidx.room.processor.cache.Cache
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifier.java | 475 @NonNull Collection<String> entities) { in resolveEntityListModifications() 478 finalSet.addAll(entities); in resolveEntityListModifications() 563 final Collection<String> entities = request.getEntityConfig() in generateLegacyLinks() local 565 if (entities.contains(TextClassifier.TYPE_URL)) { in generateLegacyLinks() 568 if (entities.contains(TextClassifier.TYPE_PHONE)) { in generateLegacyLinks() 571 if (entities.contains(TextClassifier.TYPE_EMAIL)) { in generateLegacyLinks()
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
D | DatabaseBundle.java | 53 public DatabaseBundle(int version, String identityHash, List<EntityBundle> entities, in DatabaseBundle() argument 57 mEntities = entities; in DatabaseBundle()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/ |
D | DatabaseVerifierTest.kt | 71 userDb(invocation.context).entities)!! in <lambda>() 204 private fun database(vararg entities: Entity): Database { in <lambda>() 208 entities = entities.toList(), in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | DaoWriter.kt | 343 val entities = insertionMethod.entities in <lambda>() constant 345 val fields = entities.mapValues { in <lambda>() 433 val entities = method.entities in <lambda>() constant 435 if (entities.isEmpty()) { in <lambda>() 438 val fields = entities.mapValues { in <lambda>()
|
/frameworks/support/room/compiler/src/test/data/databasewriter/input/ |
D | ComplexDatabase.java | 22 @Database(entities = {User.class}, version = 1923)
|
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/database/ |
D | SampleDatabase.java | 25 @Database(entities = {Customer.class},
|