/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | FieldProcessor.kt | 45 val affinity: SQLTypeAffinity? in process() constant 59 affinity = try { in process() 76 affinity = null in process() 89 affinity = affinity, in process() 97 field.affinity) in process() 100 field.affinity = adapter?.typeAffinity ?: field.affinity in process() 106 .findStatementValueBinder(field.type, field.affinity) in process() 112 .findCursorValueReader(field.type, field.affinity) in process()
|
D | EntityProcessor.kt | 120 val affinity = primaryKey.fields.firstOrNull()?.affinity ?: SQLTypeAffinity.TEXT in <lambda>() constant 122 !primaryKey.autoGenerateId || affinity == SQLTypeAffinity.INTEGER, in <lambda>() 258 && field.affinity != SQLTypeAffinity.INTEGER)) { in <lambda>()
|
D | PojoProcessor.kt | 382 affinity = null, in <lambda>() 476 affinity = null, in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
D | RelationCollector.kt | 52 val affinity: SQLTypeAffinity, in <lambda>() constant in androidx.room.vo.RelationCollector 105 val cursorGetter = when (affinity) { in <lambda>() 133 val parentAffinity = relation.parentField.cursorValueReader?.affinity() in <lambda>() 134 val childAffinity = relation.entityField.cursorValueReader?.affinity() in <lambda>() 135 val affinity = if (parentAffinity != null && parentAffinity == childAffinity) { in <lambda>() constant 146 val keyType = keyTypeFor(context, affinity) in <lambda>() 172 val keyTypeMirror = keyTypeMirrorFor(context, affinity) in <lambda>() 229 affinity = affinity, in <lambda>() 241 private fun keyTypeMirrorFor(context: Context, affinity: SQLTypeAffinity): TypeMirror { in <lambda>() 244 return when (affinity) { in <lambda>() [all …]
|
D | Field.kt | 31 var affinity: SQLTypeAffinity?, variable in androidx.room.vo.Field 134 affinity?.name ?: SQLTypeAffinity.TEXT.name, nonNull
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | FieldProcessorTest.kt | 98 private fun TypeKind.affinity(): SQLTypeAffinity { in <lambda>() method 118 affinity = primitive.affinity() in <lambda>() 132 affinity = primitive.affinity()))) in <lambda>() 149 affinity = SQLTypeAffinity.INTEGER))) in <lambda>() 164 affinity = SQLTypeAffinity.INTEGER, in <lambda>() 186 affinity = SQLTypeAffinity.TEXT))) in <lambda>() 202 affinity = if (primitive == TypeKind.BYTE) { in <lambda>() 221 affinity = SQLTypeAffinity.TEXT))) in <lambda>() 239 affinity = SQLTypeAffinity.INTEGER))) in <lambda>() 348 affinity = SQLTypeAffinity.TEXT))) in <lambda>()
|
D | EntityNameMatchingVariationsTest.kt | 71 affinity = SQLTypeAffinity.INTEGER))) in <lambda>()
|
D | PojoProcessorTest.kt | 608 affinity = SQLTypeAffinity.TEXT, in <lambda>()
|
D | QueryMethodProcessorTest.kt | 97 affinity = null in <lambda>()
|
D | EntityProcessorTest.kt | 55 affinity = SQLTypeAffinity.INTEGER))) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 170 float affinity = affinityOut[0]; in getContactAffinity() local 192 + "Returning affinity=" + affinity, e); in getContactAffinity() 193 return affinity; in getContactAffinity() 196 affinity = Math.max(prr.getContactAffinity(), affinity); in getContactAffinity() 198 return affinity; in getContactAffinity() 221 final float affinity = affinityOut[0]; in validatePeople() local 222 record.setContactAffinity(affinity); in validatePeople() 224 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople() 234 float affinity = NONE; in validatePeople() local 259 affinity = Math.max(affinity, lookupResult.getAffinity()); in validatePeople() [all …]
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/ |
D | TypeAdapterStore.kt | 159 affinity: SQLTypeAffinity? in <lambda>() 164 val adapter = findDirectAdapterFor(input, affinity) in <lambda>() 168 val targetTypes = targetTypeMirrorsFor(affinity) in <lambda>() 180 private fun targetTypeMirrorsFor(affinity: SQLTypeAffinity?): List<TypeMirror> { in <lambda>() 181 val specifiedTargets = affinity?.getTypeMirrors(context.processingEnv) in <lambda>() 192 fun findCursorValueReader(output: TypeMirror, affinity: SQLTypeAffinity?): CursorValueReader? { in <lambda>() 196 val adapter = findColumnTypeAdapter(output, affinity) in <lambda>() 202 val targetTypes = targetTypeMirrorsFor(affinity) in <lambda>() 234 fun findColumnTypeAdapter(out: TypeMirror, affinity: SQLTypeAffinity?): ColumnTypeAdapter? { in <lambda>() 238 val adapter = findDirectAdapterFor(out, affinity) in <lambda>() [all …]
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
D | FieldBundle.java | 40 public FieldBundle(String fieldPath, String columnName, String affinity, boolean nonNull) { in FieldBundle() argument 43 mAffinity = affinity; in FieldBundle()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/ |
D | DatabaseVerifierTest.kt | 229 private fun field(name: String, type: TypeMirror, affinity: SQLTypeAffinity): Field { in <lambda>() 237 affinity = affinity, in <lambda>() 238 collate = if (useLocalizedCollation && affinity == SQLTypeAffinity.TEXT) { in <lambda>()
|
/frameworks/support/room/runtime/src/main/java/androidx/room/util/ |
D | TableInfo.java | 326 public final int affinity; field in TableInfo.Column 352 this.affinity = findAffinity(type); in Column() 403 return affinity == column.affinity; in equals() 418 result = 31 * result + affinity; in hashCode() 429 + ", affinity='" + affinity + '\'' in toString()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/ |
D | CursorValueReader.kt | 28 fun affinity(): SQLTypeAffinity method
|
D | ColumnTypeAdapter.kt | 30 override fun affinity(): SQLTypeAffinity = typeAffinity method in androidx.room.solver.types.ColumnTypeAdapter
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | TaskRecord.java | 202 String affinity; // The affinity name for this task, or null; may change identity. field in TaskRecord 391 affinity = _affinity; in TaskRecord() 806 affinity = info.taskAffinity; in setIntent() 811 rootAffinity = affinity; in setIntent() 1938 if (affinity != null || rootAffinity != null) { in dump() 1939 pw.print(prefix); pw.print("affinity="); pw.print(affinity); in dump() 1940 if (affinity == null || !affinity.equals(rootAffinity)) { in dump() 2046 if (affinity != null) { in toString() 2048 sb.append(affinity); in toString() 2127 if (affinity != null) { in saveToXml() [all …]
|
D | RecentTasks.java | 1266 task.affinity != null && task.affinity.equals(tr.affinity); in findRemoveIndexForAddTask()
|
D | ActivityStack.java | 3076 && !target.taskAffinity.equals(task.affinity)) { in resetTargetTaskIfNeededLocked() 3088 && target.taskAffinity.equals(bottom.getTask().affinity)) { in resetTargetTaskIfNeededLocked() 3191 final String taskAffinity = task.affinity; in resetAffinityTaskIfNeededLocked() 3905 if (srec == null || srec.getTask().affinity == null || in shouldUpRecreateTaskLocked() 3906 !srec.getTask().affinity.equals(destAffinity)) { in shouldUpRecreateTaskLocked() 3927 if (!task.affinity.equals(prevTask.affinity)) { in shouldUpRecreateTaskLocked()
|
D | ActivityManagerService.java | 17736 pw.print("TASK "); pw.print(lastTask.affinity); in dumpActivity()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/vo/ |
D | IndexTest.kt | 50 affinity = SQLTypeAffinity.TEXT, in mockField()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | TableInfoValidationWriter.kt | 51 /*type*/ field.affinity?.name ?: SQLTypeAffinity.TEXT.name, in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | TaskRecordTests.java | 184 Intent affinityIntent, String affinity, String rootAffinity, in create() argument
|
D | RecentTasksTest.java | 796 task.affinity = null; in createDocumentTask()
|