Home
last modified time | relevance | path

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

12

/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/services/backup/java/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/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java173 private void createSecureTable(SQLiteDatabase db) { in createSecureTable()
182 private void createGlobalTable(SQLiteDatabase db) { in createGlobalTable()
192 public void onCreate(SQLiteDatabase db) { in onCreate()
246 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
1883 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase()
1912 private void moveSettingsToNewTable(SQLiteDatabase db, in moveSettingsToNewTable()
1951 SQLiteDatabase db, String sourceTable, String destTable, String[] prefixesToMove) { in movePrefixedSettingsToNewTable()
1984 private void upgradeLockPatternLocation(SQLiteDatabase db) { in upgradeLockPatternLocation()
2008 private void upgradeScreenTimeoutFromNever(SQLiteDatabase db) { in upgradeScreenTimeoutFromNever()
2032 private void upgradeVibrateSettingFromNone(SQLiteDatabase db) { in upgradeVibrateSettingFromNone()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java66 public void onCreate(SQLiteDatabase db) { in onCreate()
72 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
84 SQLiteDatabase db = getWritableDatabase(); in updateGenericSoundModel() local
107 SQLiteDatabase db = getReadableDatabase(); in getGenericSoundModel() local
135 SQLiteDatabase db = getWritableDatabase(); in deleteGenericSoundModel() 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/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.java118 public void onCreate(SQLiteDatabase db) { in onCreate()
126 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
134 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
/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/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.java77 public void onCreate(SQLiteDatabase db) { in onCreate()
96 public void onUpgrade(SQLiteDatabase db, in onUpgrade()
122 protected queryData queryLastApp(SQLiteDatabase db, in queryLastApp()
190 SQLiteDatabase db = dbh.getReadableDatabase(); in processMessage() local
271 SQLiteDatabase db = dbh.getWritableDatabase(); in addPackage() local
331 SQLiteDatabase db = dbh.getWritableDatabase(); in updatePackage() local
366 SQLiteDatabase db = dbh.getWritableDatabase(); in deletePackage() local
420 SQLiteDatabase db = dbh.getReadableDatabase(); in verifyData() local
454 SQLiteDatabase db = dbh.getReadableDatabase(); in isDataExist() local
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java360 SQLiteDatabase db = mDatabase; in getDatabaseLocked() local
478 public void onConfigure(SQLiteDatabase db) {} in onConfigure()
491 public void onBeforeDelete(SQLiteDatabase db) { in onBeforeDelete()
500 public abstract void onCreate(SQLiteDatabase db); in onCreate()
522 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade()
540 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
558 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.java83 public void onCreate(SQLiteDatabase db) { in onCreate()
89 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
150 SQLiteDatabase db = getWritableDatabase(); in updateKeyphraseSoundModel() local
192 SQLiteDatabase db = getWritableDatabase(); in deleteKeyphraseSoundModel() local
218 SQLiteDatabase db = getReadableDatabase(); in getKeyphraseSoundModel() local
390 public long writeToDatabase(int version, SQLiteDatabase db) { in writeToDatabase()
/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/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
/frameworks/base/core/java/com/android/server/
DBootReceiver.java195 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE); in logBootEvents() local
282 DropBoxManager db, HashMap<String, Long> timestamps, in addFileToDropBox()
288 DropBoxManager db, HashMap<String, Long> timestamps, in addFileWithFootersToDropBox()
316 private static void addTextToDropBox(DropBoxManager db, String tag, String text, in addTextToDropBox()
323 private static void addAuditErrorsToDropBox(DropBoxManager db, in addAuditErrorsToDropBox()
359 private static void addFsckErrorsToDropBoxAndLogFsStat(DropBoxManager db, in addFsckErrorsToDropBoxAndLogFsStat()
/frameworks/base/core/tests/coretests/src/android/database/
DSQLiteOpenHelperTest.java71 public void onCreate(SQLiteDatabase db) { in onCreate()
75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
/frameworks/compile/mclinker/lib/Support/
DDemangle.cpp45 Db db(a); in isCtorOrDtor() local

12