Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchSuggestionSpecToProtoConverter.java130 String prefixedNamespace = prefix + entry.getKey(); in toSearchSuggestionSpecProto() local
131 if (mTargetPrefixedNamespaceFilters.contains(prefixedNamespace)) { in toSearchSuggestionSpecProto()
134 .setNamespace(prefixedNamespace) in toSearchSuggestionSpecProto()
DSearchSpecToProtoConverter.java618 for (String prefixedNamespace : prefixedNamespaces) { in getNamespaceToPrefixedNamespaces()
621 namespace = removePrefix(prefixedNamespace); in getNamespaceToPrefixedNamespaces()
624 Log.e(TAG, "Prefixed namespace " + prefixedNamespace + " is malformed."); in getNamespaceToPrefixedNamespaces()
633 groupedPrefixedNamespaces.add(prefixedNamespace); in getNamespaceToPrefixedNamespaces()
659 for (String prefixedNamespace : prefixedNamespaces) { in getPackageAndNamespaceToPrefixedNamespaces()
662 namespace = removePrefix(prefixedNamespace); in getPackageAndNamespaceToPrefixedNamespaces()
665 Log.e(TAG, "Prefixed namespace " + prefixedNamespace + " is malformed."); in getPackageAndNamespaceToPrefixedNamespaces()
676 namespaceList.add(prefixedNamespace); in getPackageAndNamespaceToPrefixedNamespaces()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java392 String prefixedNamespace = prefixedNamespaceList.get(i); in AppSearchImpl() local
393 addToMap(mNamespaceMapLocked, getPrefix(prefixedNamespace), prefixedNamespace); in AppSearchImpl()
1007 String prefixedNamespace = getAllNamespacesResultProto.getNamespaces(i); in getNamespaces() local
1008 if (prefixedNamespace.startsWith(prefix)) { in getNamespaces()
1009 results.add(prefixedNamespace.substring(prefix.length())); in getNamespaces()
1847 String prefixedNamespace = createPrefix(packageName, databaseName) + namespace; in reportUsage() local
1854 .setDocumentNamespace(prefixedNamespace) in reportUsage()
1893 String prefixedNamespace = createPrefix(packageName, databaseName) + namespace; in remove() local
1902 TAG, "removeById, getRequest", prefixedNamespace + ", " + documentId); in remove()
1906 prefixedNamespace, documentId, GET_RESULT_SPEC_NO_PROPERTIES); in remove()
[all …]