/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 55 SharedPreferences prefs = getPrefs(); in setUp() local 77 SharedPreferences prefs = getPrefs(); in testCommitCreatesFiles() local 84 SharedPreferences prefs = getPrefs(); in testDefaults() local 98 SharedPreferences prefs = getPrefs(); in testPutNullRemovesKey() local 125 SharedPreferences prefs = getPrefs(); in test() local 225 SharedPreferences prefs = getPrefs(); in testRedundantCommitWritesFileIfNotAlreadyExisting() local 246 SharedPreferences prefs = mContext.getSharedPreferences("torture", Context.MODE_PRIVATE); in testTorture() local 287 … SharedPreferences prefs = mContext.getSharedPreferences(prefsName, Context.MODE_PRIVATE); in testTorture2() local 360 final SharedPreferences prefs = getPrefs(); in testSharedPrefsChangeListenerIsCalledOnCommit() local 379 final SharedPreferences prefs = getPrefs(); in testSharedPrefsChangeListenerIsCalledOnApply() local [all …]
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | SharedPrefsProvider.kt | 52 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/ |
D | BootReceiver.java | 22 SharedPreferences prefs = context.createDeviceProtectedStorageContext() in onReceive() local 40 SharedPreferences prefs = in waitForBootComplete() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | PolicySerializationTestActivity.java | 112 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/ |
D | RestoreAnyVersionTest.java | 102 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/car/ |
D | GarageModeTestActivity.java | 84 SharedPreferences prefs = context.getSharedPreferences( in onCreate() local 122 SharedPreferences prefs = context.getSharedPreferences( in verifyStatus() local
|
D | GarageModeChecker.java | 163 SharedPreferences prefs = mIdleJobContext.getSharedPreferences(PREFS_FILE_NAME, in onStartJob() local 192 SharedPreferences prefs = mIdleJobContext.getSharedPreferences(PREFS_FILE_NAME, in doInBackground() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AutomaticZenRuleStatusReceiver.java | 34 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
|
D | BlockChangeReceiver.java | 33 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
|
D | ConditionProviderVerifierActivity.java | 691 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in test() local 720 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in tearDown() local 768 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in test() local 797 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in tearDown() local 844 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in test() local 873 SharedPreferences prefs = mContext.getSharedPreferences(PREFS, Context.MODE_PRIVATE); in tearDown() local
|
D | NotificationListenerVerifierActivity.java | 384 SharedPreferences prefs = mContext.getSharedPreferences( in test() local 409 SharedPreferences prefs = mContext.getSharedPreferences( in tearDown() local 463 SharedPreferences prefs = mContext.getSharedPreferences( in test() local 488 SharedPreferences prefs = mContext.getSharedPreferences( in tearDown() local 610 SharedPreferences prefs = mContext.getSharedPreferences( in test() local 639 SharedPreferences prefs = mContext.getSharedPreferences( in tearDown() local 682 SharedPreferences prefs = mContext.getSharedPreferences( in test() local 707 SharedPreferences prefs = mContext.getSharedPreferences( in tearDown() local
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | BroadcastIntentReceiver.java | 37 SharedPreferences prefs = c.getSharedPreferences(PREFERENCES_NAME, Context.MODE_PRIVATE); in onReceive() local
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 108 SharedPreferences prefs = mContext.getSharedPreferences(PREFERENCES_FILE_NAME, 0); in writeToPreferences() local 149 SharedPreferences prefs = mContext.getSharedPreferences(PREFERENCES_FILE_NAME, 0); in assertPreferencesDataDoesNotExist() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 185 SharedPreferences prefs = in getMarkerDistance() local 194 SharedPreferences prefs = in getTargetDistance() local
|
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupRestoreTest.java | 229 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in saveSharedPreferencesValues() local 256 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); in readSharedPrefValues() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodFlowTestActivity.java | 889 final SharedPreferences prefs = getProvisioningPreferences(context); in markProvisioningCompleteBroadcastWithStatus() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SecurityLoggingTest.java | 374 final SharedPreferences prefs = in testVerifyLogIds() local
|