Searched refs:versionStr (Results 1 – 2 of 2) sorted by relevance
44 String versionStr = parser.getAttributeValue(null, VERSION_ATTR); in read() local46 switch (Integer.parseInt(versionStr)) { in read()52 Slog.e(TAG, "Unrecognized version " + versionStr); in read()53 throw new IOException("Unrecognized version " + versionStr); in read()
247 String versionStr = new Float(version).toString(); in retrieveConfigurationsFromBackupData() local248 int separatorPos = versionStr.indexOf('.'); in retrieveConfigurationsFromBackupData()250 majorVersion = Integer.parseInt(versionStr); in retrieveConfigurationsFromBackupData()253 majorVersion = Integer.parseInt(versionStr.substring(0, separatorPos)); in retrieveConfigurationsFromBackupData()254 minorVersion = Integer.parseInt(versionStr.substring(separatorPos + 1)); in retrieveConfigurationsFromBackupData()