Searched refs:databaseFile (Results 1 – 4 of 4) sorted by relevance
397 File databaseFile = new File(db.getPath()); in getDatabaseLocked() local400 if (SQLiteDatabase.deleteDatabase(databaseFile)) { in getDatabaseLocked()
119 File databaseFile = new File( in dbNameForUser() local123 if (!databaseFile.exists()) { in dbNameForUser()127 return databaseFile.getPath(); in dbNameForUser()151 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in dropDatabase() local152 if (databaseFile.exists()) { in dropDatabase()153 SQLiteDatabase.deleteDatabase(databaseFile); in dropDatabase()163 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in backupDatabase() local164 if (!databaseFile.exists()) { in backupDatabase()172 databaseFile.renameTo(backupFile); in backupDatabase()
384 File databaseFile = context.getDatabasePath(devicePropertiesName); in initDeviceProperties() local386 if (databaseFile.exists()) { in initDeviceProperties()
6349 File databaseFile = new File(Environment.getDataSystemDeDirectory(userId),6351 return databaseFile.getPath();6355 File databaseFile = new File(Environment.getDataSystemCeDirectory(userId),6357 return databaseFile.getPath();6362 File databaseFile = new File(Environment.getUserSystemDirectory(userId),6370 if (oldFile.exists() && !databaseFile.exists()) {6379 if (!oldFile.renameTo(databaseFile)) {6381 "User dir cannot be migrated: " + databaseFile);6385 return databaseFile.getPath();