HomeSort by relevance Sort by last modified time
    Searched refs:primaryKey (Results 1 - 25 of 35) sorted by null

1 2

  /frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
Entity.kt 28 val primaryKey: PrimaryKey, val indices: List<Index>,
41 identityKey.append(primaryKey)
50 val autoIncrement = primaryKey.autoGenerateId && primaryKey.fields.contains(it)
61 return if (primaryKey.fields.isEmpty() || primaryKey.autoGenerateId) {
64 val keys = primaryKey.fields.joinToString(", ") { "`${it.columnName}`" }
81 primaryKey.toBundle(),
86 return if (primaryKey.columnNames.size == columns.siz
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyDetector.java 96 Key primaryKey = null;
108 if (primaryKey == null || distance < minDistance
109 || key.getCode() > primaryKey.getCode()) {
111 primaryKey = key;
114 return primaryKey;
  /frameworks/base/cmds/statsd/src/condition/
StateTracker.cpp 142 HashableDimensionKey primaryKey;
144 if ((mPrimaryKeys.size() > 0 && !filterValues(mPrimaryKeys, event.getValues(), &primaryKey)) ||
152 hitGuardRail(primaryKey);
154 VLOG("StateTracker: key %s state %s", primaryKey.toString().c_str(), state.toString().c_str());
156 auto it = mSlicedState.find(primaryKey);
158 mSlicedState[primaryKey] = state;
165 mSlicedState[primaryKey] = state;
206 const auto& primaryKey = pair->second;
208 auto it = mSlicedState.find(primaryKey);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info_utils.h 62 const int primaryKey = inputCodes[i];
68 keyCount, x, y, primaryKey, locale, codeToKeyMap, proximities);
147 const int x, const int y, const int primaryKey, const std::vector<int> *locale,
151 proximities[insertPos++] = primaryKey;
162 if (c < KEYCODE_SPACE || c == primaryKey) {
181 AdditionalProximityChars::getAdditionalCharsSize(locale, primaryKey);
192 AdditionalProximityChars::getAdditionalChars(locale, primaryKey);
  /frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
EntityDeletionAdapterWriter.kt 46 entity.primaryKey.fields.joinToString(" AND ") {
61 val mapped = FieldWithIndex.byOrder(entity.primaryKey.fields)
EntityInsertionAdapterWriter.kt 44 val primitiveAutoGenerateField = if (entity.primaryKey.autoGenerateId) {
45 entity.primaryKey.fields.firstOrNull()?.let { field ->
EntityUpdateAdapterWriter.kt 48 } + " WHERE " + entity.primaryKey.fields.joinToString(" AND ") {
71 val mappedPrimaryKeys = entity.primaryKey.fields.mapIndexed { index, field ->
TableInfoValidationWriter.kt 53 /*pkeyPos*/ entity.primaryKey.fields.indexOf(field) + 1)
  /frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
EntityProcessorTest.kt 41 @PrimaryKey
58 assertThat(entity.primaryKey.fields, `is`(listOf(field)))
65 @PrimaryKey
76 @PrimaryKey
88 @PrimaryKey
100 @PrimaryKey
111 @PrimaryKey
122 @PrimaryKey
133 @PrimaryKey
146 @PrimaryKey
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockProvider.java 259 String primaryKey;
266 primaryKey = uri.getLastPathSegment();
268 where = AlarmsColumns._ID + "=" + primaryKey;
270 where = AlarmsColumns._ID + "=" + primaryKey + " AND (" + where + ")";
278 primaryKey = uri.getLastPathSegment();
280 where = InstancesColumns._ID + "=" + primaryKey;
282 where = InstancesColumns._ID + "=" + primaryKey + " AND (" + where + ")";
  /frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
EntityBundle.java 50 @SerializedName("primaryKey")
66 * @param primaryKey The primary key.
72 PrimaryKeyBundle primaryKey,
78 mPrimaryKey = primaryKey;
  /frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
EntityProcessor.kt 36 import androidx.room.vo.PrimaryKey
119 val primaryKey = findAndValidatePrimaryKey(pojo.fields, pojo.embeddedFields)
120 val affinity = primaryKey.fields.firstOrNull()?.affinity ?: SQLTypeAffinity.TEXT
122 !primaryKey.autoGenerateId || affinity == SQLTypeAffinity.INTEGER,
123 primaryKey.fields.firstOrNull()?.element ?: element,
128 checkIndicesForForeignKeys(entityForeignKeys, primaryKey, indices)
143 primaryKey = primaryKey,
151 primaryKey: PrimaryKey,
    [all...]
  /frameworks/support/room/compiler/src/test/kotlin/androidx/room/vo/
EntityTest.kt 79 primaryKey = PrimaryKey(mock(Element::class.java), emptyList(), false),
  /prebuilts/maven_repo/android/android/arch/persistence/room/migration/1.0.0/
migration-1.0.0.jar 
  /prebuilts/maven_repo/android/android/arch/persistence/room/migration/1.0.0-alpha10/
migration-1.0.0-alpha10.jar 
  /prebuilts/maven_repo/android/android/arch/persistence/room/migration/1.0.0-rc1/
migration-1.0.0-rc1.jar 
  /packages/apps/Car/Radio/libs/android-arch/room/
migration-1.1.0-beta3.jar 
  /prebuilts/sdk/current/androidx/m2repository/androidx/room/room-migration/2.0.0-alpha1/
room-migration-2.0.0-alpha1.jar 
  /prebuilts/sdk/current/extras/app-toolkit/m2repository/android/arch/persistence/room/migration/28.0.0/
migration-28.0.0.jar 
  /frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/
DatabaseVerifierTest.kt 30 import androidx.room.vo.PrimaryKey
223 primaryKey = PrimaryKey(null, fields.take(1), false),
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-dynamodb/1.11.18/
aws-java-sdk-dynamodb-1.11.18.jar 
  /external/guice/extensions/persist/lib/
hibernate-entitymanager.jar 
  /prebuilts/tools/common/m2/repository/org/apache/felix/maven-bundle-plugin/2.3.6/
maven-bundle-plugin-2.3.6.jar 
  /external/robolectric/v1/lib/main/
h2-1.2.147.jar 
  /prebuilts/maven_repo/android/android/arch/persistence/room/compiler/1.0.0/
compiler-1.0.0.jar 

Completed in 275 milliseconds

1 2