/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 296 String tableName = mTableName; in createTables() local 297 Utils.assertTrue(tableName != null); in createTables() 301 sql.append(tableName); in createTables() 335 sql.append(tableName); in createTables() 339 sql.append(tableName); in createTables() 350 String ftsTableName = tableName + FULL_TEXT_INDEX_SUFFIX; in createTables() 390 sql.append(tableName); in createTables() 392 sql.append(tableName); in createTables() 401 sql.append(tableName); in createTables() 403 sql.append(tableName); in createTables() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDatabaseHelper.java | 195 private static String buildCreateSchedulesSql(String tableName, ColumnInfo[] columns) { in buildCreateSchedulesSql() argument 197 tableName, in buildCreateSchedulesSql() 206 String tableName, in buildCreateSql() argument 210 sb.append("CREATE TABLE ").append(tableName).append("("); in buildCreateSql() 250 private static String buildInsertSql(String tableName, ColumnInfo[] columns) { in buildInsertSql() argument 252 sb.append("INSERT INTO ").append(tableName).append(" ("); in buildInsertSql() 269 private static String buildUpdateSql(String tableName, ColumnInfo[] columns) { in buildUpdateSql() argument 271 sb.append("UPDATE ").append(tableName).append(" SET "); in buildUpdateSql() 284 private static String buildDeleteSql(String tableName) { in buildDeleteSql() argument 285 return "DELETE FROM " + tableName + " WHERE " + BaseColumns._ID + "=?"; in buildDeleteSql() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | HbpcdLookupDatabaseHelper.java | 175 String tableName = parser.getAttributeValue(null, "name"); in initDatabase() local 176 loadTable(db, parser, tableName); in initDatabase() 196 private void loadTable(SQLiteDatabase db, XmlPullParser parser, String tableName) in loadTable() argument 203 if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_IDD)) { in loadTable() 205 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_LOOKUP_TABLE)) { in loadTable() 207 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_SID_CONFLICT)) { in loadTable() 209 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_SID_RANGE)) { in loadTable() 211 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_NANP_AREA_CODE)) { in loadTable() 213 } else if (tableName.equalsIgnoreCase( in loadTable() 217 Log.e(TAG, "unrecognized table name" + tableName); in loadTable() [all …]
|
D | CarrierDatabaseHelper.java | 66 public static String getStringForCarrierKeyTableCreation(String tableName) { in getStringForCarrierKeyTableCreation() argument 67 return "CREATE TABLE " + tableName + in getStringForCarrierKeyTableCreation()
|
D | CarrierIdProvider.java | 170 public static String getStringForCarrierIdTableCreation(String tableName) { in getStringForCarrierIdTableCreation() argument 171 return "CREATE TABLE " + tableName in getStringForCarrierIdTableCreation() 189 public static String getStringForIndexCreation(String tableName) { in getStringForIndexCreation() argument 190 return "CREATE INDEX IF NOT EXISTS mccmncIndex ON " + tableName + " (" in getStringForIndexCreation()
|
D | TelephonyProvider.java | 355 public static String getStringForCarrierTableCreation(String tableName) { in getStringForCarrierTableCreation() argument 356 return "CREATE TABLE " + tableName + in getStringForCarrierTableCreation() 407 public static String getStringForSimInfoTableCreation(String tableName) { in getStringForSimInfoTableCreation() argument 408 return "CREATE TABLE " + tableName + "(" in getStringForSimInfoTableCreation() 638 private void createSimInfoTable(SQLiteDatabase db, String tableName) { in createSimInfoTable() argument 639 if (DBG) log("dbh.createSimInfoTable:+ " + tableName); in createSimInfoTable() 640 db.execSQL(getStringForSimInfoTableCreation(tableName)); in createSimInfoTable() 644 private void createCarriersTable(SQLiteDatabase db, String tableName) { in createCarriersTable() argument 646 if (DBG) log("dbh.createCarriersTable: " + tableName); in createCarriersTable() 647 db.execSQL(getStringForCarrierTableCreation(tableName)); in createCarriersTable()
|
D | MmsSmsDatabaseHelper.java | 2106 private boolean hasAutoIncrement(SQLiteDatabase db, String tableName) { in hasAutoIncrement() argument 2109 tableName + "'"; in hasAutoIncrement() 2116 Log.d(TAG, "[MmsSmsDb] tableName: " + tableName + " hasAutoIncrement: " + in hasAutoIncrement()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LauncherDbUtils.java | 95 public static IntArray queryIntArray(SQLiteDatabase db, String tableName, String columnName, in queryIntArray() argument 98 try (Cursor c = db.query(tableName, new String[] { columnName }, selection, null, in queryIntArray() 107 public static boolean tableExists(SQLiteDatabase db, String tableName) { in tableExists() argument 109 "tbl_name = ?", new String[] {tableName}, in tableExists() argument 115 public static void dropTable(SQLiteDatabase db, String tableName) { in dropTable() argument 116 db.execSQL("DROP TABLE IF EXISTS " + tableName); in dropTable()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 78 public DbModifierWithNotification(String tableName, SQLiteDatabase db, Context context) { in DbModifierWithNotification() argument 79 this(tableName, db, null, context); in DbModifierWithNotification() 82 public DbModifierWithNotification(String tableName, InsertHelper insertHelper, in DbModifierWithNotification() argument 84 this(tableName, null, insertHelper, context); in DbModifierWithNotification() 87 private DbModifierWithNotification(String tableName, SQLiteDatabase db, in DbModifierWithNotification() argument 89 mTableName = tableName; in DbModifierWithNotification()
|
D | VoicemailStatusTable.java | 65 public VoicemailStatusTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailStatusTable() argument 67 mTableName = tableName; in VoicemailStatusTable()
|
D | VoicemailContentTable.java | 96 public VoicemailContentTable(String tableName, Context context, CallLogDatabaseHelper dbHelper, in VoicemailContentTable() argument 99 mTableName = tableName; in VoicemailContentTable()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | BootCompletedReceiver.java | 89 String tableName = getTableName(uri); in deleteRowsOfUninstalledPackagesInternal() local 90 if (tableName == null) { in deleteRowsOfUninstalledPackagesInternal() 96 true /* distinct */, tableName, PROJECTION, null, null, null, null, null, null)) { in deleteRowsOfUninstalledPackagesInternal() argument
|
D | TvProvider.java | 1228 String tableName; in call() local 1231 tableName = CHANNELS_TABLE; in call() 1235 tableName = PROGRAMS_TABLE; in call() 1239 tableName = PREVIEW_PROGRAMS_TABLE; in call() 1243 tableName = WATCH_NEXT_PROGRAMS_TABLE; in call() 1247 tableName = RECORDED_PROGRAMS_TABLE; in call() 1255 db.execSQL("ALTER TABLE " + tableName + " ADD " in call() 1257 projectionMap.put(columnName.toString(), tableName + '.' + columnName); in call() 1676 private static void updateProjectionMap(SQLiteDatabase db, String tableName, in updateProjectionMap() argument 1678 for (String columnName : getColumnNames(db, tableName)) { in updateProjectionMap() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 693 final String tableName = tableCursor.getString(0); in dropAllTables() local 696 if (tableName.startsWith("android_") || tableName.startsWith("sqlite_")) { in dropAllTables() 700 db.execSQL(dropPrefix + tableName); in dropAllTables() 703 LogUtil.d(LogUtil.BUGLE_TAG, "unable to drop table " + tableName + " " in dropAllTables()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseDatabaseHelperUpgradeTest.java | 71 public TableStructure(SQLiteDatabase db, String tableName) { in TableStructure() argument 72 mName = tableName; in TableStructure() 73 try (final Cursor cursor = db.rawQuery("PRAGMA table_info(" + tableName + ");", null)) { in TableStructure()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherSettings.java | 249 String tableName) { in addTableToDb() argument 251 db.execSQL("CREATE TABLE " + ifNotExists + tableName + " (" + in addTableToDb()
|
D | LauncherProvider.java | 593 Context context, Handler widgetHostResetHandler, String tableName) { in DatabaseHelper() argument 594 super(context, tableName, SCHEMA_VERSION); in DatabaseHelper()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/util/ |
D | SQLiteCacheHelper.java | 26 public SQLiteCacheHelper(Context context, String name, int version, String tableName) { in SQLiteCacheHelper() argument 30 mTableName = tableName; in SQLiteCacheHelper()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbSettingsStorage.java | 206 private void createTable(SQLiteDatabase db, String tableName) { in createTable() argument 207 db.execSQL("CREATE TABLE " + tableName + " (" in createTable()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 300 public static String getStringForCellBroadcastTableCreation(String tableName) { in getStringForCellBroadcastTableCreation() argument 301 return "CREATE TABLE " + tableName + " (" in getStringForCellBroadcastTableCreation()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/ |
D | AssociatedDeviceKeyEntity.java | 24 @Entity(tableName = "associated_device_keys")
|
D | AssociatedDeviceEntity.java | 27 @Entity(tableName = "associated_devices")
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/storage/ |
D | TrustedDeviceEntity.java | 26 @Entity(tableName = "trusted_devices")
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/ |
D | FavoriteNumberEntity.java | 24 @Entity(tableName = "favorite_number_entity")
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | Metadata.java | 33 @Entity(tableName = "metadata")
|