Home
last modified time | relevance | path

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

/packages/modules/ConfigInfrastructure/framework/java/android/provider/
DDeviceConfig.java1586 Pair<ContentObserver, Integer> namespaceCount = sNamespaces.get(namespace); in incrementNamespace() local
1587 if (namespaceCount != null) { in incrementNamespace()
1588 sNamespaces.put(namespace, new Pair<>(namespaceCount.first, namespaceCount.second + 1)); in incrementNamespace()
1615 Pair<ContentObserver, Integer> namespaceCount = sNamespaces.get(namespace); in decrementNamespace() local
1616 if (namespaceCount == null) { in decrementNamespace()
1619 } else if (namespaceCount.second > 1) { in decrementNamespace()
1620 sNamespaces.put(namespace, new Pair<>(namespaceCount.first, namespaceCount.second - 1)); in decrementNamespace()
1623 sDataStore.unregisterContentObserver(namespaceCount.first); in decrementNamespace()