Searched refs:PrefixUtil (Results 1 – 8 of 8) sorted by relevance
44 import com.android.server.appsearch.external.localstorage.util.PrefixUtil;127 String prefix = PrefixUtil.createPrefix("package", "database"); in testSetSchema_existingSchemaRetainsVisibilitySetting()233 String prefix = PrefixUtil.createPrefix("package", "database"); in testRemoveSchema_removedFromVisibilityStore()327 String prefix = PrefixUtil.createPrefix("package", "database"); in testSetSchema_defaultPlatformVisible()355 String prefix = PrefixUtil.createPrefix("package", "database"); in testSetSchema_platformHidden()384 String prefix = PrefixUtil.createPrefix("package", "database"); in testSetSchema_defaultNotVisibleToPackages()423 String prefix = PrefixUtil.createPrefix("package", "database"); in testSetSchema_visibleToPackages()
42 import com.android.server.appsearch.external.localstorage.util.PrefixUtil;106 .doesNotContain(String.valueOf(PrefixUtil.PACKAGE_DELIMITER)); in testValidPackageName()108 .doesNotContain(String.valueOf(PrefixUtil.DATABASE_DELIMITER)); in testValidPackageName()117 .doesNotContain(String.valueOf(PrefixUtil.PACKAGE_DELIMITER)); in testValidDatabaseName()119 .doesNotContain(String.valueOf(PrefixUtil.DATABASE_DELIMITER)); in testValidDatabaseName()
34 public class PrefixUtil { class41 private PrefixUtil() {} in PrefixUtil() method in PrefixUtil
34 import com.android.server.appsearch.external.localstorage.util.PrefixUtil;350 return ID_PREFIX + PrefixUtil.createPrefix(packageName, databaseName); in getVisibilityDocumentId()
24 import com.android.server.appsearch.external.localstorage.util.PrefixUtil;41 private static final String PREFIX = PrefixUtil.createPrefix(PACKAGE_NAME, DATABASE_NAME);
19 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.createPrefix;
19 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.addPrefixToDocumen…20 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.createPrefix;21 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.getDatabaseName;22 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.getPackageName;23 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.getPrefix;24 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.removePrefix;25 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.removePrefixesFrom…
19 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.addPrefixToDocumen…20 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.createPrefix;21 import static com.android.server.appsearch.external.localstorage.util.PrefixUtil.removePrefixesFrom…46 import com.android.server.appsearch.external.localstorage.util.PrefixUtil;534 () -> PrefixUtil.getPrefix(invalidDoc.getNamespace())); in testReset()1669 existingPackages.add(PrefixUtil.getPackageName(existingSchemas.get(i).getSchemaType())); in testPrunePackageData()1775 + PrefixUtil.PACKAGE_DELIMITER in testRewriteSearchResultProto()1777 + PrefixUtil.DATABASE_DELIMITER; in testRewriteSearchResultProto()