Home
last modified time | relevance | path

Searched refs:TABLE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java44 public static final String TABLE = "st_sound_model"; field
53 + GenericSoundModelContract.TABLE + "("
75 db.execSQL("ALTER TABLE " + GenericSoundModelContract.TABLE + " ADD COLUMN " in onUpgrade()
96 return db.insertWithOnConflict(GenericSoundModelContract.TABLE, null, values, in updateGenericSoundModel()
109 String selectQuery = "SELECT * FROM " + GenericSoundModelContract.TABLE in getGenericSoundModel()
146 return db.delete(GenericSoundModelContract.TABLE, soundModelClause, null) != 0; in deleteGenericSoundModel()
155 String selectQuery = "SELECT * FROM " + GenericSoundModelContract.TABLE; in dump()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistReportDbHelper.java51 private static final String TABLE = "records"; field in WatchlistReportDbHelper.WhiteListReportContract
58 + WhiteListReportContract.TABLE + "("
122 db.execSQL("DROP TABLE IF EXISTS " + WhiteListReportContract.TABLE); in onUpgrade()
140 return db.insert(WhiteListReportContract.TABLE, null, values) != -1; in insertNewRecord()
155 WhiteListReportContract.TABLE, DIGEST_DOMAIN_PROJECTION, selectStatement, in getAggregatedRecords()
191 return db.delete(WhiteListReportContract.TABLE, clause, null) != 0; in cleanup()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java53 String TABLE = "sound_model"; field
68 + SoundModelContract.TABLE + "("
98 db.execSQL("DROP TABLE IF EXISTS " + SoundModelContract.TABLE); in onUpgrade()
104 db.execSQL("ALTER TABLE " + SoundModelContract.TABLE + " ADD COLUMN " in onUpgrade()
114 String selectQuery = "SELECT * FROM " + SoundModelContract.TABLE; in onUpgrade()
130 db.execSQL("DROP TABLE IF EXISTS " + SoundModelContract.TABLE); in onUpgrade()
150 db.execSQL("ALTER TABLE " + SoundModelContract.TABLE + " ADD COLUMN " in onUpgrade()
186 return db.insertWithOnConflict(SoundModelContract.TABLE, null, values, in updateKeyphraseSoundModel()
214 return db.delete(SoundModelContract.TABLE, soundModelClause, null) != 0; in deleteKeyphraseSoundModel()
233 String selectQuery = "SELECT * FROM " + SoundModelContract.TABLE in getKeyphraseSoundModel()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java73 private static final String TABLE = "locksettings"; field in LockSettingsStorage
169 db.delete(TABLE, COLUMN_KEY + "=? AND " + COLUMN_USERID + "=?", in writeKeyValue()
171 db.insert(TABLE, null, cv); in writeKeyValue()
193 if ((cursor = db.query(TABLE, COLUMNS_FOR_QUERY, in readKeyValue()
218 db.delete(TABLE, COLUMN_KEY + "=? AND " + COLUMN_USERID + "=?", in removeKey()
240 if ((cursor = db.query(TABLE, COLUMNS_FOR_PREFETCH, in prefetchUser()
584 db.delete(TABLE, COLUMN_USERID + "='" + userId + "'", null); in removeUser()
820 db.execSQL("CREATE TABLE " + TABLE + " (" + in createTable()