Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DDeviceConfig.java600 @NonNull OnPropertiesChangedListener onPropertiesChangedListener) { in addOnPropertiesChangedListener() argument
604 Pair<String, Executor> oldNamespace = sListeners.get(onPropertiesChangedListener); in addOnPropertiesChangedListener()
607 sListeners.put(onPropertiesChangedListener, new Pair<>(namespace, executor)); in addOnPropertiesChangedListener()
611 sListeners.put(onPropertiesChangedListener, new Pair<>(namespace, executor)); in addOnPropertiesChangedListener()
614 decrementNamespace(sListeners.get(onPropertiesChangedListener).first); in addOnPropertiesChangedListener()
615 sListeners.put(onPropertiesChangedListener, new Pair<>(namespace, executor)); in addOnPropertiesChangedListener()
654 @NonNull OnPropertiesChangedListener onPropertiesChangedListener) { in removeOnPropertiesChangedListener()
655 Preconditions.checkNotNull(onPropertiesChangedListener); in removeOnPropertiesChangedListener()
657 if (sListeners.containsKey(onPropertiesChangedListener)) { in removeOnPropertiesChangedListener()
658 decrementNamespace(sListeners.get(onPropertiesChangedListener).first); in removeOnPropertiesChangedListener()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java89 DeviceConfig.OnPropertiesChangedListener onPropertiesChangedListener = in apply() local
92 onPropertiesChangedListener, new Pair<>(namespace, executor)); in apply()