Home
last modified time | relevance | path

Searched refs:INT_PREF (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/
DSharedPrefsRestoreTestActivity.java41 private static final String INT_PREF = "int-pref"; field in SharedPrefsRestoreTestActivity
80 final int currentValue = mPrefs.getInt(INT_PREF, INT_PREF_DEFAULT_VALUE); in processLaunchCommand()
99 boolean success = mPrefs.edit().putInt(INT_PREF, value).commit(); in setPrefValue()
/cts/hostsidetests/backup/RestoreAnyVersion/src/
DRestoreAnyVersionTest.java50 static final String INT_PREF = "int-pref"; field in RestoreAnyVersionTest
104 editor.putInt(INT_PREF, in saveAppVersionCodeToSharedPreference()
112 int intValue = prefs.getInt(INT_PREF, DEFAULT_INT_VALUE); in getAppSharedPreference()
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java74 private static final String INT_PREF = "int-pref"; field in KeyValueBackupRestoreTest
222 editor.putInt(INT_PREF, INT_PREF_VALUE); in saveSharedPreferencesValues()
248 mIntValue = prefs.getInt(INT_PREF, DEFAULT_INT_VALUE); in readSharedPrefValues()
259 Log.i(TAG, INT_PREF + ":" + mIntValue + "\n" in readSharedPrefValues()