Home
last modified time | relevance | path

Searched defs:db (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java208 public void onCreate(SQLiteDatabase db) { in onCreate()
234 private void createAccountsDeletionTrigger(SQLiteDatabase db) { in createAccountsDeletionTrigger()
246 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
269 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
276 public void onOpen(SQLiteDatabase db) { in onOpen()
333 SQLiteDatabase db = mDeDatabase.getReadableDatabaseUserIsUnlocked(); in findAuthtokenForAllAccounts() local
348 SQLiteDatabase db = mDeDatabase.getReadableDatabaseUserIsUnlocked(); in findAuthTokensByAccount() local
368 SQLiteDatabase db = mDeDatabase.getWritableDatabaseUserIsUnlocked(); in deleteAuthtokensByAccountIdAndType() local
375 SQLiteDatabase db = mDeDatabase.getWritableDatabaseUserIsUnlocked(); in deleteAuthToken() local
382 SQLiteDatabase db = mDeDatabase.getWritableDatabaseUserIsUnlocked(); in insertAuthToken() local
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbHelper.java108 public void onCreate(SQLiteDatabase db) { in onCreate()
116 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
123 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
155 private void dropAllKnownTables(SQLiteDatabase db) { in dropAllKnownTables()
162 private void upgradeDbForVersion3(SQLiteDatabase db) { in upgradeDbForVersion3()
171 private void upgradeDbForVersion4(SQLiteDatabase db) { in upgradeDbForVersion4()
181 private void upgradeDbForVersion5(SQLiteDatabase db) { in upgradeDbForVersion5()
188 private void upgradeDbForVersion6(SQLiteDatabase db) { in upgradeDbForVersion6()
198 SQLiteDatabase db, String tableName, String column, String columnType, in addColumnToTable()
DRecoverableKeyStoreDb.java98 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in insertKey() local
123 SQLiteDatabase db = mKeyStoreDbHelper.getReadableDatabase(); in getKey() local
186 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in removeKey() local
203 SQLiteDatabase db = mKeyStoreDbHelper.getReadableDatabase(); in getStatusForAllKeys() local
243 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setRecoveryStatus() local
267 SQLiteDatabase db = mKeyStoreDbHelper.getReadableDatabase(); in getAllKeys() local
328 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setPlatformKeyGenerationId() local
348 SQLiteDatabase db = mKeyStoreDbHelper.getReadableDatabase(); in getUserSerialNumbers() local
383 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setUserSerialNumber() local
399 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in invalidateKeysForUser() local
[all …]
/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java54 public void createDatabase(SQLiteDatabase db) { in createDatabase()
72 public void onDatabaseOpened(SQLiteDatabase db) { in onDatabaseOpened()
81 public Cursor query(SQLiteDatabase db, String[] projection, in query()
87 public long insert(SQLiteDatabase db, ContentValues values) { in insert()
91 public int delete(SQLiteDatabase db, String userWhere, String[] whereArgs) { in delete()
95 public int update(SQLiteDatabase db, ContentValues values, in update()
100 public int update(SQLiteDatabase db, long rowId, Object data) { in update()
113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { in onAccountsChanged()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/storage/
DBackupEncryptionDbHelper.java57 SQLiteDatabase db = getWritableDatabaseSafe(); in resetDatabase() local
63 public void onCreate(SQLiteDatabase db) { in onCreate()
68 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
74 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
DTertiaryKeysTable.java44 SQLiteDatabase db = mHelper.getWritableDatabaseSafe(); in addKey() local
58 SQLiteDatabase db = mHelper.getReadableDatabaseSafe(); in getKey() local
98 SQLiteDatabase db = mHelper.getReadableDatabaseSafe(); in getAllKeys() local
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java65 public void onCreate(SQLiteDatabase db) { in onCreate()
71 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
87 SQLiteDatabase db = getWritableDatabase(); in updateGenericSoundModel() local
112 SQLiteDatabase db = getReadableDatabase(); in getGenericSoundModel() local
142 SQLiteDatabase db = getWritableDatabase(); in deleteGenericSoundModel() local
156 SQLiteDatabase db = getReadableDatabase(); in dump() local
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java175 private void createSecureTable(SQLiteDatabase db) { in createSecureTable()
184 private void createGlobalTable(SQLiteDatabase db) { in createGlobalTable()
194 public void onCreate(SQLiteDatabase db) { in onCreate()
248 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
1857 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase()
1886 private void moveSettingsToNewTable(SQLiteDatabase db, in moveSettingsToNewTable()
1925 SQLiteDatabase db, String sourceTable, String destTable, String[] prefixesToMove) { in movePrefixedSettingsToNewTable()
1958 private void upgradeLockPatternLocation(SQLiteDatabase db) { in upgradeLockPatternLocation()
1985 private void upgradeScreenTimeoutFromNever(SQLiteDatabase db) { in upgradeScreenTimeoutFromNever()
2009 private void upgradeVibrateSettingFromNone(SQLiteDatabase db) { in upgradeVibrateSettingFromNone()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFakeSmsContentProvider.java52 public void onCreate(SQLiteDatabase db) { in onCreate()
70 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
78 SQLiteDatabase db = mDbHelper.getReadableDatabase(); in query() local
85 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
93 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in delete() local
DFakeTelephonyProvider.java125 public void onCreate(SQLiteDatabase db) { in onCreate()
133 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
141 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc53 print_stack(const C& db) in print_stack()
94 print_state(const char* msg, const char* first, const char* last, const C& db) in print_state()
169 parse_floating_number(const char* first, const char* last, C& db) in parse_floating_number()
213 parse_source_name(const char* first, const char* last, C& db) in parse_source_name()
255 parse_substitution(const char* first, const char* last, C& db) in parse_substitution()
363 parse_builtin_type(const char* first, const char* last, C& db) in parse_builtin_type()
541 parse_template_param(const char* first, const char* last, C& db) in parse_template_param()
598 parse_const_cast_expr(const char* first, const char* last, C& db) in parse_const_cast_expr()
624 parse_dynamic_cast_expr(const char* first, const char* last, C& db) in parse_dynamic_cast_expr()
650 parse_reinterpret_cast_expr(const char* first, const char* last, C& db) in parse_reinterpret_cast_expr()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DSelectionBuilder.java99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { in query()
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, in query()
115 public int update(SQLiteDatabase db, String table, ContentValues values) { in update()
122 public int delete(SQLiteDatabase db, String table) { in delete()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/
DSQLiteCacheHelper.java90 protected abstract void onCreateTable(SQLiteDatabase db); in onCreateTable()
102 public void onCreate(SQLiteDatabase db) { in onCreate()
107 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
114 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
120 private void clearDB(SQLiteDatabase db) { in clearDB()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java56 public void onCreate(SQLiteDatabase db) { in onCreate()
67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
87 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
100 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
113 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java86 public void onCreate(SQLiteDatabase db) { in onCreate()
105 public void onUpgrade(SQLiteDatabase db, in onUpgrade()
131 protected queryData queryLastApp(SQLiteDatabase db, in queryLastApp()
199 SQLiteDatabase db = dbh.getReadableDatabase(); in processMessage() local
280 SQLiteDatabase db = dbh.getWritableDatabase(); in addPackage() local
310 SQLiteDatabase db = dbh.getWritableDatabase(); in updatePackage() local
345 SQLiteDatabase db = dbh.getWritableDatabase(); in deletePackage() local
397 public boolean insertPackage(WapPushManDBHelper dbh, SQLiteDatabase db, String appId, in insertPackage()
453 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in migrateWapPushManDBIfNeeded() local
479 SQLiteDatabase db = dbh.getReadableDatabase(); in verifyData() local
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java359 SQLiteDatabase db = mDatabase; in getDatabaseLocked() local
477 public void onConfigure(SQLiteDatabase db) {} in onConfigure()
490 public void onBeforeDelete(SQLiteDatabase db) { in onBeforeDelete()
499 public abstract void onCreate(SQLiteDatabase db); in onCreate()
521 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade()
539 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
557 public void onOpen(SQLiteDatabase db) {} in onOpen()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistReportDbHelper.java115 public void onCreate(SQLiteDatabase db) { in onCreate()
120 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
135 final SQLiteDatabase db = getWritableDatabase(); in insertNewRecord() local
151 final SQLiteDatabase db = getReadableDatabase(); in getAggregatedRecords() local
189 final SQLiteDatabase db = getWritableDatabase(); in cleanup() local
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java89 public void onCreate(SQLiteDatabase db) { in onCreate()
95 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
163 SQLiteDatabase db = getWritableDatabase(); in updateKeyphraseSoundModel() local
210 SQLiteDatabase db = getWritableDatabase(); in deleteKeyphraseSoundModel() local
261 SQLiteDatabase db = getReadableDatabase(); in getValidKeyphraseSoundModelForUser() local
447 public long writeToDatabase(int version, SQLiteDatabase db) { in writeToDatabase()
480 SQLiteDatabase db = getReadableDatabase(); in dump() local
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java139 public void onCreate(SQLiteDatabase db) { in onCreate()
154 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
228 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
275 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
323 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DPreNTestDatabaseHelper.java39 public void onCreate(SQLiteDatabase db) { in onCreate()
88 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java66 public void onCreate(SQLiteDatabase db) { in onCreate()
84 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
127 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
158 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
DGlobalResultsStore.java80 SQLiteDatabase db = getWritableDatabase(); in storeRunResults() local
132 SQLiteDatabase db = getReadableDatabase(); in loadTestResults() local
202 SQLiteDatabase db = getReadableDatabase(); in loadDetailedResults() local
275 SQLiteDatabase db = getReadableDatabase(); in exportToCsv() local
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTestable.java90 public void onCreate(SQLiteDatabase db) { in onCreate()
100 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRoundedCornerProgressDrawable.kt56 val db = drawable?.bounds!! in onLevelChange() constant
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java71 public void onCreate(SQLiteDatabase db) { in onCreate()
86 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
158 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in getBlobColumnAsFile() local

123