Home
last modified time | relevance | path

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

/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/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/
DGridSizeMigrationTaskV2.java397 insertEntryInDb(mDb, mContext, entry, mSrcReader.mTableName, in find()
398 mDestReader.mTableName); in find()
467 insertEntryInDb(mDb, mContext, entry, mSrcReader.mTableName, in find()
468 mDestReader.mTableName); in find()
491 private final String mTableName; field in GridSizeMigrationTaskV2.DbReader
505 mTableName = tableName; in DbReader()
567 removeEntryFromDb(mDb, mTableName, entriesToRemove); in loadHotseatEntries()
672 removeEntryFromDb(mDb, mTableName, entriesToRemove); in loadWorkspaceEntries()
694 removeEntryFromDb(mDb, mTableName, IntArray.wrap(c.getInt(0))); in getFolderItemsCount()
702 return mDb.query(mTableName, columns, where, null, null, null, null); in queryWorkspace()
DGridSizeMigrationTask.java74 private final String mTableName; field in GridSizeMigrationTask
89 mTableName = usePreviewTable ? Favorites.PREVIEW_TABLE_NAME : Favorites.TABLE_NAME; in GridSizeMigrationTask()
110 mTableName = usePreviewTable ? Favorites.PREVIEW_TABLE_NAME : Favorites.TABLE_NAME;
130 mDb.update(mTableName, mUpdateOperations.valueAt(i),
138 mDb.delete(mTableName, Utilities.createDbSelectionQuery(Favorites._ID, mEntryToRemove),
202 IntArray allScreens = getWorkspaceScreenIds(mDb, mTableName);
797 return mDb.query(mTableName, columns, where, null, null, null, null);