/frameworks/ex/common/java/com/android/common/content/ |
D | SyncStateContentProviderHelper.java | 54 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/ |
D | DatabaseHelper.java | 122 private void createSecureTable(SQLiteDatabase db) { in createSecureTable() 131 private void createGlobalTable(SQLiteDatabase db) { in createGlobalTable() 141 public void onCreate(SQLiteDatabase db) { in onCreate() 195 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() 1594 private void moveSettingsToNewTable(SQLiteDatabase db, in moveSettingsToNewTable() 1633 SQLiteDatabase db, String sourceTable, String destTable, String[] prefixesToMove) { in movePrefixedSettingsToNewTable() 1666 private void upgradeLockPatternLocation(SQLiteDatabase db) { in upgradeLockPatternLocation() 1690 private void upgradeScreenTimeoutFromNever(SQLiteDatabase db) { in upgradeScreenTimeoutFromNever() 1714 private void upgradeVibrateSettingFromNone(SQLiteDatabase db) { in upgradeVibrateSettingFromNone() 1736 private void upgradeScreenTimeout(SQLiteDatabase db) { in upgradeScreenTimeout() [all …]
|
D | SettingsProvider.java | 395 SQLiteDatabase db = dbhelper.getWritableDatabase(); in establishDbTracking() local 444 SQLiteDatabase db = dbHelper.getReadableDatabase(); in fullyPopulateCache() local 685 SQLiteDatabase db = dbHelper.getReadableDatabase(); in lookupValue() local 716 SQLiteDatabase db = dbH.getReadableDatabase(); in queryForUser() local 781 SQLiteDatabase db = dbH.getWritableDatabase(); in bulkInsert() local 930 SQLiteDatabase db = dbH.getWritableDatabase(); in insertForUser() local 962 SQLiteDatabase db = dbH.getWritableDatabase(); in delete() local 994 SQLiteDatabase db = dbH.getWritableDatabase(); in update() local
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 207 SQLiteDatabase db = mDatabase; in getDatabaseLocked() local 312 public void onConfigure(SQLiteDatabase db) {} in onConfigure() 320 public abstract void onCreate(SQLiteDatabase db); in onCreate() 342 public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); in onUpgrade() 360 public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onDowngrade() 378 public void onOpen(SQLiteDatabase db) {} in onOpen()
|
D | SQLiteStatement.java | 30 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement()
|
D | SQLiteQuery.java | 36 SQLiteQuery(SQLiteDatabase db, String query, CancellationSignal cancellationSignal) { in SQLiteQuery()
|
D | SQLiteQueryBuilder.java | 291 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()
|
D | SQLiteDirectCursorDriver.java | 35 public SQLiteDirectCursorDriver(SQLiteDatabase db, String sql, String editTable, in SQLiteDirectCursorDriver()
|
D | SQLiteProgram.java | 40 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs, in SQLiteProgram()
|
D | SQLiteCursor.java | 78 public SQLiteCursor(SQLiteDatabase db, SQLiteCursorDriver driver, in SQLiteCursor()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | SelectionBuilder.java | 99 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/ |
D | TrackerProvider.java | 56 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/ |
D | WapPushManager.java | 73 public void onCreate(SQLiteDatabase db) { in onCreate() 92 public void onUpgrade(SQLiteDatabase db, in onUpgrade() 118 protected queryData queryLastApp(SQLiteDatabase db, in queryLastApp() 182 SQLiteDatabase db = dbh.getReadableDatabase(); in processMessage() local 243 SQLiteDatabase db = dbh.getWritableDatabase(); in addPackage() local 303 SQLiteDatabase db = dbh.getWritableDatabase(); in updatePackage() local 338 SQLiteDatabase db = dbh.getWritableDatabase(); in deletePackage() local 392 SQLiteDatabase db = dbh.getReadableDatabase(); in verifyData() local 416 SQLiteDatabase db = dbh.getReadableDatabase(); in isDataExist() local
|
/frameworks/base/test-runner/src/android/test/ |
D | DatabaseTestUtils.java | 37 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/ |
D | LocalProvider.java | 53 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/services/java/com/android/server/ |
D | BootReceiver.java | 97 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE); in logBootEvents() local 160 DropBoxManager db, SharedPreferences prefs, in addFileToDropBox() 180 private static void addAuditErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, in addAuditErrorsToDropBox() 208 private static void addFsckErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, in addFsckErrorsToDropBox()
|
D | LockSettingsService.java | 356 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); in removeUser() local 395 private void writeToDb(SQLiteDatabase db, String key, String value, int userId) { in writeToDb() 415 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); in readFromDb() local 439 private void createTable(SQLiteDatabase db) { in createTable() 449 public void onCreate(SQLiteDatabase db) { in onCreate() 454 private void initializeDefaults(SQLiteDatabase db) { in initializeDefaults() 464 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { in onUpgrade() 478 private void maybeEnableWidgetSettingForUsers(SQLiteDatabase db) { in maybeEnableWidgetSettingForUsers() 491 private void loadSetting(SQLiteDatabase db, String key, int userId, boolean value) { in loadSetting()
|
/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 137 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/ |
D | AggregatorStorage.java | 44 public void onCreate(SQLiteDatabase db) { in onCreate() 49 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
|
D | BordeauxSessionStorage.java | 70 public void onCreate(SQLiteDatabase db) { in onCreate() 75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { in onUpgrade()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProvider.java | 71 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/java/com/android/server/accounts/ |
D | AccountManagerService.java | 318 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in purgeOldGrants() local 369 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in validateAccountsInternal() local 503 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); in readPasswordInternal() local 693 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in addAccountInternal() local 761 private long insertExtraLocked(SQLiteDatabase db, long accountId, String key, String value) { in insertExtraLocked() 942 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in removeAccountInternal() local 979 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in invalidateAuthToken() local 993 private void invalidateAuthTokenLocked(UserAccounts accounts, SQLiteDatabase db, in invalidateAuthTokenLocked() 1031 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in saveAuthTokenToDatabase() local 1120 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); in setPasswordInternal() local [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | RecentsProvider.java | 129 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/ |
D | DatabaseUtils.java | 757 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/base/core/tests/coretests/src/android/database/ |
D | DatabaseErrorHandlerTest.java | 94 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null, in testDatabaseIsCorrupt() local
|