Home
last modified time | relevance | path

Searched refs:onPropertyChangedListener (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/provider/
DDeviceConfig.java559 @NonNull OnPropertyChangedListener onPropertyChangedListener) { in addOnPropertyChangedListener() argument
563 Pair<String, Executor> oldNamespace = sSingleListeners.get(onPropertyChangedListener); in addOnPropertyChangedListener()
566 sSingleListeners.put(onPropertyChangedListener, new Pair<>(namespace, executor)); in addOnPropertyChangedListener()
570 sSingleListeners.put(onPropertyChangedListener, new Pair<>(namespace, executor)); in addOnPropertyChangedListener()
573 decrementNamespace(sSingleListeners.get(onPropertyChangedListener).first); in addOnPropertyChangedListener()
574 sSingleListeners.put(onPropertyChangedListener, new Pair<>(namespace, executor)); in addOnPropertyChangedListener()
633 @NonNull OnPropertyChangedListener onPropertyChangedListener) { in removeOnPropertyChangedListener()
634 Preconditions.checkNotNull(onPropertyChangedListener); in removeOnPropertyChangedListener()
636 if (sSingleListeners.containsKey(onPropertyChangedListener)) { in removeOnPropertyChangedListener()
637 decrementNamespace(sSingleListeners.get(onPropertyChangedListener).first); in removeOnPropertyChangedListener()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java101 DeviceConfig.OnPropertyChangedListener onPropertyChangedListener = in apply() local
104 onPropertyChangedListener, new Pair<>(namespace, executor)); in apply()