Home
last modified time | relevance | path

Searched refs:VisibilityStore (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreTest.java61 private VisibilityStore mVisibilityStore;
74 mVisibilityStore = new VisibilityStore(mAppSearchImpl); in setUp()
87 assertThat(VisibilityStore.VISIBILITY_PACKAGE_NAME) in testValidPackageName()
89 assertThat(VisibilityStore.VISIBILITY_PACKAGE_NAME) in testValidPackageName()
98 assertThat(VisibilityStore.VISIBILITY_DATABASE_NAME) in testValidDatabaseName()
100 assertThat(VisibilityStore.VISIBILITY_DATABASE_NAME) in testValidDatabaseName()
108 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testSetVisibilitySchema()
109 VisibilityStore.VISIBILITY_DATABASE_NAME, in testSetVisibilitySchema()
110 new CallerAccess(VisibilityStore.VISIBILITY_PACKAGE_NAME)); in testSetVisibilitySchema()
119 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testSetVisibilitySchema()
[all …]
DVisibilityStoreMigrationFromV2Test.java99 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from2()
100 VisibilityStore.ANDROID_V_OVERLAY_DATABASE_NAME, in testVisibilityMigration_from2()
111 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from2()
112 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from2()
114 /* callingPackageName= */ VisibilityStore.VISIBILITY_PACKAGE_NAME)); in testVisibilityMigration_from2()
121 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from2()
122 VisibilityStore.ANDROID_V_OVERLAY_DATABASE_NAME, in testVisibilityMigration_from2()
124 /* callingPackageName= */ VisibilityStore.VISIBILITY_PACKAGE_NAME)); in testVisibilityMigration_from2()
160 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from2()
161 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from2()
[all …]
DVisibilityStoreMigrationHelperFromV0Test.java137 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from0()
138 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from0()
156 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from0()
157 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from0()
163 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from0()
164 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from0()
249 VisibilityStore.VISIBILITY_PACKAGE_NAME, in buildAppSearchImplInV0()
250 VisibilityStore.VISIBILITY_DATABASE_NAME, in buildAppSearchImplInV0()
DVisibilityStoreMigrationHelperFromV1Test.java89 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from1()
90 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from1()
126 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from1()
127 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from1()
146 VisibilityStore.VISIBILITY_PACKAGE_NAME, in testVisibilityMigration_from1()
147 VisibilityStore.VISIBILITY_DATABASE_NAME, in testVisibilityMigration_from1()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStore.java64 public class VisibilityStore { class
84 public VisibilityStore(@NonNull AppSearchImpl appSearchImpl) throws AppSearchException { in VisibilityStore() method in VisibilityStore
263 private void loadVisibilityConfigMap(@UnderInitialization VisibilityStore this) in loadVisibilityConfigMap()
322 @UnderInitialization VisibilityStore this, in setLatestSchemaAndDocuments()
380 private void migrateVisibilityOverlayDatabase(@UnderInitialization VisibilityStore this) in migrateVisibilityOverlayDatabase()
427 @UnderInitialization VisibilityStore this, @NonNull GetSchemaResponse getSchemaResponse) in verifyOrSetLatestVisibilitySchema()
497 @UnknownInitialization VisibilityStore this, in verifyOrSetLatestVisibilityOverlaySchema()
DVisibilityStoreMigrationHelperFromV1.java59 if (packageName.equals(VisibilityStore.VISIBILITY_PACKAGE_NAME)) { in getVisibilityDocumentsInVersion1()
67 VisibilityStore.VISIBILITY_PACKAGE_NAME, in getVisibilityDocumentsInVersion1()
68 VisibilityStore.VISIBILITY_DATABASE_NAME, in getVisibilityDocumentsInVersion1()
DVisibilityStoreMigrationHelperFromV0.java141 if (packageName.equals(VisibilityStore.VISIBILITY_PACKAGE_NAME)) { in getVisibilityDocumentsInVersion0()
149 VisibilityStore.VISIBILITY_PACKAGE_NAME, in getVisibilityDocumentsInVersion0()
150 VisibilityStore.VISIBILITY_DATABASE_NAME, in getVisibilityDocumentsInVersion0()
DVisibilityChecker.java38 @NonNull VisibilityStore visibilityStore); in isSchemaSearchableByCaller()
DVisibilityUtil.java51 @Nullable VisibilityStore visibilityStore, in isSchemaSearchableByCaller()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImpl.java42 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
77 @NonNull VisibilityStore visibilityStore) { in isSchemaSearchableByCaller()
81 if (packageName.equals(VisibilityStore.VISIBILITY_PACKAGE_NAME)) { in isSchemaSearchableByCaller()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DObserverManager.java34 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
207 @Nullable VisibilityStore visibilityStore, in onDocumentChange()
337 @Nullable VisibilityStore visibilityStore, in getObserversForSchemaType()
DAppSearchImpl.java77 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
231 final VisibilityStore mVisibilityStoreLocked;
419 mVisibilityStoreLocked = new VisibilityStore(this); in AppSearchImpl()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverterTest.java40 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
260 VisibilityStore visibilityStore = new VisibilityStore(mAppSearchImpl); in testToSearchSpec_withJoinSpec_childSearchesOtherSchema()
1613 VisibilityStore visibilityStore = new VisibilityStore(mAppSearchImpl); in testRemoveInaccessibleSchemaFilter()
1722 VisibilityStore visibilityStore = new VisibilityStore(mAppSearchImpl); in testRemoveInaccessibleSchemaFilterWithEmptyNestedFilter()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImplTest.java54 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
82 private VisibilityStore mVisibilityStore;
116 mVisibilityStore = new VisibilityStore(appSearchImpl); in setUp()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverter.java40 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
214 @Nullable VisibilityStore visibilityStore, in removeInaccessibleSchemaFilter()
242 @Nullable VisibilityStore visibilityStore, in removeInaccessibleSchemaFilterCached()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java25 import static com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore.AN…
26 import static com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore.VI…
27 import static com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore.VI…
69 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
4830 @NonNull VisibilityStore visibilityStore) { in getGlobalDocumentNoAccessNoFileHasSameException()
5413 @NonNull VisibilityStore visibilityStore) { in testGetSchema_global_partialAccess()
5491 @NonNull VisibilityStore visibilityStore) { in testGetSchema_global_publicAcl()
5596 @NonNull VisibilityStore visibilityStore) { in testGetSchema_global_publicAcl_removal()
5928 @NonNull VisibilityStore visibilityStore) { in testDispatchObserver_differentPackage_withVisStore_accept()
6350 @NonNull VisibilityStore visibilityStore) { in testAddObserver_schemaChange_visibilityOnly()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java121 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore;
372 packagesToKeep.add(VisibilityStore.VISIBILITY_PACKAGE_NAME); in onUserUnlocking()