Home
last modified time | relevance | path

Searched defs:prefs (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java54 SharedPreferences prefs = getPrefs(); in setUp() local
71 SharedPreferences prefs = getPrefs(); in testCommitCreatesFiles() local
78 SharedPreferences prefs = getPrefs(); in testDefaults() local
92 SharedPreferences prefs = getPrefs(); in testPutNullRemovesKey() local
119 SharedPreferences prefs = getPrefs(); in test() local
219 SharedPreferences prefs = getPrefs(); in testRedundantCommitWritesFileIfNotAlreadyExisting() local
240 SharedPreferences prefs = mContext.getSharedPreferences("torture", Context.MODE_PRIVATE); in testTorture() local
281 … SharedPreferences prefs = mContext.getSharedPreferences(prefsName, Context.MODE_PRIVATE); in testTorture2() local
354 final SharedPreferences prefs = getPrefs(); in testSharedPrefsChangeListenerIsCalledOnCommit() local
373 final SharedPreferences prefs = getPrefs(); in testSharedPrefsChangeListenerIsCalledOnApply() local
[all …]
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
DSharedPrefsProvider.kt52 val prefs = getSharedPreferences(context) in getType() constant
70 val prefs = getSharedPreferences(context) in update() constant
83 val prefs = getSharedPreferences(context) in delete() constant
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DBootReceiver.java22 SharedPreferences prefs = context.createDeviceProtectedStorageContext() in onReceive() local
40 SharedPreferences prefs = in waitForBootComplete() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java112 SharedPreferences prefs = getPreferences(MODE_PRIVATE); in loadPolicy() local
135 SharedPreferences prefs = getPreferences(MODE_PRIVATE); in generateRandomPolicy() local
175 SharedPreferences prefs = getPreferences(MODE_PRIVATE); in handleAddDeviceAdminResult() local
262 void loadExpectedValue(SharedPreferences prefs); in loadExpectedValue()
300 public final void loadExpectedValue(SharedPreferences prefs) { in loadExpectedValue()
305 protected abstract T getPreferencesValue(SharedPreferences prefs); in getPreferencesValue()
371 protected final Integer getPreferencesValue(SharedPreferences prefs) { in getPreferencesValue()
395 protected final Long getPreferencesValue(SharedPreferences prefs) { in getPreferencesValue()
/cts/hostsidetests/backup/RestoreAnyVersion/src/
DRestoreAnyVersionTest.java102 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in saveAppVersionCodeToSharedPreference() local
111 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in getAppSharedPreference() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAutomaticZenRuleStatusReceiver.java34 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
DBlockChangeReceiver.java33 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
DConditionProviderVerifierActivity.java709 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in test() local
738 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in tearDown() local
786 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in test() local
815 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in tearDown() local
862 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in test() local
891 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in tearDown() local
DNotificationListenerVerifierActivity.java448 SharedPreferences prefs = in test() local
475 SharedPreferences prefs = in tearDown() local
627 SharedPreferences prefs = in test() local
653 SharedPreferences prefs = in tearDown() local
698 SharedPreferences prefs = in test() local
730 SharedPreferences prefs = in tearDown() local
775 SharedPreferences prefs = in test() local
801 SharedPreferences prefs = in tearDown() local
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DBroadcastIntentReceiver.java37 SharedPreferences prefs = c.getSharedPreferences(PREFERENCES_NAME, Context.MODE_PRIVATE); in onReceive() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DGarageModeTestActivity.java84 SharedPreferences prefs = context.getSharedPreferences( in onCreate() local
124 SharedPreferences prefs = context.getSharedPreferences( in verifyStatus() local
DGarageModeChecker.java164 SharedPreferences prefs = mIdleJobContext.getSharedPreferences(PREFS_FILE_NAME, in onStartJob() local
204 SharedPreferences prefs = mIdleJobContext.getSharedPreferences(PREFS_FILE_NAME, in doInBackground() local
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java108 SharedPreferences prefs = mContext.getSharedPreferences(PREFERENCES_FILE_NAME, 0); in writeToPreferences() local
149 SharedPreferences prefs = mContext.getSharedPreferences(PREFERENCES_FILE_NAME, 0); in assertPreferencesDataDoesNotExist() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39797/test-app/src/android/security/cts/CVE_2021_39797_test/
DPocActivity.java38 SharedPreferences prefs = in onCreate() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java185 SharedPreferences prefs = in getMarkerDistance() local
194 SharedPreferences prefs = in getTargetDistance() local
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java230 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in saveSharedPreferencesValues() local
257 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in readSharedPrefValues() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java860 final SharedPreferences prefs = getProvisioningPreferences(context); in markProvisioningCompleteBroadcastWithStatus() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java436 final SharedPreferences prefs = in testVerifyLogIds() local