Searched refs:setSchemaResponse (Results 1 – 8 of 8) sorted by relevance
62 @Param(id = 2) @NonNull SetSchemaResponse setSchemaResponse, in InternalSetSchemaResponse()64 Objects.requireNonNull(setSchemaResponse); in InternalSetSchemaResponse()66 mSetSchemaResponse = setSchemaResponse; in InternalSetSchemaResponse()77 @NonNull SetSchemaResponse setSchemaResponse) { in newSuccessfulSetSchemaResponse()79 /* isSuccess= */ true, setSchemaResponse, /* errorMessage= */ null); in newSuccessfulSetSchemaResponse()90 @NonNull SetSchemaResponse setSchemaResponse, @NonNull String errorMessage) { in newFailedSetSchemaResponse()92 /* isSuccess= */ false, setSchemaResponse, errorMessage); in newFailedSetSchemaResponse()
195 public Builder(@NonNull SetSchemaResponse setSchemaResponse) { in Builder() argument196 Objects.requireNonNull(setSchemaResponse); in Builder()197 mDeletedTypes.addAll(setSchemaResponse.getDeletedTypes()); in Builder()198 mIncompatibleTypes.addAll(setSchemaResponse.getIncompatibleTypes()); in Builder()199 mMigratedTypes.addAll(setSchemaResponse.getMigratedTypes()); in Builder()200 mMigrationFailures.addAll(setSchemaResponse.getMigrationFailures()); in Builder()
85 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in checkDeletedAndIncompatibleAfterMigration() local87 new ArraySet<>(setSchemaResponse.getIncompatibleTypes()); in checkDeletedAndIncompatibleAfterMigration()90 Set<String> unmigratedDeletedTypes = new ArraySet<>(setSchemaResponse.getDeletedTypes()); in checkDeletedAndIncompatibleAfterMigration()
247 setSchemaResponse -> { in writeData()250 if (!setSchemaResponse.getMigrationFailures().isEmpty()) { in writeData()252 setSchemaResponse.getMigrationFailures().get(0); in writeData()313 setSchemaResponse -> { in deleteData()316 if (!setSchemaResponse.getMigrationFailures().isEmpty()) { in deleteData()318 setSchemaResponse.getMigrationFailures().get(0); in deleteData()
104 setSchemaResponse -> { in writeData()107 if (!setSchemaResponse.getMigrationFailures().isEmpty()) { in writeData()111 + setSchemaResponse in writeData()
288 SetSchemaResponse setSchemaResponse = getDeleteSchemaResponse(context, in deleteAppsearchDb() local291 if (!setSchemaResponse.getMigrationFailures().isEmpty()) { in deleteAppsearchDb()295 + setSchemaResponse in deleteAppsearchDb()300 Log.d(TAG, "Delete types size " + setSchemaResponse.getDeletedTypes().size()); in deleteAppsearchDb()301 for (String deletedType : setSchemaResponse.getDeletedTypes()) { in deleteAppsearchDb()
787 SetSchemaResponse setSchemaResponse = in doSetSchemaNoChangeNotificationLocked()793 + setSchemaResponse.getDeletedTypes() in doSetSchemaNoChangeNotificationLocked()795 + setSchemaResponse.getIncompatibleTypes(); in doSetSchemaNoChangeNotificationLocked()796 return newFailedSetSchemaResponse(setSchemaResponse, errorMessage); in doSetSchemaNoChangeNotificationLocked()859 InternalSetSchemaResponse setSchemaResponse = in doSetSchemaNoChangeNotificationLocked() local868 return setSchemaResponse; in doSetSchemaNoChangeNotificationLocked()
2320 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in testSetSchema_incompatible() local2322 assertThat(setSchemaResponse.getDeletedTypes()).containsExactly("Text"); in testSetSchema_incompatible()2323 assertThat(setSchemaResponse.getIncompatibleTypes()).containsExactly("Email"); in testSetSchema_incompatible()2382 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in testRemoveSchema() local2384 assertThat(setSchemaResponse.getDeletedTypes()).containsExactly("Document"); in testRemoveSchema()6940 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in testAddObserver_schemaChange_noChangeIfIncompatible() local6941 assertThat(setSchemaResponse.getDeletedTypes()).isEmpty(); in testAddObserver_schemaChange_noChangeIfIncompatible()6942 assertThat(setSchemaResponse.getIncompatibleTypes()).containsExactly("Type1"); in testAddObserver_schemaChange_noChangeIfIncompatible()