Home
last modified time | relevance | path

Searched refs:SetSchemaResponse (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/appsearch/external/app/
DSetSchemaResponseTest.java26 SetSchemaResponse.MigrationFailure failure1 = in testRebuild()
27 new SetSchemaResponse.MigrationFailure( in testRebuild()
33 SetSchemaResponse.MigrationFailure failure2 = in testRebuild()
34 new SetSchemaResponse.MigrationFailure( in testRebuild()
41 SetSchemaResponse original = in testRebuild()
42 new SetSchemaResponse.Builder() in testRebuild()
53 SetSchemaResponse rebuild = in testRebuild()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSetSchemaResponseToProtoConverter.java20 import android.app.appsearch.SetSchemaResponse;
43 public static SetSchemaResponse toSetSchemaResponse( in toSetSchemaResponse()
47 SetSchemaResponse.Builder builder = new SetSchemaResponse.Builder(); in toSetSchemaResponse()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DSetSchemaResponse.java34 public class SetSchemaResponse { class
64 SetSchemaResponse(@NonNull Bundle bundle, @NonNull List<MigrationFailure> migrationFailures) { in SetSchemaResponse() method in SetSchemaResponse
69 SetSchemaResponse(@NonNull Bundle bundle) { in SetSchemaResponse() method in SetSchemaResponse
262 public SetSchemaResponse build() { in build()
271 return new SetSchemaResponse(bundle, mMigrationFailures); in build()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchSession.java143 @NonNull Consumer<AppSearchResult<SetSchemaResponse>> callback) { in setSchema()
683 @NonNull Consumer<AppSearchResult<SetSchemaResponse>> callback) { in setSchemaNoMigrations()
702 SetSchemaResponse setSchemaResponse = in setSchemaNoMigrations()
703 new SetSchemaResponse(result.getResultValue()); in setSchemaNoMigrations()
741 @NonNull Consumer<AppSearchResult<SetSchemaResponse>> callback) { in setSchemaWithMigrations()
795 SetSchemaResponse setSchemaResponse = in setSchemaWithMigrations()
796 new SetSchemaResponse(setSchemaResult.getResultValue()); in setSchemaWithMigrations()
853 SetSchemaResponse.Builder responseBuilder = setSchemaResponse.toBuilder() in setSchemaWithMigrations()
858 AppSearchResult<SetSchemaResponse> putResult = in setSchemaWithMigrations()
DAppSearchMigrationHelper.java140 AppSearchResult<SetSchemaResponse> putMigratedDocuments( in putMigratedDocuments()
141 @NonNull SetSchemaResponse.Builder responseBuilder) { in putMigratedDocuments()
162 new SetSchemaResponse.MigrationFailure(migratedFailureBundles.get(i))); in putMigratedDocuments()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/util/
DSchemaMigrationUtil.java23 import android.app.appsearch.SetSchemaResponse;
77 @NonNull SetSchemaResponse setSchemaResponse, @NonNull Set<String> activeMigrators) in checkDeletedAndIncompatibleAfterMigration()
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt147 …function.Consumer<android.app.appsearch.AppSearchResult<android.app.appsearch.SetSchemaResponse>>);
405 public class SetSchemaResponse {
409 …method @NonNull public java.util.List<android.app.appsearch.SetSchemaResponse.MigrationFailure> ge…
412 public static final class SetSchemaResponse.Builder {
413 ctor public SetSchemaResponse.Builder();
414 …method @NonNull public android.app.appsearch.SetSchemaResponse.Builder addDeletedType(@NonNull Str…
415 …method @NonNull public android.app.appsearch.SetSchemaResponse.Builder addDeletedTypes(@NonNull ja…
416 …method @NonNull public android.app.appsearch.SetSchemaResponse.Builder addIncompatibleType(@NonNul…
417 …method @NonNull public android.app.appsearch.SetSchemaResponse.Builder addIncompatibleTypes(@NonNu…
418 …method @NonNull public android.app.appsearch.SetSchemaResponse.Builder addMigratedType(@NonNull St…
[all …]
/frameworks/base/core/tests/coretests/src/android/app/appsearch/
DAppSearchSessionUnitTest.java58 CompletableFuture<AppSearchResult<SetSchemaResponse>> schemaFuture = in setUp()
111 CompletableFuture<AppSearchResult<SetSchemaResponse>> schemaFuture = in testGetEmptyNextPage()
164 CompletableFuture<AppSearchResult<SetSchemaResponse>> schemaFuture = in testGetEmptyNextPage_multiPages()
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/
DAppSearchSessionShimImpl.java37 import android.app.appsearch.SetSchemaResponse;
103 public ListenableFuture<SetSchemaResponse> setSchema(@NonNull SetSchemaRequest request) { in setSchema()
104 SettableFuture<AppSearchResult<SetSchemaResponse>> future = SettableFuture.create(); in setSchema()
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/
DAppSearchSessionShim.java55 ListenableFuture<SetSchemaResponse> setSchema(@NonNull SetSchemaRequest request); in setSchema()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java32 import android.app.appsearch.SetSchemaResponse;
363 SetSchemaResponse setSchemaResponse = instance.getAppSearchImpl().setSchema( in setSchema()
924 migrationFailureBundles.add(new SetSchemaResponse.MigrationFailure( in putDocumentsFromFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java33 import android.app.appsearch.SetSchemaResponse;
1410 SetSchemaResponse setSchemaResponse = in testSetSchema_incompatible()
1466 SetSchemaResponse setSchemaResponse = in testRemoveSchema()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java55 import android.app.appsearch.SetSchemaResponse;
680 final SetSchemaResponse response = new SetSchemaResponse.Builder().build(); in setSchema()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java38 import android.app.appsearch.SetSchemaResponse;
403 public SetSchemaResponse setSchema( in setSchema()