Searched refs:sharedPref (Results 1 – 4 of 4) sorted by relevance
99 final SharedPreferences sharedPref = getSharedPreferences(); in writeSessionIdToDisk() local100 assertThat(sharedPref.edit().putLong(KEY_SESSION_ID, sessionId).commit()) in writeSessionIdToDisk()105 final SharedPreferences sharedPref = getSharedPreferences(); in readSessionIdFromDisk() local106 final long sessionId = sharedPref.getLong(KEY_SESSION_ID, -1); in readSessionIdFromDisk()122 final SharedPreferences sharedPref = getSharedPreferences(); in readBlobHandleFromDisk() local123 final byte[] digest = Base64.getDecoder().decode(sharedPref.getString(KEY_DIGEST, null)); in readBlobHandleFromDisk()124 final CharSequence label = sharedPref.getString(KEY_LABEL, null); in readBlobHandleFromDisk()125 final long expiryMillis = sharedPref.getLong(KEY_EXPIRY, -1); in readBlobHandleFromDisk()126 final String tag = sharedPref.getString(KEY_TAG, null); in readBlobHandleFromDisk()
56 SharedPreferences sharedPref = in apply()61 sharedPref in apply()
47 SharedPreferences sharedPref = getSharedPreferences( in setResult() local49 SharedPreferences.Editor editor = sharedPref.edit(); in setResult()
681 private final SharedPreferences sharedPref = getSharedPreferences(PREFERENCE_FILE_NAME, 0); field in VrListenerVerifierActivity.PersistentTestStatusHandler685 String stringStatus = sharedPref.getString(key, Status.WAIT_FOR_USER.name()); in getStatusOfTest()694 SharedPreferences.Editor editor = sharedPref.edit(); in setStatusOfTest()700 SharedPreferences.Editor editor = sharedPref.edit(); in clear()