Home
last modified time | relevance | path

Searched refs:mTableName (Results 1 – 20 of 20) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/
DIndexInfo.java29 private final String mTableName; field in IndexInfo
36 mTableName = builder.mTableName; in IndexInfo()
44 private final String mTableName; field in IndexInfo.Builder
50 mTableName = tableName; in Builder()
89 return mTableName; in getTableName()
114 && mTableName.equals(expectedIndex.mTableName) in isEqual()
DTableInfo.java29 private final String mTableName; field in TableInfo
40 mTableName = builder.mTableName; in TableInfo()
49 private final String mTableName; field in TableInfo.Builder
60 mTableName = tableName; in Builder()
112 return mTableName; in getTableName()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailStatusTable.java60 private final String mTableName; field in VoicemailStatusTable
67 mTableName = tableName; in VoicemailStatusTable()
80 .update(uriData.getUri(), mTableName, values, combinedClause, null); in insert()
83 Cursor c = db.query(mTableName, selection, combinedClause, null, null, null, null); in insert()
91 long rowId = createDatabaseModifier(db).insert(mTableName, null, copiedValues); in insert()
117 return createDatabaseModifier(db).delete(mTableName, combinedClause, in delete()
127 qb.setTables(mTableName); in query()
149 .update(uriData.getUri(), mTableName, values, combinedClause, selectionArgs); in update()
168 return new DbModifierWithNotification(mTableName, db, mContext); in createDatabaseModifier()
173 return mDbHelper.selectDistinctColumn(mTableName, Status.SOURCE_PACKAGE); in getSourcePackages()
DVoicemailContentTable.java90 private final String mTableName; field in VoicemailContentTable
99 mTableName = tableName; in VoicemailContentTable()
192 long rowId = modifier.insert(mTableName, null, copiedValues); in insertRow()
227 db.update(mTableName, values, UriData.createUriData(newUri).getWhereClause(), null); in updateVoicemailUri()
260 return createDatabaseModifier(db).delete(mTableName, combinedClause, in delete()
268 qb.setTables(mTableName); in query()
294 … return createDatabaseModifier(db).update(uriData.getUri(), mTableName, values, combinedClause, in update()
322 return mDbHelper.selectDistinctColumn(mTableName, Voicemails.SOURCE_PACKAGE); in getSourcePackages()
331 return new DbModifierWithNotification(mTableName, db, mContext); in createDatabaseModifier()
DDbModifierWithNotification.java67 private final String mTableName; field in DbModifierWithNotification
96 mTableName = tableName; in DbModifierWithNotification()
101 mBaseUri = mTableName.equals(Tables.VOICEMAIL_STATUS) ? in DbModifierWithNotification()
103 mIsCallsTable = mTableName.equals(Tables.CALLS); in DbModifierWithNotification()
209 qb.setTables(mTableName); in update()
291 qb.setTables(mTableName); in delete()
344 Cursor cursor = mDb.query(mTableName, PROJECTION, in getModifiedPackages()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DCreateTableRequest.java45 private final String mTableName; field in CreateTableRequest
54 mTableName = tableName; in CreateTableRequest()
59 return mTableName; in getTableName()
96 builder.append(mTableName); in getCreateCommand()
180 + mTableName in getCreateIndexCommand()
190 + mTableName in getCreateIndexCommand()
194 + mTableName in getCreateIndexCommand()
210 return Objects.equals(mTableName, that.mTableName) in equals()
222 mTableName, in hashCode()
301 return getCreateIndexCommand(mTableName + "_" + fkNumber, mColumnNames); in getFkIndexStatement()
DDeleteTableRequest.java47 private final String mTableName; field in DeleteTableRequest
68 mTableName = tableName; in DeleteTableRequest()
76 mTableName = tableName; in DeleteTableRequest()
143 return mTableName; in getTableName()
157 return "DELETE FROM " + mTableName + getWhereCommand(); in getDeleteCommand()
166 + mTableName in getReadCommand()
181 + mTableName in getWhereCommand()
DDropTableRequest.java25 private final String mTableName; field in DropTableRequest
29 mTableName = tableName; in DropTableRequest()
33 return DROP_TABLE_COMMAND + mTableName + ";"; in getDropTableCommand()
DCreateIndexRequest.java30 private final String mTableName; field in CreateIndexRequest
40 mTableName = tableName; in CreateIndexRequest()
58 .append(mTableName) in getCommand()
DReadTableRequest.java47 private final String mTableName; field in ReadTableRequest
62 mTableName = tableName; in ReadTableRequest()
116 builder.append(mTableName); in getReadCommand()
162 return mTableName; in getTableName()
DAlterTableRequest.java36 private final String mTableName; field in AlterTableRequest
42 mTableName = tableName; in AlterTableRequest()
60 builder.append(mTableName); in getAlterTableAddColumnsCommand()
DAggregateParams.java36 private final String mTableName; field in AggregateParams
61 mTableName = tableName; in AggregateParams()
75 return mTableName; in getTableName()
DAggregateTableRequest.java66 private final String mTableName; field in AggregateTableRequest
97 mTableName = params.getTableName(); in AggregateTableRequest()
322 builder.append(" FROM ").append(mTableName); in appendAggregateCommand()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/util/
DSQLiteCacheHelper.java21 private final String mTableName; field in SQLiteCacheHelper
30 mTableName = tableName; in SQLiteCacheHelper()
44 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs); in delete()
61 mTableName, null, values, SQLiteDatabase.CONFLICT_REPLACE); in insertOrReplace()
79 mTableName, columns, selection, selectionArgs, null, null, null); in query()
121 db.execSQL("DROP TABLE IF EXISTS " + mTableName); in clearDB()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/vendor/
DOnDevicePersonalizationLocalDataDao.java57 private final String mTableName; field in OnDevicePersonalizationLocalDataDao
65 this.mTableName = getTableName(owner, certDigest); in OnDevicePersonalizationLocalDataDao()
137 mTableName)); in createTableIfNotExists()
139 sLogger.e(TAG + ": Failed to create table: " + mTableName, e); in createTableIfNotExists()
193 mTableName, in readSingleLocalDataRow()
244 return db.insertWithOnConflict(mTableName, null, in updateOrInsertLocalData()
267 return db.delete(mTableName, whereClause, selectionArgs) == 1; in deleteLocalDataRow()
285 mTableName, in readAllLocalDataKeys()
DOnDevicePersonalizationVendorDataDao.java63 private final String mTableName; field in OnDevicePersonalizationVendorDataDao
74 this.mTableName = getTableName(owner, certDigest); in OnDevicePersonalizationVendorDataDao()
249 mTableName, in readAllVendorData()
278 mTableName, in readSingleVendorDataRow()
318 mTableName, in readAllVendorDataKeys()
351 if (!createTableIfNotExists(mTableName)) { in batchUpdateOrInsertVendorDataTransaction()
383 return db.delete(mTableName, whereClause, in deleteUnretainedRows()
411 return db.insertWithOnConflict(mTableName, null, in updateOrInsertVendorData()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/
DDropTableRequest.java21 private final String mTableName; field in DropTableRequest
24 mTableName = tableName; in DropTableRequest()
28 return "DROP TABLE IF EXISTS '" + mTableName + "'"; in getCommand()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java45 private final String mTableName; field in EntrySchema
53 mTableName = parseTableName(clazz); in EntrySchema()
74 return mTableName; in getTableName()
264 return db.query(mTableName, mProjection, null, null, null, null, null); in queryAll()
268 Cursor cursor = db.query(mTableName, mProjection, "_id=?", in queryWithId()
285 long id = db.replace(mTableName, "_id", values); in insertOrReplace()
291 return db.delete(mTableName, "_id=?", new String[] { Long.toString(id) }) == 1; in deleteWithId()
296 String tableName = mTableName; in createTables()
424 String tableName = mTableName; in dropTables()
443 sql.append(mTableName); in deleteAll()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationUtil.java206 removeEntryFromDb(destReader.mDb, destReader.mTableName, toBeRemoved); in migrate()
369 insertEntryInDb(helper, entry, srcReader.mTableName, destReader.mTableName); in solveGridPlacement()
425 insertEntryInDb(helper, entry, srcReader.mTableName, destReader.mTableName); in solveHotseatPlacement()
435 private final String mTableName; field in GridSizeMigrationUtil.DbReader
446 mTableName = tableName; in DbReader()
509 removeEntryFromDb(mDb, mTableName, entriesToRemove); in loadHotseatEntries()
617 removeEntryFromDb(mDb, mTableName, entriesToRemove); in loadAllWorkspaceEntries()
639 removeEntryFromDb(mDb, mTableName, IntArray.wrap(c.getInt(0))); in getFolderItemsCount()
647 return mDb.query(mTableName, columns, where, null, null, null, null); in queryWorkspace()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelper.java923 this.mTableName = tableName; in TableColumnPair()
928 return mTableName; in getTableName()
935 private final String mTableName; field in RecordHelper.TableColumnPair