HomeSort by relevance Sort by last modified time
    Searched refs:SharedPreferences (Results 251 - 275 of 610) sorted by null

<<11121314151617181920>>

  /packages/apps/Dialer/java/com/android/contacts/common/list/
ContactListFilterController.java 19 import android.content.SharedPreferences;
62 * to the last saved filter in {@link SharedPreferences}.
74 * SharedPreferences} if necessary.
104 private SharedPreferences getSharedPreferences() {
  /packages/apps/Dialer/java/com/android/dialer/blocking/
BlockedNumbersAutoMigrator.java 20 import android.content.SharedPreferences;
50 * @throws NullPointerException if sharedPreferences or queryHandler are null.
108 SharedPreferences sharedPreferences =
111 if (sharedPreferences.contains(HAS_CHECKED_AUTO_MIGRATE_KEY)) {
126 sharedPreferences.edit().putBoolean(HAS_CHECKED_AUTO_MIGRATE_KEY, true).apply();
  /packages/apps/Dialer/java/com/android/dialer/util/
SettingsUtil.java 20 import android.content.SharedPreferences;
54 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
PawSecretCodeListener.java 22 import android.content.SharedPreferences;
57 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
UserManagerCompatVL.java 20 import android.content.SharedPreferences;
125 SharedPreferences prefs = Utilities.getPrefs(mContext);
  /packages/apps/Launcher3/src/com/android/launcher3/dynamicui/
ExtractionUtils.java 25 import android.content.SharedPreferences;
75 final SharedPreferences sharedPrefs = Utilities.getPrefs(context);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
BillingCycleSettingsTest.java 20 import android.content.SharedPreferences;
51 SharedPreferences mSharedPreferences;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DevelopmentSettingsEnablerTest.java 20 import android.content.SharedPreferences;
43 private SharedPreferences mDevelopmentPreferences;
  /packages/apps/TV/src/com/android/tv/dvr/
DvrWatchedPositionManager.java 20 import android.content.SharedPreferences;
42 private SharedPreferences mWatchedPositions;
  /packages/apps/TV/src/com/android/tv/receiver/
AudioCapabilitiesReceiver.java 22 import android.content.SharedPreferences;
123 private SharedPreferences getSharedPreferences() {
  /packages/apps/TV/src/com/android/tv/util/
RecurringRunner.java 20 import android.content.SharedPreferences;
34 * <p>The next execution time is saved to a {@link SharedPreferences}, and used on the next start.
113 private SharedPreferences getSharedPreferences() {
120 // The access to SharedPreferences is done by an AsyncTask thread because
121 // SharedPreferences reads to disk at first time.
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
MailPrefs.java 21 import android.content.SharedPreferences;
268 final SharedPreferences sharedPreferences = getSharedPreferences();
270 sharedPreferences.getString(PreferenceKeys.REMOVAL_ACTION, null);
274 return sharedPreferences.getString(PreferenceKeys.REMOVAL_ACTION,
291 final SharedPreferences sharedPreferences = getSharedPreferences();
292 return sharedPreferences.getBoolean(PreferenceKeys.CONVERSATION_LIST_SWIPE, true);
384 final SharedPreferences sharedPreferences = getSharedPreferences()
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtilsTests.java 23 import android.content.SharedPreferences;
43 private final SharedPreferences mPref;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
FlipperDreamSettings.java 19 import android.content.SharedPreferences;
39 protected SharedPreferences mSettings;
StockSource.java 19 import android.content.SharedPreferences;
41 public StockSource(Context context, SharedPreferences settings) {
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraSettings.java 21 import android.content.SharedPreferences;
22 import android.content.SharedPreferences.Editor;
105 SharedPreferences.Editor editor = ComboPreferences
287 public static void upgradeLocalPreferences(SharedPreferences pref) {
296 SharedPreferences.Editor editor = pref.edit();
306 public static void upgradeGlobalPreferences(SharedPreferences pref) {
315 SharedPreferences.Editor editor = pref.edit();
352 public static int readPreferredCameraId(SharedPreferences pref) {
356 public static void writePreferredCameraId(SharedPreferences pref,
375 public static int readEffectType(SharedPreferences pref)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
SimpleReaderActivity.java 6 import android.content.SharedPreferences;
44 SharedPreferences mPrefs;
174 SharedPreferences.Editor editor = mPrefs.edit();
182 SharedPreferences.Editor editor = mPrefs.edit();
  /cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java 21 import android.content.SharedPreferences;
109 SharedPreferences prefs = mContext.getSharedPreferences(PREFERENCES_FILE_NAME, 0);
110 SharedPreferences.Editor editor = prefs.edit();
150 SharedPreferences prefs = mContext.getSharedPreferences(PREFERENCES_FILE_NAME, 0);
  /cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
KeyValueBackupRestoreTest.java 32 import android.content.SharedPreferences;
138 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE);
139 SharedPreferences.Editor editor = prefs.edit();
165 SharedPreferences prefs = mContext.getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE);
  /developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
FitDistanceWatchFaceConfigActivity.java 17 import android.content.SharedPreferences;
74 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE);
76 sharedPreferences.getBoolean(PREFS_FIT_ENABLED_BY_USER, false);
247 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE);
248 SharedPreferences.Editor editor = sharedPreferences.edit();
  /developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/datasource/
SharedPrefsAutofillRepository.kt 19 import android.content.SharedPreferences
27 * Singleton autofill data repository that stores autofill fields to SharedPreferences.
36 private fun getPrefs(context: Context): SharedPreferences {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SoftInputModes.java 7 import android.content.SharedPreferences;
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2.java 19 import android.content.SharedPreferences;
66 implements SharedPreferences.OnSharedPreferenceChangeListener {
87 private SharedPreferences mPrefs;
105 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java 21 import android.content.SharedPreferences;
22 import android.content.SharedPreferences.Editor;
182 SharedPreferences pref = getSharedPreferences(KEYCHAIN_PREF,
191 SharedPreferences pref = getSharedPreferences(KEYCHAIN_PREF,
  /development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
FitDistanceWatchFaceConfigActivity.java 17 import android.content.SharedPreferences;
74 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE);
76 sharedPreferences.getBoolean(PREFS_FIT_ENABLED_BY_USER, false);
247 SharedPreferences sharedPreferences = getPreferences(Context.MODE_PRIVATE);
248 SharedPreferences.Editor editor = sharedPreferences.edit();

Completed in 2501 milliseconds

<<11121314151617181920>>