Home
last modified time | relevance | path

Searched defs:db (Results 1 – 25 of 62) 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.java125 public void onCreate(SQLiteDatabase db) { in onCreate()
133 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
140 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
187 private void dropAllKnownTables(SQLiteDatabase db) { in dropAllKnownTables()
194 private void upgradeDbForVersion3(SQLiteDatabase db) { in upgradeDbForVersion3()
203 private void upgradeDbForVersion4(SQLiteDatabase db) { in upgradeDbForVersion4()
213 private void upgradeDbForVersion5(SQLiteDatabase db) { in upgradeDbForVersion5()
220 private void upgradeDbForVersion6(SQLiteDatabase db) { in upgradeDbForVersion6()
229 private void upgradeDbForVersion7(SQLiteDatabase db) { in upgradeDbForVersion7()
238 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
400 SQLiteDatabase db = mKeyStoreDbHelper.getWritableDatabase(); in setBadRemoteGuessCounter() 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/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/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/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java172 private void createSecureTable(SQLiteDatabase db) { in createSecureTable()
181 private void createGlobalTable(SQLiteDatabase db) { in createGlobalTable()
191 public void onCreate(SQLiteDatabase db) { in onCreate()
237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
1843 public void recreateDatabase(SQLiteDatabase db, int oldVersion, in recreateDatabase()
1872 private void moveSettingsToNewTable(SQLiteDatabase db, in moveSettingsToNewTable()
1911 SQLiteDatabase db, String sourceTable, String destTable, String[] prefixesToMove) { in movePrefixedSettingsToNewTable()
1944 private void upgradeLockPatternLocation(SQLiteDatabase db) { in upgradeLockPatternLocation()
1971 private void upgradeScreenTimeoutFromNever(SQLiteDatabase db) { in upgradeScreenTimeoutFromNever()
1995 private void upgradeVibrateSettingFromNone(SQLiteDatabase db) { in upgradeVibrateSettingFromNone()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DTelephonyAnalyticsUtil.java64 public void onCreate(SQLiteDatabase db) {} in onCreate()
67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {} in onUpgrade()
77 SQLiteDatabase db = getWritableDatabase(); in createTable() local
88 SQLiteDatabase db = getWritableDatabase(); in insert() local
101 SQLiteDatabase db = getWritableDatabase(); in update() local
126 SQLiteDatabase db = getReadableDatabase(); in getCursor() local
175 SQLiteDatabase db = getWritableDatabase(); in delete() local
/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.java143 public void onCreate(SQLiteDatabase db) { in onCreate()
151 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
160 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() 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/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/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/core/java/android/database/sqlite/
DSQLiteOpenHelper.java359 SQLiteDatabase db = mDatabase; in getDatabaseLocked() local
471 public void onConfigure(SQLiteDatabase db) {} in onConfigure()
484 public void onBeforeDelete(SQLiteDatabase db) { in onBeforeDelete()
493 public abstract void onCreate(SQLiteDatabase db); in onCreate()
528 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade()
546 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
564 public void onOpen(SQLiteDatabase db) {} in onOpen()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistReportDbHelper.java113 public void onCreate(SQLiteDatabase db) { in onCreate()
118 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
133 final SQLiteDatabase db; in insertNewRecord() local
155 final SQLiteDatabase db; in getAggregatedRecords() local
199 final SQLiteDatabase db; 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()
159 SQLiteDatabase db = getWritableDatabase(); in updateKeyphraseSoundModel() local
204 SQLiteDatabase db = getWritableDatabase(); in deleteKeyphraseSoundModel() local
245 SQLiteDatabase db = getReadableDatabase(); in getValidKeyphraseSoundModelForUser() local
431 public long writeToDatabase(int version, SQLiteDatabase db) { in writeToDatabase()
464 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DFakeSatelliteProvider.java55 public void onCreate(SQLiteDatabase db) { in onCreate()
62 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
70 SQLiteDatabase db = mDbHelper.getWritableDatabase(); in insert() local
/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/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/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/services/core/java/com/android/server/
DBootReceiver.java278 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE); in logBootEvents() local
354 final DropBoxManager db = ctx.getSystemService(DropBoxManager.class); in addTombstoneToDropBox() local
395 File tombstone, DropBoxManager db, in addAugmentedProtoToDropbox()
439 DropBoxManager db, HashMap<String, Long> timestamps, in addLastkToDropBox()
456 DropBoxManager db, HashMap<String, Long> timestamps, in addFileToDropBox()
462 DropBoxManager db, HashMap<String, Long> timestamps, in addFileWithFootersToDropBox()
497 private static void addTextToDropBox(DropBoxManager db, String tag, String text, in addTextToDropBox()
504 private static void addAuditErrorsToDropBox(DropBoxManager db, in addAuditErrorsToDropBox()
540 private static void addFsckErrorsToDropBoxAndLogFsStat(DropBoxManager db, in addFsckErrorsToDropBoxAndLogFsStat()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabProvider.java402 public void onCreate(SQLiteDatabase db) { in onCreate()
498 SQLiteDatabase db = getReadableDatabase(); in query() local
559 SQLiteDatabase db = getWritableDatabase(); in insert() local
593 SQLiteDatabase db = getWritableDatabase(); in bulkInsert() local
640 SQLiteDatabase db = getWritableDatabase(); in delete() local
673 SQLiteDatabase db = getWritableDatabase(); in update() 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()

123