/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | Denylist.java | 152 String databaseName = uri.getQueryParameter(KEY_DATABASE); in initialize() local 153 if (packageName == null && databaseName == null) { in initialize() 174 addEntry(packageName, databaseName, apiTypes); in initialize() 192 @Nullable String databaseName, in addEntry() argument 194 if (packageName != null && databaseName != null) { in addEntry() 195 String prefix = PrefixUtil.createPrefix(packageName, databaseName); in addEntry() 203 } else if (databaseName != null) { in addEntry() 205 deniedDatabases.computeIfAbsent(databaseName, k -> new ArraySet<>()); in addEntry() 221 @NonNull String databaseName, in checkDeniedPackageDatabase() argument 224 || checkDeniedDatabase(databaseName, apiType)) { in checkDeniedPackageDatabase() [all …]
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/util/ |
D | DocumentIdUtil.java | 49 @NonNull String databaseName, in createQualifiedId() argument 52 packageName, databaseName, document.getNamespace(), document.getId()); in createQualifiedId() 72 @NonNull String databaseName, in createQualifiedId() argument 76 Objects.requireNonNull(databaseName); in createQualifiedId() 84 .append(escapeNsDelimiters(databaseName)) in createQualifiedId()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 492 @NonNull String databaseName, in setSchema() argument 512 databaseName, in setSchema() 521 databaseName, in setSchema() 543 @NonNull String databaseName, in doSetSchemaWithChangeNotificationLocked() argument 558 databaseName, in doSetSchemaWithChangeNotificationLocked() 585 databaseName, in doSetSchemaWithChangeNotificationLocked() 597 databaseName, in doSetSchemaWithChangeNotificationLocked() 624 databaseName, in doSetSchemaWithChangeNotificationLocked() 701 /* databaseName= */ databaseName, in doSetSchemaWithChangeNotificationLocked() 728 @NonNull String databaseName, in doSetSchemaNoChangeNotificationLocked() argument [all …]
|
D | ObserverManager.java | 64 @NonNull String databaseName, in DocumentChangeGroupKey() argument 68 mDatabaseName = Objects.requireNonNull(databaseName); in DocumentChangeGroupKey() 203 @NonNull String databaseName, in onDocumentChange() argument 215 String prefixedSchema = PrefixUtil.createPrefix(packageName, databaseName) + schemaType; in onDocumentChange() 233 packageName, databaseName, namespace, schemaType); in onDocumentChange() 266 @NonNull String databaseName, in onSchemaChange() argument 287 prefix = PrefixUtil.createPrefix(targetPackageName, databaseName); in onSchemaChange() 335 @NonNull String databaseName, in getObserversForSchemaType() argument 345 String prefixedSchema = PrefixUtil.createPrefix(packageName, databaseName) + schemaType; in getObserversForSchemaType()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchManager.java | 143 SearchContext(@NonNull String databaseName) { in SearchContext() argument 144 mDatabaseName = Objects.requireNonNull(databaseName); in SearchContext() 176 public Builder(@NonNull String databaseName) { in Builder() argument 177 Objects.requireNonNull(databaseName); in Builder() 179 !databaseName.contains("/"), "Database name cannot contain '/'"); in Builder() 180 mDatabaseName = databaseName; in Builder()
|
D | ReadOnlyGlobalSearchSession.java | 132 @NonNull String databaseName, in getByDocumentId() argument 137 Objects.requireNonNull(databaseName); in getByDocumentId() 147 databaseName, in getByDocumentId() 208 @NonNull String databaseName, in getSchema() argument 212 Objects.requireNonNull(databaseName); in getSchema() 220 databaseName, in getSchema()
|
D | GlobalSearchSession.java | 127 @NonNull String databaseName, in getByDocumentId() argument 132 super.getByDocumentId(packageName, databaseName, request, executor, callback); in getByDocumentId() 178 @NonNull String databaseName, in getSchema() argument 182 super.getSchema(packageName, databaseName, executor, callback); in getSchema() 290 @NonNull String databaseName, in registerObserverCallback() 299 databaseName, in registerObserverCallback() 308 @NonNull String databaseName, in registerObserverCallback() 319 databaseName, in registerObserverCallback()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/ |
D | EnterpriseSearchResultPageTransformer.java | 101 @NonNull String databaseName, in transformDocument() argument 104 packageName, databaseName, originalDocument.getSchemaType())) { in transformDocument() 144 @NonNull String databaseName, in shouldTransformDocument() argument 147 packageName, databaseName, document.getSchemaType()); in shouldTransformDocument()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStoreMigrationHelperFromV0.java | 126 @NonNull String packageName, @NonNull String databaseName) { in getDeprecatedVisibilityDocumentId() argument 127 return DEPRECATED_ID_PREFIX + PrefixUtil.createPrefix(packageName, databaseName); in getDeprecatedVisibilityDocumentId() 144 for (String databaseName : entry.getValue()) { in getVisibilityDocumentsInVersion0() 152 getDeprecatedVisibilityDocumentId(packageName, databaseName), in getVisibilityDocumentsInVersion0()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | IAppSearchObserverProxy.aidl | 21 in String packageName, in String databaseName, in List<String> changedSchemaNames); in onSchemaChanged() argument 25 in String databaseName, in onDocumentChanged() argument
|
D | GetStorageInfoAidlRequest.java | 68 @Param(id = 2) @NonNull String databaseName, in GetStorageInfoAidlRequest() 72 mDatabaseName = Objects.requireNonNull(databaseName); in GetStorageInfoAidlRequest()
|
D | GetNamespacesAidlRequest.java | 65 @Param(id = 2) @NonNull String databaseName, in GetNamespacesAidlRequest() 69 mDatabaseName = Objects.requireNonNull(databaseName); in GetNamespacesAidlRequest()
|
D | PutDocumentsAidlRequest.java | 73 @Param(id = 2) @NonNull String databaseName, in PutDocumentsAidlRequest() 78 mDatabaseName = Objects.requireNonNull(databaseName); in PutDocumentsAidlRequest()
|
D | RemoveByDocumentIdAidlRequest.java | 73 @Param(id = 2) @NonNull String databaseName, in RemoveByDocumentIdAidlRequest() 78 mDatabaseName = Objects.requireNonNull(databaseName); in RemoveByDocumentIdAidlRequest()
|
D | GetSchemaAidlRequest.java | 76 @Param(id = 3) @NonNull String databaseName, in GetSchemaAidlRequest() 82 mDatabaseName = Objects.requireNonNull(databaseName); in GetSchemaAidlRequest()
|
D | GetDocumentsAidlRequest.java | 92 @Param(id = 3) @NonNull String databaseName, in GetDocumentsAidlRequest() 99 mDatabaseName = Objects.requireNonNull(databaseName); in GetDocumentsAidlRequest()
|
D | SearchSuggestionAidlRequest.java | 78 @Param(id = 2) @NonNull String databaseName, in SearchSuggestionAidlRequest() 84 mDatabaseName = Objects.requireNonNull(databaseName); in SearchSuggestionAidlRequest()
|
D | RemoveByQueryAidlRequest.java | 78 @Param(id = 2) @NonNull String databaseName, in RemoveByQueryAidlRequest() 84 mDatabaseName = Objects.requireNonNull(databaseName); in RemoveByQueryAidlRequest()
|
D | ReportUsageAidlRequest.java | 84 @Param(id = 3) @NonNull String databaseName, in ReportUsageAidlRequest() 91 mDatabaseName = Objects.requireNonNull(databaseName); in ReportUsageAidlRequest()
|
D | SearchAidlRequest.java | 79 @Param(id = 2) @NonNull String databaseName, in SearchAidlRequest() 85 mDatabaseName = Objects.requireNonNull(databaseName); in SearchAidlRequest()
|
D | GetNextPageAidlRequest.java | 85 @Param(id = 2) @Nullable String databaseName, in GetNextPageAidlRequest() 92 mDatabaseName = databaseName; in GetNextPageAidlRequest()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/observer/ |
D | SchemaChangeInfo.java | 52 @NonNull String databaseName, in SchemaChangeInfo() argument 55 mDatabaseName = Objects.requireNonNull(databaseName); in SchemaChangeInfo()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ProfileDatabaseHelper.java | 50 Context context, String databaseName, boolean optimizationEnabled, in ProfileDatabaseHelper() argument 52 super(context, databaseName, optimizationEnabled, isTestInstance); in ProfileDatabaseHelper()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | HealthConnectDatabase.java | 45 public HealthConnectDatabase(@NonNull Context context, String databaseName) { in HealthConnectDatabase() argument 46 super(context, databaseName, null, DatabaseUpgradeHelper.getDatabaseVersion()); in HealthConnectDatabase()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | ReportSystemUsageRequest.java | 111 @NonNull String databaseName, in Builder() argument 115 mDatabase = Objects.requireNonNull(databaseName); in Builder()
|