Searched refs:removePrefix (Results 1 – 7 of 7) sorted by relevance
85 assertThat(PrefixUtil.removePrefix("foo$bar/id")).isEqualTo("id"); in testRemovePrefix()86 assertThat(PrefixUtil.removePrefix("foo/bar")).isEqualTo("bar"); in testRemovePrefix()92 assertThrows(AppSearchException.class, () -> PrefixUtil.removePrefix("foo$bar")); in testRemovePrefix_missingDelimiter()97 e = assertThrows(AppSearchException.class, () -> PrefixUtil.removePrefix("foo")); in testRemovePrefix_missingDelimiter()
108 public static String removePrefix(@NonNull String prefixedString) throws AppSearchException { in removePrefix() method in PrefixUtil205 documentBuilder.setSchema(removePrefix(documentBuilder.getSchema())); in removePrefixesFromDocument()206 documentBuilder.setNamespace(removePrefix(documentBuilder.getNamespace())); in removePrefixesFromDocument()
22 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.removePrefix;621 namespace = removePrefix(prefixedNamespace); in getNamespaceToPrefixedNamespaces()662 namespace = removePrefix(prefixedNamespace); in getPackageAndNamespaceToPrefixedNamespaces()699 schema = removePrefix(prefixedSchema); in getSchemaToPrefixedSchemas()737 schema = removePrefix(prefixedSchema); in getPackageAndSchemaToPrefixedSchemas()
290 result.add(PrefixUtil.removePrefix(prefixedParentType)); in getUnprefixedParentSchemaTypes()
945 assertThat(PrefixUtil.removePrefix(grouping1.getEntryGroupings(0).getNamespace())) in testToResultSpecProto_groupByNamespace()946 .isEqualTo(PrefixUtil.removePrefix(grouping1.getEntryGroupings(1).getNamespace())); in testToResultSpecProto_groupByNamespace()951 assertThat(PrefixUtil.removePrefix(grouping2.getEntryGroupings(0).getNamespace())) in testToResultSpecProto_groupByNamespace()952 .isEqualTo(PrefixUtil.removePrefix(grouping2.getEntryGroupings(1).getNamespace())); in testToResultSpecProto_groupByNamespace()993 assertThat(PrefixUtil.removePrefix(grouping1.getEntryGroupings(0).getSchema())) in testToResultSpecProto_groupBySchema()994 .isEqualTo(PrefixUtil.removePrefix(grouping1.getEntryGroupings(1).getSchema())); in testToResultSpecProto_groupBySchema()999 assertThat(PrefixUtil.removePrefix(grouping2.getEntryGroupings(0).getSchema())) in testToResultSpecProto_groupBySchema()1000 .isEqualTo(PrefixUtil.removePrefix(grouping2.getEntryGroupings(1).getSchema())); in testToResultSpecProto_groupBySchema()
220 public Set<String> removePrefix(@NonNull String prefix) { in removePrefix() method in SchemaCache
1909 schemaType = PrefixUtil.removePrefix(getResult.getDocument().getSchema()); in remove()2020 String shortTypeName = PrefixUtil.removePrefix(prefixedType); in removeByQuery()2118 String namespace = PrefixUtil.removePrefix(group.getNamespace()); in dispatchChangeNotificationsAfterRemoveByQueryLocked()2119 String schemaType = PrefixUtil.removePrefix(group.getSchema()); in dispatchChangeNotificationsAfterRemoveByQueryLocked()2426 Set<String> removedSchemas = mSchemaCacheLocked.removePrefix(removedPrefix); in prunePackageData()