/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/transformer/ |
D | EnterpriseSearchSpecTransformerTest.java | 43 assertThat(transformedSpec.getProjections().get(Person.SCHEMA_TYPE)) in testTransformProjection_whenProjectionNotSuppliedByUser() 53 .addProjection(Person.SCHEMA_TYPE, clientProjection) in testTransformProjection_whenProjectionSuppliedByUser() 59 assertThat(transformedSpec.getProjections().get(Person.SCHEMA_TYPE)) in testTransformProjection_whenProjectionSuppliedByUser() 75 assertThat(transformedSpec.getProjections().get(Person.SCHEMA_TYPE)) in testTransformProjection_doesNotAffectNonEnterpriseSchemaTypes() 86 assertThat(schemaPropertiesMap.get(Person.SCHEMA_TYPE)).containsExactlyElementsIn( in testTransformProperties_addsProjectionWhenNotSuppliedByUser() 95 schemaPropertiesMap.put(Person.SCHEMA_TYPE, properties); in testTransformProperties_whenProjectionSuppliedByUser() 99 assertThat(schemaPropertiesMap.get(Person.SCHEMA_TYPE)).containsExactlyElementsIn( in testTransformProperties_whenProjectionSuppliedByUser() 114 assertThat(schemaPropertiesMap.get(Person.SCHEMA_TYPE)).containsExactlyElementsIn( in testTransformProperties_doesNotAffectNonEnterpriseSchemaTypes() 125 assertThat(transformedSpec.getFilterProperties().get(Person.SCHEMA_TYPE)) in testTransformPropertyFilters_whenFiltersNotSuppliedByUser() 135 .addFilterProperties(Person.SCHEMA_TYPE, clientFilterProperties) in testTransformPropertyFilters_whenFiltersSuppliedByUser() [all …]
|
D | EnterpriseSearchResultPageTransformerTest.java | 38 Person.SCHEMA_TYPE) in testTransformSearchResultPage() 41 Person.SCHEMA_TYPE) in testTransformSearchResultPage() 94 Person.SCHEMA_TYPE) in testTransformSearchResult() 132 Person.SCHEMA_TYPE) in testTransformDocument_transformsPersonSchemaType()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/ |
D | PersonEnterpriseTransformer.java | 88 return schemaType.equals(Person.SCHEMA_TYPE) in shouldTransform() 208 Person.SCHEMA_TYPE, getAccessibleProperties(projections.get(Person.SCHEMA_TYPE))); in transformSearchSpec() 210 Person.SCHEMA_TYPE, in transformSearchSpec() 211 getAccessibleProperties(filterProperties.get(Person.SCHEMA_TYPE))); in transformSearchSpec() 221 Person.SCHEMA_TYPE, getAccessibleProperties(propertiesMap.get(Person.SCHEMA_TYPE))); in transformPropertiesMap()
|
D | EnterpriseSearchSpecTransformer.java | 71 return filteredSchemas.isEmpty() || filteredSchemas.contains(Person.SCHEMA_TYPE); in shouldTransformSearchSpecFilters()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | VisibilityPermissionConfig.java | 46 public static final String SCHEMA_TYPE = "VisibilityPermissionType"; field in VisibilityPermissionConfig 58 new AppSearchSchema.Builder(SCHEMA_TYPE) 135 new GenericDocument.Builder<>(/* namespace= */ "", /* id= */ "", SCHEMA_TYPE); in toGenericDocument()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityDocumentV1.java | 36 static final String SCHEMA_TYPE = "VisibilityType"; field in VisibilityDocumentV1 60 new AppSearchSchema.Builder(SCHEMA_TYPE) 149 super(NAMESPACE, id, SCHEMA_TYPE); in Builder()
|
D | VisibilityToDocumentConverter.java | 137 VisibilityPermissionConfig.SCHEMA_TYPE)
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | ContactPoint.java | 35 public static final String SCHEMA_TYPE = "builtin:ContactPoint"; field in ContactPoint 46 new AppSearchSchema.Builder(SCHEMA_TYPE) 154 super(namespace, id, SCHEMA_TYPE); in Builder()
|
D | Person.java | 42 public static final String SCHEMA_TYPE = "builtin:Person"; field in Person 85 new AppSearchSchema.Builder(SCHEMA_TYPE) in createSchema() 371 super(namespace, id, SCHEMA_TYPE); in Builder()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | AppSearchHelper.java | 227 Person.SCHEMA_TYPE, in setPersonSchemaAsync() 235 Person.SCHEMA_TYPE, in setPersonSchemaAsync() 560 .addFilterSchemas(Person.SCHEMA_TYPE) 562 Person.SCHEMA_TYPE, 596 Person.SCHEMA_TYPE,
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/stats/ |
D | RemoveStats.java | 47 SCHEMA_TYPE, 65 public static final int SCHEMA_TYPE = 4; field in RemoveStats
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerTestBase.java | 114 if (changedSchema.startsWith(MobileApplication.SCHEMA_TYPE)) { in setupLatch() 125 if (!changeInfo.getSchemaName().startsWith(MobileApplication.SCHEMA_TYPE)) { in setupLatch()
|
D | TestUtils.java | 19 import static com.android.server.appsearch.appsindexer.appsearchtypes.MobileApplication.SCHEMA_TYPE; 68 new AppSearchSchema.Builder(SCHEMA_TYPE) 84 new AppSearchSchema.Builder(SCHEMA_TYPE)
|
D | AppsIndexerRealDocumentsTest.java | 106 .startsWith(MobileApplication.SCHEMA_TYPE); in testRealDocuments_check() 160 assertThat(documents.get(0).getSchemaType()).startsWith(MobileApplication.SCHEMA_TYPE); in testRealIndexing()
|
D | AppSearchHelperTest.java | 102 .containsExactly(MobileApplication.SCHEMA_TYPE + "-" + FAKE_PACKAGE_PREFIX + "0"); in testAppSearchHelper_permissionSetCorrectlyForMobileApplication()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/appsearchtypes/ |
D | MobileApplication.java | 39 public static final String SCHEMA_TYPE = "builtin:MobileApplication"; field in MobileApplication 53 return SCHEMA_TYPE + "-" + Objects.requireNonNull(pkg); in getSchemaNameForPackage()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | EnterpriseContactsTest.java | 282 "namespace").addIds("123").addProjection(Person.SCHEMA_TYPE, in testGetEnterpriseContact_withProjection() 346 .addProjection(Person.SCHEMA_TYPE, in testSearchEnterpriseContacts_withProjection() 379 .addFilterProperties(Person.SCHEMA_TYPE, in testSearchEnterpriseContacts_withFilter() 422 assertThat(schemas.iterator().next().getSchemaType()).isEqualTo(Person.SCHEMA_TYPE); in testEnterpriseContacts_canAccessWithOnlyContactsAccess() 521 new ObserverSpec.Builder().addFilterSchemas(Person.SCHEMA_TYPE).build(), in testEnterpriseContactsInSystemPackage_transformPerson() 569 .addFilterSchemas(Person.SCHEMA_TYPE) in testEnterpriseContactsInSystemPackage_transformPerson()
|
D | TestUtils.java | 49 ContactPoint.SCHEMA_TYPE) 95 ContactPoint.SCHEMA_TYPE)
|
D | AppSearchHelperTest.java | 139 Person.SCHEMA_TYPE, in testAppSearchHelper_permissionIsSetCorrectlyForPerson() 349 new GenericDocument.Builder<>("namespace", "id1", Person.SCHEMA_TYPE) in testPersonSchema_indexFirstMiddleAndLastNames() 398 new GenericDocument.Builder<>("namespace", "id1", Person.SCHEMA_TYPE) in testPersonSchema_indexFullNameOnly()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | SearchSpecToProtoConverter.java | 460 resultGroupingType = ResultSpecProto.ResultGroupingType.SCHEMA_TYPE; in toResultSpecProto() 476 resultGroupingType = ResultSpecProto.ResultGroupingType.SCHEMA_TYPE; in toResultSpecProto()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStoreTest.java | 480 VisibilityPermissionConfig.SCHEMA_TYPE) in testMigrateFromDeprecatedOverlaySchema()
|