Home
last modified time | relevance | path

Searched refs:databaseFile (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java280 File databaseFile = new File(db.getPath()); in getDatabaseLocked() local
283 if (SQLiteDatabase.deleteDatabase(databaseFile)) { in getDatabaseLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java117 File databaseFile = new File( in dbNameForUser() local
121 if (!databaseFile.exists()) { in dbNameForUser()
125 return databaseFile.getPath(); in dbNameForUser()
149 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in dropDatabase() local
150 if (databaseFile.exists()) { in dropDatabase()
151 databaseFile.delete(); in dropDatabase()
166 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in backupDatabase() local
167 if (!databaseFile.exists()) { in backupDatabase()
175 databaseFile.renameTo(backupFile); in backupDatabase()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java254 File databaseFile = context.getDatabasePath(devicePropertiesName); in initDeviceProperties() local
256 if (databaseFile.exists()) { in initDeviceProperties()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java6131 File databaseFile = new File(Environment.getDataSystemDeDirectory(userId),
6133 return databaseFile.getPath();
6137 File databaseFile = new File(Environment.getDataSystemCeDirectory(userId),
6139 return databaseFile.getPath();
6144 File databaseFile = new File(Environment.getUserSystemDirectory(userId),
6152 if (oldFile.exists() && !databaseFile.exists()) {
6161 if (!oldFile.renameTo(databaseFile)) {
6163 "User dir cannot be migrated: " + databaseFile);
6167 return databaseFile.getPath();