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.java120 private void createSecureTable(SQLiteDatabase db) { in createSecureTable()
129 private void createGlobalTable(SQLiteDatabase db) { in createGlobalTable()
139 public void onCreate(SQLiteDatabase db) { in onCreate()
193 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
1862 private void moveSettingsToNewTable(SQLiteDatabase db, in moveSettingsToNewTable()
1901 SQLiteDatabase db, String sourceTable, String destTable, String[] prefixesToMove) { in movePrefixedSettingsToNewTable()
1934 private void upgradeLockPatternLocation(SQLiteDatabase db) { in upgradeLockPatternLocation()
1958 private void upgradeScreenTimeoutFromNever(SQLiteDatabase db) { in upgradeScreenTimeoutFromNever()
1982 private void upgradeVibrateSettingFromNone(SQLiteDatabase db) { in upgradeVibrateSettingFromNone()
2004 private void upgradeScreenTimeout(SQLiteDatabase db) { in upgradeScreenTimeout()
[all …]
DSettingsProvider.java471 SQLiteDatabase db = dbhelper.getWritableDatabase(); in establishDbTracking() local
527 SQLiteDatabase db = dbHelper.getReadableDatabase(); in fullyPopulateCache() local
876 SQLiteDatabase db = dbHelper.getReadableDatabase(); in lookupValue() local
907 SQLiteDatabase db = dbH.getReadableDatabase(); in queryForUser() local
977 SQLiteDatabase db = dbH.getWritableDatabase(); in bulkInsert() local
1136 SQLiteDatabase db = dbH.getWritableDatabase(); in insertForUser() local
1175 SQLiteDatabase db = dbH.getWritableDatabase(); in delete() local
1215 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
184 DropBoxManager db, SharedPreferences prefs, in addFileToDropBox()
191 DropBoxManager db, SharedPreferences prefs, in addFileWithFootersToDropBox()
212 private static void addAuditErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, in addAuditErrorsToDropBox()
245 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/
DLockSettingsService.java515 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in removeUser() local
564 private void writeToDb(SQLiteDatabase db, String key, String value, int userId) { in writeToDb()
584 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in readFromDb() local
608 private void createTable(SQLiteDatabase db) { in createTable()
618 public void onCreate(SQLiteDatabase db) { in onCreate()
623 private void initializeDefaults(SQLiteDatabase db) { in initializeDefaults()
633 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade()
647 private void maybeEnableWidgetSettingForUsers(SQLiteDatabase db) { in maybeEnableWidgetSettingForUsers()
660 private void loadSetting(SQLiteDatabase db, String key, int userId, boolean value) { in loadSetting()
/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.java339 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in purgeOldGrants() local
390 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in validateAccountsInternal() local
524 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); in readPasswordInternal() local
563 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); in readPreviousNameInternal() local
778 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in addAccountInternal() local
846 private long insertExtraLocked(SQLiteDatabase db, long accountId, String key, String value) { in insertExtraLocked()
984 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in renameAccountInternal() local
1208 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in removeAccountInternal() local
1245 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in invalidateAuthToken() local
1259 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