Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DDeviceConfig.java740 Pair<ContentObserver, Integer> namespaceCount = sNamespaces.get(namespace); in incrementNamespace() local
741 if (namespaceCount != null) { in incrementNamespace()
742 sNamespaces.put(namespace, new Pair<>(namespaceCount.first, namespaceCount.second + 1)); in incrementNamespace()
769 Pair<ContentObserver, Integer> namespaceCount = sNamespaces.get(namespace); in decrementNamespace() local
770 if (namespaceCount == null) { in decrementNamespace()
773 } else if (namespaceCount.second > 1) { in decrementNamespace()
774 sNamespaces.put(namespace, new Pair<>(namespaceCount.first, namespaceCount.second - 1)); in decrementNamespace()
778 .unregisterContentObserver(namespaceCount.first); in decrementNamespace()