Searched defs:tableName (Results 1 - 11 of 11) sorted by relevance

/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DBundleUtil.java33 static String replaceTableName(String contents, String tableName) { argument
34 return contents.replace(TABLE_NAME_PLACEHOLDER, tableName);
H A DIndexBundle.java67 public String create(String tableName) { argument
68 return BundleUtil.replaceTableName(mCreateSql, tableName);
H A DEntityBundle.java44 @SerializedName("tableName")
63 * @param tableName The table name.
70 public EntityBundle(String tableName, String createSql, argument
75 mTableName = tableName;
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DIndexingTest.java46 tableName = "foo_table",
64 public String tableName; field in class:IndexingTest.IndexInfo
86 assertThat(info.tableName, is("foo_table"));
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDbHelper.java170 SQLiteDatabase db, String tableName, String column, String columnType,
172 Log.d(TAG, "Adding column " + column + " to " + tableName + ".");
174 String alterStr = "ALTER TABLE " + tableName + " ADD COLUMN " + column + " " + columnType;
169 addColumnToTable( SQLiteDatabase db, String tableName, String column, String columnType, String defaultStr) argument
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/
H A DSupportSQLiteQueryBuilder.java42 * @param tableName The table name(s) to query.
46 public static SupportSQLiteQueryBuilder builder(String tableName) { argument
47 return new SupportSQLiteQueryBuilder(tableName);
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
H A DWorkDatabaseMigrationTest.java247 private boolean checkExists(SupportSQLiteDatabase database, String tableName) { argument
250 cursor = database.query(String.format(CHECK_TABLE_NAME, tableName));
253 // Should fail with a SQLiteException (no such table: tableName)
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
H A DTableInfo.java135 * @param tableName The table name.
139 public static TableInfo read(SupportSQLiteDatabase database, String tableName) { argument
140 Map<String, Column> columns = readColumns(database, tableName);
141 Set<ForeignKey> foreignKeys = readForeignKeys(database, tableName);
142 Set<Index> indices = readIndices(database, tableName);
143 return new TableInfo(tableName, columns, foreignKeys, indices);
147 String tableName) {
150 Cursor cursor = database.query("PRAGMA foreign_key_list(`" + tableName + "`)");
210 String tableName) {
212 .query("PRAGMA table_info(`" + tableName
146 readForeignKeys(SupportSQLiteDatabase database, String tableName) argument
209 readColumns(SupportSQLiteDatabase database, String tableName) argument
240 readIndices(SupportSQLiteDatabase database, String tableName) argument
[all...]
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DInvalidationTracker.java134 final String tableName = tableNames[id].toLowerCase(Locale.US);
135 mTableIdLookup.put(tableName, id);
136 mTableNames[id] = tableName;
169 private static void appendTriggerName(StringBuilder builder, String tableName, argument
173 .append(tableName)
180 final String tableName = mTableNames[tableId];
185 appendTriggerName(stringBuilder, tableName, trigger);
191 final String tableName = mTableNames[tableId];
196 appendTriggerName(stringBuilder, tableName, trigger);
200 .append(tableName)
[all...]
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java1028 * @param tableName the name of the table to insert into
1030 public InsertHelper(SQLiteDatabase db, String tableName) { argument
1032 mTableName = tableName;
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java5078 private void logRecord(UserAccounts accounts, String action, String tableName) { argument
5079 logRecord(action, tableName, -1, accounts);
5082 private void logRecordWithUid(UserAccounts accounts, String action, String tableName, int uid) { argument
5083 logRecord(action, tableName, -1, accounts, uid);
5089 private void logRecord(String action, String tableName, long accountId, argument
5091 logRecord(action, tableName, accountId, userAccount, getCallingUid());
5097 private void logRecord(String action, String tableName, long accountId, argument
5102 private final String tableName;
5109 final String tableName,
5115 this.tableName
[all...]

Completed in 94 milliseconds