/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 735 SearchSpec searchSpec = in testQueryEmptyDatabase() local 738 mAppSearchImpl.query("package", "EmptyDatabase", "", searchSpec, /*logger=*/ null); in testQueryEmptyDatabase() 780 SearchSpec searchSpec = in testQueryWithMultiplePackages_noPackageFilters() local 783 mAppSearchImpl.query("package2", "database2", "", searchSpec, /*logger=*/ null); in testQueryWithMultiplePackages_noPackageFilters() 792 mAppSearchImpl.query("package2", "database2", "", searchSpec, /*logger= in testQueryWithMultiplePackages_noPackageFilters() 837 SearchSpec searchSpec = in testQueryWithMultiplePackages_withPackageFilters() local 843 mAppSearchImpl.query("package2", "database2", "", searchSpec, /*logger=*/ null); in testQueryWithMultiplePackages_withPackageFilters() 851 searchSpec = in testQueryWithMultiplePackages_withPackageFilters() 857 mAppSearchImpl.query("package2", "database2", "", searchSpec, /*logger= in testQueryWithMultiplePackages_withPackageFilters() 865 SearchSpec searchSpec = in testGlobalQueryEmptyDatabase() local [all …]
|
D | AppSearchLoggerTest.java | 613 SearchSpec searchSpec = in testLoggingStats_search_success() local 621 testPackageName, testDatabase, queryStr, searchSpec, /*logger=*/ mLogger); in testLoggingStats_search_success() 666 SearchSpec searchSpec = in testLoggingStats_search_failure() local 677 searchSpec, in testLoggingStats_search_failure() 791 SearchSpec searchSpec = in testLoggingStats_removeByQuery_success() local 796 testPackageName, testDatabase, /*queryExpression=*/ "", searchSpec, rStatsBuilder); in testLoggingStats_removeByQuery_success()
|
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/ |
D | AppSearchSessionShim.java | 168 SearchResultsShim search(@NonNull String queryExpression, @NonNull SearchSpec searchSpec); in search() argument 228 ListenableFuture<Void> remove(@NonNull String queryExpression, @NonNull SearchSpec searchSpec); in remove() argument
|
D | GlobalSearchSessionShim.java | 57 SearchResultsShim search(@NonNull String queryExpression, @NonNull SearchSpec searchSpec); in search() argument
|
/frameworks/base/core/tests/coretests/src/android/app/appsearch/external/app/ |
D | SearchSpecTest.java | 29 SearchSpec searchSpec = in testGetBundle() local 43 Bundle bundle = searchSpec.getBundle(); in testGetBundle()
|
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/ |
D | GlobalSearchSession.java | 126 public SearchResults search(@NonNull String queryExpression, @NonNull SearchSpec searchSpec) { in search() argument 128 Objects.requireNonNull(searchSpec); in search() 131 searchSpec, mUserHandle); in search()
|
D | SearchResults.java | 82 @NonNull SearchSpec searchSpec, in SearchResults() argument 88 mSearchSpec = Objects.requireNonNull(searchSpec); in SearchResults()
|
D | AppSearchSession.java | 455 public SearchResults search(@NonNull String queryExpression, @NonNull SearchSpec searchSpec) { in search() argument 457 Objects.requireNonNull(searchSpec); in search() 460 searchSpec, mUserHandle); in search() 586 @NonNull SearchSpec searchSpec, in remove() argument 590 Objects.requireNonNull(searchSpec); in remove() 599 searchSpec.getBundle(), in remove()
|
/frameworks/base/core/tests/coretests/src/android/app/appsearch/ |
D | AppSearchSessionUnitTest.java | 141 SearchSpec searchSpec = new SearchSpec.Builder() in testGetEmptyNextPage() local 145 SearchResults searchResults = mSearchSession.search("", searchSpec); in testGetEmptyNextPage() 199 SearchSpec searchSpec = new SearchSpec.Builder() in testGetEmptyNextPage_multiPages() local 203 SearchResults searchResults = mSearchSession.search("", searchSpec); in testGetEmptyNextPage_multiPages()
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 834 @NonNull SearchSpec searchSpec, in query() argument 849 List<String> filterPackageNames = searchSpec.getFilterPackageNames(); in query() 860 Set<String> allowedPrefixedSchemas = getAllowedPrefixSchemasLocked(prefix, searchSpec); in query() 867 searchSpec, in query() 904 @NonNull SearchSpec searchSpec, in globalQuery() argument 923 Set<String> packageFilters = new ArraySet<>(searchSpec.getFilterPackageNames()); in globalQuery() 943 List<String> schemaFilters = searchSpec.getFilterSchemas(); in globalQuery() 989 searchSpec, in globalQuery() 1038 @NonNull SearchSpec searchSpec, in doQueryLocked() argument 1044 SearchSpecToProtoConverter.toSearchSpecProto(searchSpec).toBuilder() in doQueryLocked() [all …]
|
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/ |
D | AppSearchSessionShimImpl.java | 149 @NonNull String queryExpression, @NonNull SearchSpec searchSpec) { in search() argument 150 SearchResults searchResults = mAppSearchSession.search(queryExpression, searchSpec); in search() 174 @NonNull String queryExpression, @NonNull SearchSpec searchSpec) { in remove() argument 176 mAppSearchSession.remove(queryExpression, searchSpec, mExecutor, future::set); in remove()
|
D | GlobalSearchSessionShimImpl.java | 79 @NonNull String queryExpression, @NonNull SearchSpec searchSpec) { in search() argument 80 SearchResults searchResults = mGlobalSearchSession.search(queryExpression, searchSpec); in search()
|