Home
last modified time | relevance | path

Searched refs:databaseName (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DDenylist.java152 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/
DDocumentIdUtil.java49 @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/
DAppSearchImpl.java492 @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 …]
DObserverManager.java64 @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/
DAppSearchManager.java143 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()
DReadOnlyGlobalSearchSession.java132 @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()
DGlobalSearchSession.java127 @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/
DEnterpriseSearchResultPageTransformer.java101 @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/
DVisibilityStoreMigrationHelperFromV0.java126 @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/
DIAppSearchObserverProxy.aidl21 in String packageName, in String databaseName, in List<String> changedSchemaNames); in onSchemaChanged() argument
25 in String databaseName, in onDocumentChanged() argument
DGetStorageInfoAidlRequest.java68 @Param(id = 2) @NonNull String databaseName, in GetStorageInfoAidlRequest()
72 mDatabaseName = Objects.requireNonNull(databaseName); in GetStorageInfoAidlRequest()
DGetNamespacesAidlRequest.java65 @Param(id = 2) @NonNull String databaseName, in GetNamespacesAidlRequest()
69 mDatabaseName = Objects.requireNonNull(databaseName); in GetNamespacesAidlRequest()
DPutDocumentsAidlRequest.java73 @Param(id = 2) @NonNull String databaseName, in PutDocumentsAidlRequest()
78 mDatabaseName = Objects.requireNonNull(databaseName); in PutDocumentsAidlRequest()
DRemoveByDocumentIdAidlRequest.java73 @Param(id = 2) @NonNull String databaseName, in RemoveByDocumentIdAidlRequest()
78 mDatabaseName = Objects.requireNonNull(databaseName); in RemoveByDocumentIdAidlRequest()
DGetSchemaAidlRequest.java76 @Param(id = 3) @NonNull String databaseName, in GetSchemaAidlRequest()
82 mDatabaseName = Objects.requireNonNull(databaseName); in GetSchemaAidlRequest()
DGetDocumentsAidlRequest.java92 @Param(id = 3) @NonNull String databaseName, in GetDocumentsAidlRequest()
99 mDatabaseName = Objects.requireNonNull(databaseName); in GetDocumentsAidlRequest()
DSearchSuggestionAidlRequest.java78 @Param(id = 2) @NonNull String databaseName, in SearchSuggestionAidlRequest()
84 mDatabaseName = Objects.requireNonNull(databaseName); in SearchSuggestionAidlRequest()
DRemoveByQueryAidlRequest.java78 @Param(id = 2) @NonNull String databaseName, in RemoveByQueryAidlRequest()
84 mDatabaseName = Objects.requireNonNull(databaseName); in RemoveByQueryAidlRequest()
DReportUsageAidlRequest.java84 @Param(id = 3) @NonNull String databaseName, in ReportUsageAidlRequest()
91 mDatabaseName = Objects.requireNonNull(databaseName); in ReportUsageAidlRequest()
DSearchAidlRequest.java79 @Param(id = 2) @NonNull String databaseName, in SearchAidlRequest()
85 mDatabaseName = Objects.requireNonNull(databaseName); in SearchAidlRequest()
DGetNextPageAidlRequest.java85 @Param(id = 2) @Nullable String databaseName, in GetNextPageAidlRequest()
92 mDatabaseName = databaseName; in GetNextPageAidlRequest()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/observer/
DSchemaChangeInfo.java52 @NonNull String databaseName, in SchemaChangeInfo() argument
55 mDatabaseName = Objects.requireNonNull(databaseName); in SchemaChangeInfo()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileDatabaseHelper.java50 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/
DHealthConnectDatabase.java45 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/
DReportSystemUsageRequest.java111 @NonNull String databaseName, in Builder() argument
115 mDatabase = Objects.requireNonNull(databaseName); in Builder()

12