Home
last modified time | relevance | path

Searched refs:OnSharedPreferenceChangeListener (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePrefs.java21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
52 public static void unregisterCallbacks(Context c, OnSharedPreferenceChangeListener listener) { in unregisterCallbacks()
56 public static void registerCallbacks(Context c, OnSharedPreferenceChangeListener listener) { in registerCallbacks()
/frameworks/base/core/java/android/content/
DSharedPreferences.java53 public interface OnSharedPreferenceChangeListener { interface
383 void registerOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener); in registerOnSharedPreferenceChangeListener()
391 void unregisterOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener); in unregisterOnSharedPreferenceChangeListener()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DSettingsActivity.java18 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
30 OnSharedPreferenceChangeListener {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DApprovedPrintServices.java22 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
116 public void registerChangeListenerLocked(OnSharedPreferenceChangeListener listener) { in registerChangeListenerLocked()
125 public void unregisterChangeListener(OnSharedPreferenceChangeListener listener) { in unregisterChangeListener()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DFakeSharedPreferences.kt33 private val listeners = mutableSetOf<SharedPreferences.OnSharedPreferenceChangeListener>() in <lambda>()
72 listener: SharedPreferences.OnSharedPreferenceChangeListener in <lambda>()
78 listener: SharedPreferences.OnSharedPreferenceChangeListener in <lambda>()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java106 private final WeakHashMap<OnSharedPreferenceChangeListener, Object> mListeners =
107 new WeakHashMap<OnSharedPreferenceChangeListener, Object>();
256 … public void registerOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener) { in registerOnSharedPreferenceChangeListener()
263 …public void unregisterOnSharedPreferenceChangeListener(OnSharedPreferenceChangeListener listener) { in unregisterOnSharedPreferenceChangeListener()
379 @Nullable final Set<OnSharedPreferenceChangeListener> listeners;
389 @Nullable Set<OnSharedPreferenceChangeListener> listeners, in MemoryCommitResult()
519 Set<OnSharedPreferenceChangeListener> listeners = null; in commitToMemory()
539 listeners = new HashSet<OnSharedPreferenceChangeListener>(mListeners.keySet()); in commitToMemory()
627 for (OnSharedPreferenceChangeListener listener : mcr.listeners) { in notifyListeners()
635 for (OnSharedPreferenceChangeListener listener : mcr.listeners) { in notifyListeners()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeSharedPreferences.java131 OnSharedPreferenceChangeListener listener) { in registerOnSharedPreferenceChangeListener()
136 OnSharedPreferenceChangeListener listener) { in unregisterOnSharedPreferenceChangeListener()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DPrefState.java21 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
27 public class PrefState implements OnSharedPreferenceChangeListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java22 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
172 OnSharedPreferenceChangeListener listener) { in registerListener()
177 OnSharedPreferenceChangeListener listener) { in unregisterListener()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DSharedPreferencesLogger.java97 OnSharedPreferenceChangeListener listener) { in registerOnSharedPreferenceChangeListener()
102 OnSharedPreferenceChangeListener listener) { in unregisterOnSharedPreferenceChangeListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java27 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
302 private final OnSharedPreferenceChangeListener mPrefListener
303 = new OnSharedPreferenceChangeListener() {
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java27 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
434 private class PreferenceListener implements OnSharedPreferenceChangeListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceLocalUserSelectionManager.kt117 SharedPreferences.OnSharedPreferenceChangeListener { _, _ -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DFakeSharedPreferencesTest.kt40 private lateinit var listener: SharedPreferences.OnSharedPreferenceChangeListener in <lambda>()
/frameworks/base/config/
Ddirty-image-objects77 Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;
Dpreloaded-classes1319 android.content.SharedPreferences$OnSharedPreferenceChangeListener
Dboot-image-profile.txt2628 …aredPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V
2631 …aredPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V
33710 Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java35 import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
1493 implements OnSharedPreferenceChangeListener {
/frameworks/base/boot/
Dpreloaded-classes1315 android.content.SharedPreferences$OnSharedPreferenceChangeListener
Dboot-image-profile.txt2628 …aredPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V
2631 …aredPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V
23742 Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8137 …SharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener);
8138 …SharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener);
8154 public static abstract interface SharedPreferences.OnSharedPreferenceChangeListener {
/frameworks/base/core/api/
Dcurrent.txt10863 …SharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener);
10864 …SharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener);
10880 public static interface SharedPreferences.OnSharedPreferenceChangeListener {