Home
last modified time | relevance | path

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

12

/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/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java121 private void createSecureTable(SQLiteDatabase db) { in createSecureTable()
130 private void createGlobalTable(SQLiteDatabase db) { in createGlobalTable()
140 public void onCreate(SQLiteDatabase db) { in onCreate()
194 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
1930 private void moveSettingsToNewTable(SQLiteDatabase db, in moveSettingsToNewTable()
1969 SQLiteDatabase db, String sourceTable, String destTable, String[] prefixesToMove) { in movePrefixedSettingsToNewTable()
2002 private void upgradeLockPatternLocation(SQLiteDatabase db) { in upgradeLockPatternLocation()
2026 private void upgradeScreenTimeoutFromNever(SQLiteDatabase db) { in upgradeScreenTimeoutFromNever()
2050 private void upgradeVibrateSettingFromNone(SQLiteDatabase db) { in upgradeVibrateSettingFromNone()
2072 private void upgradeScreenTimeout(SQLiteDatabase db) { in upgradeScreenTimeout()
[all …]
DSettingsProvider.java468 SQLiteDatabase db = dbhelper.getWritableDatabase(); in establishDbTracking() local
524 SQLiteDatabase db = dbHelper.getReadableDatabase(); in fullyPopulateCache() local
873 SQLiteDatabase db = dbHelper.getReadableDatabase(); in lookupValue() local
904 SQLiteDatabase db = dbH.getReadableDatabase(); in queryForUser() local
974 SQLiteDatabase db = dbH.getWritableDatabase(); in bulkInsert() local
1133 SQLiteDatabase db = dbH.getWritableDatabase(); in insertForUser() local
1172 SQLiteDatabase db = dbH.getWritableDatabase(); in delete() local
1212 SQLiteDatabase db = dbH.getWritableDatabase(); in update() local
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java206 SQLiteDatabase db = mDatabase; in getDatabaseLocked() local
311 public void onConfigure(SQLiteDatabase db) {} in onConfigure()
319 public abstract void onCreate(SQLiteDatabase db); in onCreate()
341 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade()
359 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade()
377 public void onOpen(SQLiteDatabase db) {} in onOpen()
DSQLiteStatement.java30 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement()
DSQLiteQuery.java36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { in SQLiteQuery()
DSQLiteQueryBuilder.java291 public Cursor query(SQLiteDatabase db, String[] projectionIn, in query()
330 public Cursor query(SQLiteDatabase db, String[] projectionIn, in query()
372 public Cursor query(SQLiteDatabase db, String[] projectionIn, in query()
410 private void validateQuerySql(SQLiteDatabase db, String sql, in validateQuerySql()
/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/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.java73 public void onCreate(SQLiteDatabase db) { in onCreate()
92 public void onUpgrade(SQLiteDatabase db, in onUpgrade()
118 protected queryData queryLastApp(SQLiteDatabase db, in queryLastApp()
186 SQLiteDatabase db = dbh.getReadableDatabase(); in processMessage() local
247 SQLiteDatabase db = dbh.getWritableDatabase(); in addPackage() local
307 SQLiteDatabase db = dbh.getWritableDatabase(); in updatePackage() local
342 SQLiteDatabase db = dbh.getWritableDatabase(); in deletePackage() local
396 SQLiteDatabase db = dbh.getReadableDatabase(); in verifyData() local
430 SQLiteDatabase db = dbh.getReadableDatabase(); in isDataExist() local
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java74 public void onCreate(SQLiteDatabase db) { in onCreate()
80 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
93 SQLiteDatabase db = getWritableDatabase(); in updateKeyphraseSoundModel() local
132 SQLiteDatabase db = getWritableDatabase(); in deleteKeyphraseSoundModel() local
158 SQLiteDatabase db = getReadableDatabase(); in getKeyphraseSoundModel() local
/frameworks/base/core/java/com/android/server/
DBootReceiver.java97 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE); in logBootEvents() local
186 DropBoxManager db, SharedPreferences prefs, in addFileToDropBox()
193 DropBoxManager db, SharedPreferences prefs, in addFileWithFootersToDropBox()
214 private static void addAuditErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, in addAuditErrorsToDropBox()
247 private static void addFsckErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, in addFsckErrorsToDropBox()
/frameworks/base/test-runner/src/android/test/
DDatabaseTestUtils.java37 public static void assertSchemaEquals(SQLiteDatabase expectedDb, SQLiteDatabase db) { in assertSchemaEquals()
43 private static Set<String> getSchemaSet(SQLiteDatabase db) { in getSchemaSet()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java53 public void onCreate(SQLiteDatabase db) { in onCreate()
64 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
103 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
134 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in update() local
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java137 public void onCreate(SQLiteDatabase db) { in onCreate()
152 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
226 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in delete() local
273 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in insert() local
321 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in query() local
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorStorage.java44 public void onCreate(SQLiteDatabase db) { in onCreate()
49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
DBordeauxSessionStorage.java70 public void onCreate(SQLiteDatabase db) { in onCreate()
75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java78 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue()
108 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in readKeyValue() local
133 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in prefetchUser() local
284 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in removeUser() local
328 void initialize(SQLiteDatabase db); in initialize()
345 private void createTable(SQLiteDatabase db) { in createTable()
355 public void onCreate(SQLiteDatabase db) { in onCreate()
361 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
/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/services/core/java/com/android/server/accounts/
DAccountManagerService.java338 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in purgeOldGrants() local
389 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in validateAccountsInternal() local
523 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); in readPasswordInternal() local
562 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); in readPreviousNameInternal() local
782 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in addAccountInternal() local
850 private long insertExtraLocked(SQLiteDatabase db, long accountId, String key, String value) { in insertExtraLocked()
988 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in renameAccountInternal() local
1237 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in removeAccountInternal() local
1276 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in invalidateAuthToken() local
1290 private void invalidateAuthTokenLocked(UserAccounts accounts, SQLiteDatabase db, in invalidateAuthTokenLocked()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java129 public void onCreate(SQLiteDatabase db) { in onCreate()
156 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
174 final SQLiteDatabase db = mHelper.getReadableDatabase(); in query() local
203 final SQLiteDatabase db = mHelper.getWritableDatabase(); in insert() local
307 final SQLiteDatabase db = mHelper.getWritableDatabase(); in purgeByAuthority() local
/frameworks/base/core/java/android/database/
DDatabaseUtils.java757 public static long queryNumEntries(SQLiteDatabase db, String table) { in queryNumEntries()
770 public static long queryNumEntries(SQLiteDatabase db, String table, String selection) { in queryNumEntries()
787 public static long queryNumEntries(SQLiteDatabase db, String table, String selection, in queryNumEntries()
801 public static boolean queryIsEmpty(SQLiteDatabase db, String table) { in queryIsEmpty()
810 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { in longForQuery()
832 public static String stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { in stringForQuery()
856 public static ParcelFileDescriptor blobFileDescriptorForQuery(SQLiteDatabase db, in blobFileDescriptorForQuery()
1013 public InsertHelper(SQLiteDatabase db, String tableName) { in InsertHelper()
1347 SQLiteDatabase db = context.openOrCreateDatabase(dbName, 0, null); in createDbFromSqlStatements() local
/frameworks/compile/mclinker/lib/Support/
DDemangle.cpp46 Db db(a); in isCtorOrDtor() local
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java94 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null, in testDatabaseIsCorrupt() local

12