/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStoreTest.java | 61 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 …]
|
D | VisibilityStoreMigrationFromV2Test.java | 99 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 …]
|
D | VisibilityStoreMigrationHelperFromV0Test.java | 137 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()
|
D | VisibilityStoreMigrationHelperFromV1Test.java | 89 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/ |
D | VisibilityStore.java | 64 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()
|
D | VisibilityStoreMigrationHelperFromV1.java | 59 if (packageName.equals(VisibilityStore.VISIBILITY_PACKAGE_NAME)) { in getVisibilityDocumentsInVersion1() 67 VisibilityStore.VISIBILITY_PACKAGE_NAME, in getVisibilityDocumentsInVersion1() 68 VisibilityStore.VISIBILITY_DATABASE_NAME, in getVisibilityDocumentsInVersion1()
|
D | VisibilityStoreMigrationHelperFromV0.java | 141 if (packageName.equals(VisibilityStore.VISIBILITY_PACKAGE_NAME)) { in getVisibilityDocumentsInVersion0() 149 VisibilityStore.VISIBILITY_PACKAGE_NAME, in getVisibilityDocumentsInVersion0() 150 VisibilityStore.VISIBILITY_DATABASE_NAME, in getVisibilityDocumentsInVersion0()
|
D | VisibilityChecker.java | 38 @NonNull VisibilityStore visibilityStore); in isSchemaSearchableByCaller()
|
D | VisibilityUtil.java | 51 @Nullable VisibilityStore visibilityStore, in isSchemaSearchableByCaller()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/ |
D | VisibilityCheckerImpl.java | 42 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/ |
D | ObserverManager.java | 34 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore; 207 @Nullable VisibilityStore visibilityStore, in onDocumentChange() 337 @Nullable VisibilityStore visibilityStore, in getObserversForSchemaType()
|
D | AppSearchImpl.java | 77 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/ |
D | SearchSpecToProtoConverterTest.java | 40 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/ |
D | VisibilityCheckerImplTest.java | 54 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/ |
D | SearchSpecToProtoConverter.java | 40 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/ |
D | AppSearchImplTest.java | 25 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/ |
D | AppSearchManagerService.java | 121 import com.android.server.appsearch.external.localstorage.visibilitystore.VisibilityStore; 372 packagesToKeep.add(VisibilityStore.VISIBILITY_PACKAGE_NAME); in onUserUnlocking()
|