Searched refs:databaseFile (Results 1 – 3 of 3) sorted by relevance
240 File databaseFile = context.getDatabasePath(devicePropertiesName); in initDeviceProperties() local242 if (databaseFile.exists()) { in initDeviceProperties()
2728 File databaseFile = new File(Environment.getUserSystemDirectory(userId), DATABASE_NAME); in getDatabaseName() local2735 if (oldFile.exists() && !databaseFile.exists()) { in getDatabaseName()2743 if (!oldFile.renameTo(databaseFile)) { in getDatabaseName()2744 throw new IllegalStateException("User dir cannot be migrated: " + databaseFile); in getDatabaseName()2748 return databaseFile.getPath(); in getDatabaseName()
104 File databaseFile = new File( in dbNameForUser() local106 return databaseFile.getPath(); in dbNameForUser()