Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java44 @NonNull DeviceConfig.OnPropertiesChangedListener onPropertiesChangedListener) { in addOnPropertiesChangedListener() argument
46 namespace, executor, onPropertiesChangedListener); in addOnPropertiesChangedListener()
109 @NonNull DeviceConfig.OnPropertiesChangedListener onPropertiesChangedListener) { in removeOnPropertiesChangedListener()
110 DeviceConfig.removeOnPropertiesChangedListener(onPropertiesChangedListener); in removeOnPropertiesChangedListener()
/frameworks/base/core/java/android/provider/
DDeviceConfig.java683 @NonNull OnPropertiesChangedListener onPropertiesChangedListener) { in addOnPropertiesChangedListener() argument
687 Pair<String, Executor> oldNamespace = sListeners.get(onPropertiesChangedListener); in addOnPropertiesChangedListener()
690 sListeners.put(onPropertiesChangedListener, new Pair<>(namespace, executor)); in addOnPropertiesChangedListener()
694 sListeners.put(onPropertiesChangedListener, new Pair<>(namespace, executor)); in addOnPropertiesChangedListener()
697 decrementNamespace(sListeners.get(onPropertiesChangedListener).first); in addOnPropertiesChangedListener()
698 sListeners.put(onPropertiesChangedListener, new Pair<>(namespace, executor)); in addOnPropertiesChangedListener()
715 @NonNull OnPropertiesChangedListener onPropertiesChangedListener) { in removeOnPropertiesChangedListener()
716 Preconditions.checkNotNull(onPropertiesChangedListener); in removeOnPropertiesChangedListener()
718 if (sListeners.containsKey(onPropertiesChangedListener)) { in removeOnPropertiesChangedListener()
719 decrementNamespace(sListeners.get(onPropertiesChangedListener).first); in removeOnPropertiesChangedListener()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DDeviceConfigProxyFake.java49 OnPropertiesChangedListener onPropertiesChangedListener) { in addOnPropertiesChangedListener() argument
50 mListeners.add(Pair.create(executor, onPropertiesChangedListener)); in addOnPropertiesChangedListener()
55 OnPropertiesChangedListener onPropertiesChangedListener) { in removeOnPropertiesChangedListener() argument
60 return listener.second.equals(onPropertiesChangedListener); in removeOnPropertiesChangedListener()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfig.java84 DeviceConfig.OnPropertiesChangedListener onPropertiesChangedListener = in setUpMockBehaviors() local
87 onPropertiesChangedListener, new Pair<>(namespace, executor)); in setUpMockBehaviors()