Searched defs:entity (Results 1 - 19 of 19) sorted by relevance

/frameworks/support/room/common/src/main/java/androidx/room/
H A DForeignKey.java32 * index in the parent entity that covers the referenced columns (Room will verify this at compile
56 Class entity(); method in interface:ForeignKey
82 * @return The action to take when the referenced entity is deleted from the database.
91 * @return The action to take when the referenced entity is updated in the database.
156 * entity that was associated with the deleted parent row is also deleted. For an
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DEntityDeletionOrUpdateAdapter.java23 * Implementations of this class knows how to delete or update a particular entity.
27 * @param <T> The type parameter of the entity to be deleted
34 * Creates a DeletionOrUpdateAdapter that can delete or update the entity type T on the given
52 * Binds the entity into the given statement.
56 * @param entity The entity of type T.
58 protected abstract void bind(SupportSQLiteStatement statement, T entity); argument
63 * @param entity The entity to delete or update
66 public final int handle(T entity) { argument
[all...]
H A DEntityInsertionAdapter.java27 * Implementations of this class knows how to insert a particular entity.
31 * @param <T> The type parameter of the entity to be inserted
38 * Creates an InsertionAdapter that can insert the entity type T into the given database.
47 * Binds the entity into the given statement.
51 * @param entity The entity of type T.
53 protected abstract void bind(SupportSQLiteStatement statement, T entity); argument
56 * Inserts the entity into the database.
58 * @param entity The entity t
60 insert(T entity) argument
110 insertAndReturnId(T entity) argument
[all...]
/frameworks/base/core/java/android/view/textclassifier/
H A DEntityConfidence.java33 * Helper object for setting and getting entity scores for classified text.
51 * Constructs an EntityConfidence from a map of entity to confidence.
55 * @param source a map from entity to a confidence value in the range 0 (low confidence) to
80 * Returns the confidence score for the specified entity. The value ranges from
81 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
85 public float getConfidenceScore(String entity) { argument
86 if (mEntityConfidence.containsKey(entity)) {
87 return mEntityConfidence.get(entity);
H A DTextSelection.java76 * Returns the entity at the specified index. Entities are ordered from high confidence
89 * Returns the confidence score for the specified entity. The value ranges from
90 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
94 public float getConfidenceScore(@EntityType String entity) { argument
95 return mEntityConfidence.getConfidenceScore(entity);
138 * Sets an entity type for the classified text and assigns a confidence score.
141 * 0 implies the entity does not exist for the classified text.
H A DTextClassification.java166 * Returns the entity at the specified index. Entities are ordered from high confidence
178 * Returns the confidence score for the specified entity. The value ranges from
179 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
183 public float getConfidenceScore(@EntityType String entity) { argument
184 return mEntityConfidence.getConfidenceScore(entity);
373 * Sets an entity type for the classification result and assigns a confidence score.
374 * If a confidence score had already been set for the specified entity type, this will
378 * 0 implies the entity does not exist for the classified text.
/frameworks/support/room/compiler/src/test/data/daoWriter/input/
H A DDeletionDao.java38 int multiPKey(MultiPKeyEntity entity); argument
H A DUpdateDao.java38 int multiPKey(MultiPKeyEntity entity); argument
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java31 * onBackup()} implementation. An entity is composed of a descriptive header plus a
34 * The agent must consume every entity in the data stream, otherwise the
51 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once
95 * Extract the next entity header from the restore stream. After this method
97 * be used to inspect the entity that is now available for processing.
99 * @return <code>true</code> when there is an entity ready for consumption from the
121 * Report the key associated with the current entity in the restore stream
122 * @return the current entity's key string
134 * Report the size in bytes of the data associated with the current entity in the
152 * must be read in a single call. Once all of the raw data for the current entity
195 readNextHeader_native(long mBackupReader, EntityHeader entity) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp52 readNextHeader_native(JNIEnv* env, jobject clazz, jlong r, jobject entity) argument
78 // TODO: Set the fields in the entity object
80 env->SetObjectField(entity, s_keyField, keyStr);
81 env->SetIntField(entity, s_dataSizeField, dataSize);
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
H A DDeletionDao.java165 public int multiPKey(MultiPKeyEntity entity) { argument
169 _total +=__deletionAdapterOfMultiPKeyEntity.handle(entity);
H A DUpdateDao.java187 public int multiPKey(MultiPKeyEntity entity) { argument
191 _total +=__updateAdapterOfMultiPKeyEntity.handle(entity);
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
H A DEntityConfidence.java36 * Helper object for setting and getting entity scores for classified text.
55 * Constructs an EntityConfidence from a map of entity to confidence.
59 * @param source a map from entity to a confidence value in the range 0 (low confidence) to
84 * Returns the confidence score for the specified entity. The value ranges from
85 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
89 public float getConfidenceScore(String entity) { argument
90 if (mEntityConfidence.containsKey(entity)) {
91 return mEntityConfidence.get(entity);
H A DTextSelection.java77 * Returns the entity at the specified index. Entities are ordered from high confidence
89 * Returns the confidence score for the specified entity. The value ranges from
90 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
94 public float getConfidenceScore(@EntityType String entity) { argument
95 return mEntityConfidence.getConfidenceScore(entity);
173 * Sets an entity type for the classified text and assigns a confidence score.
176 * 0 implies the entity does not exist for the classified text.
H A DTextClassification.java127 * Returns the entity at the specified index. Entities are ordered from high confidence
139 * Returns the confidence score for the specified entity. The value ranges from
140 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
144 public float getConfidenceScore(@EntityType String entity) { argument
145 return mEntityConfidence.getConfidenceScore(entity);
415 * Sets an entity type for the classification result and assigns a confidence score.
416 * If a confidence score had already been set for the specified entity type, this will
420 * 0 implies the entity does not exist for the classified text.
/frameworks/base/libs/androidfw/include/androidfw/
H A DBackupHelpers.h79 * entity-structured. If the implementation here is changed, either this
131 entity_header_v1 entity; member in union:android::BackupDataReader::__anon945
/frameworks/support/room/testing/src/main/java/androidx/room/testing/
H A DMigrationTestHelper.java325 private static Map<String, TableInfo.Column> toColumnMap(EntityBundle entity) { argument
327 for (FieldBundle bundle : entity.getFields()) {
328 TableInfo.Column column = toColumn(entity, bundle);
334 private static TableInfo.Column toColumn(EntityBundle entity, FieldBundle field) { argument
336 field.isNonNull(), findPrimaryKeyPosition(entity, field));
339 private static int findPrimaryKeyPosition(EntityBundle entity, FieldBundle field) { argument
340 List<String> columnNames = entity.getPrimaryKey().getColumnNames();
368 for (EntityBundle entity : tables.values()) {
369 final TableInfo expected = toTableInfo(entity);
370 final TableInfo found = TableInfo.read(db, entity
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jar ... .SAXException char[] buff int offset int length public void entity (char[], int, int) throws org.xml.sax. ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 3064 milliseconds