Home
last modified time | relevance | path

Searched refs:Features (Results 1 – 25 of 51) sorted by relevance

123

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSearchSpecInternalTest.java62 Features.NUMERIC_SEARCH, in testSearchSpecBuilder()
63 Features.VERBATIM_SEARCH, in testSearchSpecBuilder()
64 Features.LIST_FILTER_QUERY_LANGUAGE); in testSearchSpecBuilder()
178 Features.NUMERIC_SEARCH, Features.VERBATIM_SEARCH, in testGetBundle_hasProperty()
179 Features.LIST_FILTER_QUERY_LANGUAGE, in testGetBundle_hasProperty()
180 Features.LIST_FILTER_HAS_PROPERTY_FUNCTION); in testGetBundle_hasProperty()
192 assertThat(searchSpec2.getEnabledFeatures()).containsExactly(Features.NUMERIC_SEARCH); in testBuildMultipleSearchSpecs()
200 .containsExactly(Features.VERBATIM_SEARCH, Features.LIST_FILTER_QUERY_LANGUAGE); in testBuildMultipleSearchSpecs()
215 Features.NUMERIC_SEARCH, in testGetEnabledFeatures_embeddingSearch()
216 Features.VERBATIM_SEARCH, in testGetEnabledFeatures_embeddingSearch()
[all …]
DAppSearchSessionInternalTestBase.java80 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.JOIN_SPEC_AND_QUALIFIED_ID)); in testGetSchema_joinableValueType()
114 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_typeFilterWithPolymorphism()
210 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphism()
314 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphismAndSchemaFilter()
421 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_indexBasedOnParentTypePolymorphism()
523 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_parentTypeListIsTopologicalOrder()
579 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardProjection_polymorphism()
695 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardFilterSchema_polymorphism()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsList.java23 import com.android.documentsui.base.Features;
32 private final Features mFeatures;
38 mFeatures = Features.create(getContext()); in RootsList()
43 mFeatures = Features.create(getContext()); in RootsList()
48 mFeatures = Features.create(getContext()); in RootsList()
53 mFeatures = Features.create(getContext()); in RootsList()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java32 import com.android.documentsui.base.Features;
81 public final Features features;
88 private TestEnv(Context context, Features features, String authority) { in TestEnv()
129 public static TestEnv create(Features features) { in create()
137 public static TestEnv create(Features features, String authority) { in create()
144 Features features = new Features.RuntimeFeatures(context.getResources(), null); in create()
148 private static TestEnv create(Context context, Features features, String authority) { in create()
DTestFeatures.java20 import com.android.documentsui.base.Features;
22 public class TestFeatures implements Features {
DTestModel.java28 import com.android.documentsui.base.Features;
52 public TestModel(UserId userId, String authority, Features features) { in TestModel()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DInjector.java31 import com.android.documentsui.base.Features;
50 public final Features features;
85 Features features, in Injector()
97 Features features, in Injector()
DSharedInputHandler.java26 import com.android.documentsui.base.Features;
41 private final Features mFeatures;
50 Features features, in SharedInputHandler()
DRefreshTask.java35 import com.android.documentsui.base.Features;
48 private final Features mFeatures;
55 public RefreshTask(Features features, State state, DocumentInfo doc, long timeout, in RefreshTask()
DModel.java37 import com.android.documentsui.base.Features;
62 private final Features mFeatures;
74 public Model(Features features) { in Model()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java24 import com.android.documentsui.base.Features;
63 private final Features mFeatures;
66 public RuntimeDialogController(Features features, Activity activity) { in RuntimeDialogController()
183 static DialogController create(Features features, Activity activity) { in create()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperation.java40 import com.android.documentsui.base.Features;
101 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); in createJob()
141 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
182 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
224 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
259 Job createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
DResolvedResourcesJob.java28 import com.android.documentsui.base.Features;
51 DocumentStack destination, UrisSupplier srcs, Features features) { in ResolvedResourcesJob()
DDeleteJob.java34 import com.android.documentsui.base.Features;
58 UrisSupplier srcs, @Nullable Uri srcParent, Features features) { in DeleteJob()
DCompressJob.java38 import com.android.documentsui.base.Features;
60 UrisSupplier srcs, Messenger messenger, Features features) { in CompressJob()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DScaleHelper.java31 import com.android.documentsui.base.Features;
43 private final Features mFeatures;
48 public ScaleHelper(Context context, Features features, Consumer<Float> scaleCallback) { in ScaleHelper()
DDocumentsAdapter.java31 import com.android.documentsui.base.Features;
86 Features getFeatures(); in getFeatures()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DCommandInterceptor.java29 import com.android.documentsui.base.Features;
43 private Features mFeatures;
45 public CommandInterceptor(Features features) { in CommandInterceptor()
201 Features features, in createDebugModeFlipper()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFeatures.java30 public interface Features { interface
65 public static Features create(Context context) { in create()
70 final class RuntimeFeatures implements Features {
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestEnvironment.java24 import com.android.documentsui.base.Features;
40 public Features getFeatures() { in getFeatures()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java66 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_typeFilterWithPolymorphism()
164 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphism()
270 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_indexBasedOnParentTypePolymorphism()
372 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_parentTypeListIsTopologicalOrder()
430 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardProjection_polymorphism()
547 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardFilterSchema_polymorphism()
653 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphismAndSchemaFilter()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DSampleExampleStoreService.java34 import org.tensorflow.example.Features;
45 Features.newBuilder()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActivityTest.java41 import com.android.documentsui.base.Features;
77 public Features features;
126 features = new Features.RuntimeFeatures(context.getResources(), null); in setUp()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJob.java26 import com.android.documentsui.base.Features;
43 UrisSupplier srcs, Runnable startRunnable, Features features) { in TestJob()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DExampleStoreServiceTest.java43 import org.tensorflow.example.Features;
57 Features.newBuilder()

123