Searched refs:setSchemaResponse (Results 1 – 9 of 9) sorted by relevance
61 @Param(id = 2) @NonNull SetSchemaResponse setSchemaResponse, in InternalSetSchemaResponse()63 Objects.requireNonNull(setSchemaResponse); in InternalSetSchemaResponse()65 mSetSchemaResponse = setSchemaResponse; in InternalSetSchemaResponse()75 @NonNull SetSchemaResponse setSchemaResponse) { in newSuccessfulSetSchemaResponse()77 /* isSuccess= */ true, setSchemaResponse, /* errorMessage= */ null); in newSuccessfulSetSchemaResponse()87 @NonNull SetSchemaResponse setSchemaResponse, @NonNull String errorMessage) { in newFailedSetSchemaResponse()89 /* isSuccess= */ false, setSchemaResponse, errorMessage); in newFailedSetSchemaResponse()
191 public Builder(@NonNull SetSchemaResponse setSchemaResponse) { in Builder() argument192 Objects.requireNonNull(setSchemaResponse); in Builder()193 mDeletedTypes.addAll(setSchemaResponse.getDeletedTypes()); in Builder()194 mIncompatibleTypes.addAll(setSchemaResponse.getIncompatibleTypes()); in Builder()195 mMigratedTypes.addAll(setSchemaResponse.getMigratedTypes()); in Builder()196 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()
141 SetSchemaResponse setSchemaResponse = in deleteAppsearchDb_onMigrationfailure_shouldBeFalse() local148 doReturn(setSchemaResponse).when(mAdServicesAppsearchDeleteJob).getDeleteSchemaResponse( in deleteAppsearchDb_onMigrationfailure_shouldBeFalse()168 SetSchemaResponse setSchemaResponse = in deleteAppsearchDb_onSuccess_shouldBeTrue() local171 doReturn(setSchemaResponse).when(mAdServicesAppsearchDeleteJob).getDeleteSchemaResponse( in deleteAppsearchDb_onSuccess_shouldBeTrue()
863 SetSchemaResponse setSchemaResponse = in doSetSchemaNoChangeNotificationLocked()869 + setSchemaResponse.getDeletedTypes() in doSetSchemaNoChangeNotificationLocked()871 + setSchemaResponse.getIncompatibleTypes(); in doSetSchemaNoChangeNotificationLocked()872 return newFailedSetSchemaResponse(setSchemaResponse, errorMessage); in doSetSchemaNoChangeNotificationLocked()918 InternalSetSchemaResponse setSchemaResponse = in doSetSchemaNoChangeNotificationLocked() local927 return setSchemaResponse; in doSetSchemaNoChangeNotificationLocked()
2507 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in testSetSchema_incompatible() local2509 assertThat(setSchemaResponse.getDeletedTypes()).containsExactly("Text"); in testSetSchema_incompatible()2510 assertThat(setSchemaResponse.getIncompatibleTypes()).containsExactly("Email"); in testSetSchema_incompatible()2569 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in testRemoveSchema() local2571 assertThat(setSchemaResponse.getDeletedTypes()).containsExactly("Document"); in testRemoveSchema()10051 SetSchemaResponse setSchemaResponse = internalSetSchemaResponse.getSetSchemaResponse(); in testAddObserver_schemaChange_noChangeIfIncompatible() local10052 assertThat(setSchemaResponse.getDeletedTypes()).isEmpty(); in testAddObserver_schemaChange_noChangeIfIncompatible()10053 assertThat(setSchemaResponse.getIncompatibleTypes()).containsExactly("Type1"); in testAddObserver_schemaChange_noChangeIfIncompatible()