Searched refs:namespaceCount (Results 1 – 1 of 1) sorted by relevance
1586 Pair<ContentObserver, Integer> namespaceCount = sNamespaces.get(namespace); in incrementNamespace() local1587 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() local1616 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()