Home
last modified time | relevance | path

Searched refs:sharedPref (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DDataPersistenceTest.java99 final SharedPreferences sharedPref = getSharedPreferences(); in writeSessionIdToDisk() local
100 assertThat(sharedPref.edit().putLong(KEY_SESSION_ID, sessionId).commit()) in writeSessionIdToDisk()
105 final SharedPreferences sharedPref = getSharedPreferences(); in readSessionIdFromDisk() local
106 final long sessionId = sharedPref.getLong(KEY_SESSION_ID, -1); in readSessionIdFromDisk()
122 final SharedPreferences sharedPref = getSharedPreferences(); in readBlobHandleFromDisk() local
123 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()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/testrules/
DTestNameSaver.java56 SharedPreferences sharedPref = in apply()
61 sharedPref in apply()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39701/src/android/security/cts/CVE_2021_39701/
DPocService.java47 SharedPreferences sharedPref = getSharedPreferences( in setResult() local
49 SharedPreferences.Editor editor = sharedPref.edit(); in setResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java681 private final SharedPreferences sharedPref = getSharedPreferences(PREFERENCE_FILE_NAME, 0); field in VrListenerVerifierActivity.PersistentTestStatusHandler
685 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()