Home
last modified time | relevance | path

Searched refs:GetSchemaResponse (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java22 import android.app.appsearch.GetSchemaResponse;
95 GetSchemaResponse mGetSchemaResponse;
147 @Param(id = 4) @Nullable GetSchemaResponse getSchemaResponse, in AppSearchResultParcel()
248 public static AppSearchResultParcel<GetSchemaResponse> fromGetSchemaResponse( in fromGetSchemaResponse()
249 GetSchemaResponse getSchemaResponse) { in fromGetSchemaResponse()
250 return new AppSearchResultParcel.Builder<GetSchemaResponse>(AppSearchResult.RESULT_OK) in fromGetSchemaResponse()
375 @Nullable private GetSchemaResponse mGetSchemaResponse;
403 Builder<ValueType> setGetSchemaResponse(GetSchemaResponse getSchemaResponse) { in setGetSchemaResponse()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStore.java25 import android.app.appsearch.GetSchemaResponse;
87 GetSchemaResponse getSchemaResponse = in VisibilityStore()
382 GetSchemaResponse getSchemaResponse = in migrateVisibilityOverlayDatabase()
427 @UnderInitialization VisibilityStore this, @NonNull GetSchemaResponse getSchemaResponse) in verifyOrSetLatestVisibilitySchema()
498 @NonNull GetSchemaResponse getAndroidVOverlaySchemaResponse) in verifyOrSetLatestVisibilityOverlaySchema()
DVisibilityStoreMigrationHelperFromV0.java23 import android.app.appsearch.GetSchemaResponse;
132 @NonNull GetSchemaResponse getSchemaResponse, @NonNull AppSearchImpl appSearchImpl) in getVisibilityDocumentsInVersion0()
239 private static boolean hasDeprecatedType(@NonNull GetSchemaResponse getSchemaResponse) { in hasDeprecatedType()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGetSchemaResponse.java44 public final class GetSchemaResponse extends AbstractSafeParcelable { class
48 public static final Parcelable.Creator<GetSchemaResponse> CREATOR =
111 GetSchemaResponse( in GetSchemaResponse() method in GetSchemaResponse
543 public GetSchemaResponse build() { in build()
553 return new GetSchemaResponse(mVersion, mSchemas, visibilityConfigs); in build()
/packages/modules/AppSearch/framework/api/
Dlint-baseline.txt2 RequiresPermission: android.app.appsearch.GetSchemaResponse#getRequiredPermissionsForSchemaTypeVisi…
4 RequiresPermission: android.app.appsearch.GetSchemaResponse.Builder#setRequiredPermissionsForSchema…
Dmodule-lib-lint-baseline.txt2 RequiresPermission: android.app.appsearch.GetSchemaResponse#getRequiredPermissionsForSchemaTypeVisi…
4 RequiresPermission: android.app.appsearch.GetSchemaResponse.Builder#setRequiredPermissionsForSchema…
Dsystem-lint-baseline.txt2 RequiresPermission: android.app.appsearch.GetSchemaResponse#getRequiredPermissionsForSchemaTypeVisi…
4 RequiresPermission: android.app.appsearch.GetSchemaResponse.Builder#setRequiredPermissionsForSchema…
Dcurrent.txt188 …function.Consumer<android.app.appsearch.AppSearchResult<android.app.appsearch.GetSchemaResponse>>);
215 …function.Consumer<android.app.appsearch.AppSearchResult<android.app.appsearch.GetSchemaResponse>>);
286 public final class GetSchemaResponse implements android.os.Parcelable {
296 …public static final android.os.Parcelable.Creator<android.app.appsearch.GetSchemaResponse> CREATOR;
299 public static final class GetSchemaResponse.Builder {
300 ctor public GetSchemaResponse.Builder();
301 …method @NonNull public android.app.appsearch.GetSchemaResponse.Builder addSchema(@NonNull android.…
302 …method @NonNull public android.app.appsearch.GetSchemaResponse.Builder addSchemaTypeNotDisplayedBy…
303 method @NonNull public android.app.appsearch.GetSchemaResponse build();
304 …set_publicly_visible_schema") @NonNull public android.app.appsearch.GetSchemaResponse.Builder setP…
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DReadOnlyGlobalSearchSession.java210 @NonNull Consumer<AppSearchResult<GetSchemaResponse>> callback) { in getSchema()
232 AppSearchResult<GetSchemaResponse> result = in getSchema()
235 GetSchemaResponse response = result.getResultValue(); in getSchema()
DAppSearchSession.java241 @NonNull Consumer<AppSearchResult<GetSchemaResponse>> callback) { in getSchema()
263 AppSearchResult<GetSchemaResponse> result = in getSchema()
266 GetSchemaResponse response = in getSchema()
1032 AtomicReference<AppSearchResult<GetSchemaResponse>> getSchemaResultRef = in setSchemaWithMigrations()
1041 AppSearchResult<GetSchemaResponse> getSchemaResult = in setSchemaWithMigrations()
1055 GetSchemaResponse getSchemaResponse = in setSchemaWithMigrations()
DGlobalSearchSession.java180 @NonNull Consumer<AppSearchResult<GetSchemaResponse>> callback) { in getSchema()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationFromV2Test.java25 import android.app.appsearch.GetSchemaResponse;
109 GetSchemaResponse getSchemaResponse = in testVisibilityMigration_from2()
119 GetSchemaResponse getAndroidVOverlaySchemaResponse = in testVisibilityMigration_from2()
DVisibilityStoreTest.java25 import android.app.appsearch.GetSchemaResponse;
106 GetSchemaResponse getSchemaResponse = in testSetVisibilitySchema()
117 GetSchemaResponse getAndroidVOverlaySchemaResponse = in testSetVisibilitySchema()
423 GetSchemaResponse getSchemaResponse = in testMigrateFromDeprecatedSchema()
513 GetSchemaResponse getSchemaResponse = in testMigrateFromDeprecatedOverlaySchema()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DAppSearchHelperTest.java34 import android.app.appsearch.GetSchemaResponse;
128 CompletableFuture<AppSearchResult<GetSchemaResponse>> responseFuture = in testAppSearchHelper_permissionIsSetCorrectlyForPerson()
135 AppSearchResult<GetSchemaResponse> result = responseFuture.get(); in testAppSearchHelper_permissionIsSetCorrectlyForPerson()
137 GetSchemaResponse response = result.getResultValue(); in testAppSearchHelper_permissionIsSetCorrectlyForPerson()
DEnterpriseContactsTest.java55 import android.app.appsearch.GetSchemaResponse;
418 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync("android", in testEnterpriseContacts_canAccessWithOnlyContactsAccess()
443 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync("android", in testEnterpriseContacts_canNotAccessWithoutContactsAccess()
471 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync("android", in testEnterpriseContacts_canNotAccessWithOnlyCallerIdAccess()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppSearchHelperTest.java40 import android.app.appsearch.GetSchemaResponse;
93 GetSchemaResponse response = session.getSchemaAsync().get(); in testAppSearchHelper_permissionSetCorrectlyForMobileApplication()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java37 import android.app.appsearch.GetSchemaResponse;
555 GetSchemaResponse oldSchema = in doSetSchemaWithChangeNotificationLocked()
882 public GetSchemaResponse getSchema( in getSchema()
893 GetSchemaResponse.Builder responseBuilder = new GetSchemaResponse.Builder(); in getSchema()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java37 import android.app.appsearch.GetSchemaResponse;
5327 GetSchemaResponse getResponse = in testGetSchema_global()
5352 GetSchemaResponse getResponse = in testGetSchema_nonExistentApp()
5376 GetSchemaResponse getResponse = in testGetSchema_noAccess()
5450 GetSchemaResponse getResponse = in testGetSchema_global_partialAccess()
5542 GetSchemaResponse getResponse = in testGetSchema_global_publicAcl()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java61 import android.app.appsearch.GetSchemaResponse;
1413 AppSearchResult<GetSchemaResponse> result = in testEnterpriseGetSchema_noEnterpriseUser_emptyResult()
1414 (AppSearchResult<GetSchemaResponse>) callback.get(); in testEnterpriseGetSchema_noEnterpriseUser_emptyResult()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java46 import android.app.appsearch.GetSchemaResponse;
570 new GetSchemaResponse.Builder().build())); in getSchema()
597 GetSchemaResponse response = in getSchema()