Searched refs:databaseFile (Results 1 – 4 of 4) sorted by relevance
280 File databaseFile = new File(db.getPath()); in getDatabaseLocked() local283 if (SQLiteDatabase.deleteDatabase(databaseFile)) { in getDatabaseLocked()
117 File databaseFile = new File( in dbNameForUser() local121 if (!databaseFile.exists()) { in dbNameForUser()125 return databaseFile.getPath(); in dbNameForUser()149 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in dropDatabase() local150 if (databaseFile.exists()) { in dropDatabase()151 databaseFile.delete(); in dropDatabase()166 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in backupDatabase() local167 if (!databaseFile.exists()) { in backupDatabase()175 databaseFile.renameTo(backupFile); in backupDatabase()
254 File databaseFile = context.getDatabasePath(devicePropertiesName); in initDeviceProperties() local256 if (databaseFile.exists()) { in initDeviceProperties()
6131 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();