Home
last modified time | relevance | path

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

/cts/tests/tests/uidmigration/DataTestApp/src/android/uidmigration/cts/
DDataProvider.kt29 private lateinit var mPrefs: SharedPreferences variable in android.uidmigration.cts.DataProvider
32 mPrefs = requireContext().getSharedPreferences("prefs", Context.MODE_PRIVATE) in onCreate()
42 val uuid = mPrefs.getString(prefsKey, null) ?: UUID.randomUUID().toString().also { in checkData()
43 mPrefs.edit().putString(prefsKey, it).commit() in checkData()
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/
DSharedPrefsRestoreTestActivity.java47 SharedPreferences mPrefs; field in SharedPrefsRestoreTestActivity
54 mPrefs = getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in onCreate()
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/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DSimpleOffhostReaderActivity.java67 SharedPreferences mPrefs; field in SimpleOffhostReaderActivity
92 mPrefs = getSharedPreferences(PREFS_NAME, 0); in onCreate()
93 mIsTypeB = mPrefs.getBoolean("typeB", false); in onCreate()
126 mIsTypeB = mPrefs.getBoolean("typeB", false); in onTagDiscovered()
294 SharedPreferences.Editor editor = mPrefs.edit(); in onItemSelected()
302 SharedPreferences.Editor editor = mPrefs.edit(); in onItemSelected()