Home
last modified time | relevance | path

Searched refs:IllegalMigrationStateException (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateManager.java292 public static final class IllegalMigrationStateException extends Exception { class in MigrationStateManager
293 public IllegalMigrationStateException(String message) { in IllegalMigrationStateException() method in MigrationStateManager.IllegalMigrationStateException
303 public void startMigration(@NonNull Context context) throws IllegalMigrationStateException { in startMigration()
311 private void validateStartMigrationGuarded() throws IllegalMigrationStateException { in validateStartMigrationGuarded()
334 public void finishMigration(@NonNull Context context) throws IllegalMigrationStateException { in finishMigration()
339 throw new IllegalMigrationStateException("Migration is not started."); in finishMigration()
349 public void validateWriteMigrationData() throws IllegalMigrationStateException { in validateWriteMigrationData()
353 throw new IllegalMigrationStateException("Migration is not started."); in validateWriteMigrationData()
362 public void validateSetMinSdkVersion() throws IllegalMigrationStateException { in validateSetMinSdkVersion()
366 throw new IllegalMigrationStateException( in validateSetMinSdkVersion()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateManagerTest.java77 …rt com.android.server.healthconnect.migration.MigrationStateManager.IllegalMigrationStateException;
1051 throws IllegalMigrationStateException { in testValidateSetMinSdkVersion_stateAllowed_allowedToSetSdkVersion()
1057 @Test(expected = IllegalMigrationStateException.class)
1059 throws IllegalMigrationStateException { in testValidateSetMinSdkVersion_stateInProgress_notAllowedToSetSdkVersion()
1065 @Test(expected = IllegalMigrationStateException.class)
1067 throws IllegalMigrationStateException { in testValidateSetMinSdkVersion_stateComplete_notAllowedToSetSdkVersion()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectServiceImplTest.java391 throws MigrationStateManager.IllegalMigrationStateException, in testStartMigration_showMigrationInfoIntentAvailable()
414 throws MigrationStateManager.IllegalMigrationStateException, in testFinishMigration_showMigrationInfoIntentAvailable()
440 throws MigrationStateManager.IllegalMigrationStateException, in testWriteMigration_showMigrationInfoIntentAvailable()
467 throws MigrationStateManager.IllegalMigrationStateException, in testInsertMinSdkExtVersion_showMigrationInfoIntentAvailable()