Home
last modified time | relevance | path

Searched refs:versionStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXml.java44 String versionStr = parser.getAttributeValue(null, VERSION_ATTR); in read() local
46 switch (Integer.parseInt(versionStr)) { in read()
52 Slog.e(TAG, "Unrecognized version " + versionStr); in read()
53 throw new IOException("Unrecognized version " + versionStr); in read()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java247 String versionStr = new Float(version).toString(); in retrieveConfigurationsFromBackupData() local
248 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()