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.java40 String versionStr = parser.getAttributeValue(null, VERSION_ATTR); in read() local
42 switch (Integer.parseInt(versionStr)) { in read()
48 Slog.e(TAG, "Unrecognized version " + versionStr); in read()
49 throw new IOException("Unrecognized version " + versionStr); in read()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java273 String versionStr = new Float(version).toString(); in retrieveConfigurationsFromBackupData() local
274 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()