Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DDeviceConfig.java589 @NonNull OnPropertyChangedListener onPropertyChangedListener) { in addOnPropertyChangedListener() argument
593 Pair<String, Executor> oldNamespace = sSingleListeners.get(onPropertyChangedListener); in addOnPropertyChangedListener()
596 sSingleListeners.put(onPropertyChangedListener, new Pair<>(namespace, executor)); in addOnPropertyChangedListener()
600 sSingleListeners.put(onPropertyChangedListener, new Pair<>(namespace, executor)); in addOnPropertyChangedListener()
603 decrementNamespace(sSingleListeners.get(onPropertyChangedListener).first); in addOnPropertyChangedListener()
604 sSingleListeners.put(onPropertyChangedListener, new Pair<>(namespace, executor)); in addOnPropertyChangedListener()
663 @NonNull OnPropertyChangedListener onPropertyChangedListener) { in removeOnPropertyChangedListener()
664 Preconditions.checkNotNull(onPropertyChangedListener); in removeOnPropertyChangedListener()
666 if (sSingleListeners.containsKey(onPropertyChangedListener)) { in removeOnPropertyChangedListener()
667 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()