Searched refs:versionStr (Results 1 – 2 of 2) sorted by relevance
40 String versionStr = parser.getAttributeValue(null, VERSION_ATTR); in read() local42 switch (Integer.parseInt(versionStr)) { in read()48 Slog.e(TAG, "Unrecognized version " + versionStr); in read()49 throw new IOException("Unrecognized version " + versionStr); in read()
273 String versionStr = new Float(version).toString(); in retrieveConfigurationsFromBackupData() local274 int separatorPos = versionStr.indexOf('.'); in retrieveConfigurationsFromBackupData()276 majorVersion = Integer.parseInt(versionStr); in retrieveConfigurationsFromBackupData()279 majorVersion = Integer.parseInt(versionStr.substring(0, separatorPos)); in retrieveConfigurationsFromBackupData()280 minorVersion = Integer.parseInt(versionStr.substring(separatorPos + 1)); in retrieveConfigurationsFromBackupData()