/packages/modules/HealthFitness/framework/java/android/health/connect/migration/ |
D | MigrationException.java | 35 public final class MigrationException extends RuntimeException implements Parcelable { class 38 public static final Creator<MigrationException> CREATOR = 41 public MigrationException createFromParcel(Parcel in) { 42 return new MigrationException(in); 46 public MigrationException[] newArray(int size) { 47 return new MigrationException[size]; 70 public MigrationException( in MigrationException() method in MigrationException 78 private MigrationException(@NonNull Parcel in) { in MigrationException() method in MigrationException
|
D | MigrationException.aidl | 3 parcelable MigrationException;
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/showmigrationinfointent/ |
D | ShowMigrationInfoIntentAbsentTest.java | 26 import android.health.connect.migration.MigrationException; 73 @Test(expected = MigrationException.class) 82 @Test(expected = MigrationException.class) 89 @Test(expected = MigrationException.class) 96 @Test(expected = MigrationException.class) 105 AtomicReference<MigrationException> migrationExceptionAtomicReference = in writeMigrationData() 118 public void onError(MigrationException exception) { in writeMigrationData()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/ |
D | MigrationExceptionTest.java | 19 import android.health.connect.migration.MigrationException; 34 private static final int DEFAULT_ERROR_CODE = MigrationException.ERROR_INTERNAL; 40 final MigrationException exception = in createdViaConstructor_validData() 41 new MigrationException( in createdViaConstructor_validData()
|
D | DataMigrationTest.java | 74 import android.health.connect.migration.MigrationException; 621 } catch (MigrationException e) { in migratePermissions_allInvalidPermissions_throwsMigrationException() 622 mExpect.that(e.getErrorCode()).isEqualTo(MigrationException.ERROR_MIGRATE_ENTITY); in migratePermissions_allInvalidPermissions_throwsMigrationException() 991 DataMigrationTest.<Void, MigrationException>blockingCallWithPermissions( in migrate() 995 DataMigrationTest.<Void, MigrationException>blockingCallWithPermissions( in migrate() 1002 DataMigrationTest.<Void, MigrationException>blockingCallWithPermissions( in finishMigration()
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/ |
D | IntegrationTestUtils.java | 26 import android.health.connect.migration.MigrationException; 45 BlockingOutcomeReceiver<Void, MigrationException> outcome = new BlockingOutcomeReceiver<>(); in startMigration() 55 BlockingOutcomeReceiver<Void, MigrationException> outcome = new BlockingOutcomeReceiver<>(); in writeMigrationData() 65 BlockingOutcomeReceiver<Void, MigrationException> outcome = new BlockingOutcomeReceiver<>(); in finishMigration()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | IMigrationCallback.aidl | 3 import android.health.connect.migration.MigrationException; 15 oneway void onError(in MigrationException exception); in onError()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectServiceImplTest.java | 57 import android.health.connect.migration.MigrationException; 386 verify(mCallback).onError(any(MigrationException.class)); in testStartMigration_noShowMigrationInfoIntentAvailable_returnsError() 409 verify(mCallback).onError(any(MigrationException.class)); in testFinishMigration_noShowMigrationInfoIntentAvailable_returnsError() 435 verify(mCallback).onError(any(MigrationException.class)); in testWriteMigration_noShowMigrationInfoIntentAvailable_returnsError() 462 verify(mCallback).onError(any(MigrationException.class)); in testInsertMinSdkExtVersion_noShowMigrationInfoIntentAvailable_returnsError()
|
/packages/modules/HealthFitness/framework/api/ |
D | system-current.txt | 53 …ll android.os.OutcomeReceiver<java.lang.Void,android.health.connect.migration.MigrationException>); 58 …ll android.os.OutcomeReceiver<java.lang.Void,android.health.connect.migration.MigrationException>); 65 …ll android.os.OutcomeReceiver<java.lang.Void,android.health.connect.migration.MigrationException>); 68 …ll android.os.OutcomeReceiver<java.lang.Void,android.health.connect.migration.MigrationException>); 272 …public final class MigrationException extends java.lang.RuntimeException implements android.os.Par… 273 ctor public MigrationException(@Nullable String, int, @Nullable String); 278 …c final android.os.Parcelable.Creator<android.health.connect.migration.MigrationException> CREATOR;
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | HealthConnectManager.java | 101 import android.health.connect.migration.MigrationException; 1674 @NonNull OutcomeReceiver<Void, MigrationException> callback) { in startMigration() 1696 @NonNull OutcomeReceiver<Void, MigrationException> callback) { in finishMigration() 1720 @NonNull OutcomeReceiver<Void, MigrationException> callback) { in writeMigrationData() 1749 @NonNull OutcomeReceiver<Void, MigrationException> callback) { in insertMinDataMigrationSdkExtensionVersion() 2069 @NonNull OutcomeReceiver<Void, MigrationException> callback) { 2078 public void onError(MigrationException exception) {
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 114 import android.health.connect.migration.MigrationException; 1648 throw new MigrationException( in startMigration() 1651 MigrationException.ERROR_INTERNAL, in startMigration() 1660 tryAndThrowException(callback, e, MigrationException.ERROR_INTERNAL, null); in startMigration() 1696 tryAndThrowException(callback, e, MigrationException.ERROR_INTERNAL, null); in finishMigration() 1740 MigrationException.ERROR_MIGRATE_ENTITY, in writeMigrationData() 1744 tryAndThrowException(callback, e, MigrationException.ERROR_INTERNAL, null); in writeMigrationData() 1783 tryAndThrowException(callback, e, MigrationException.ERROR_INTERNAL, null); in insertMinDataMigrationSdkExtensionVersion() 2768 @MigrationException.ErrorCode int errorCode, in tryAndThrowException() 2772 new MigrationException(exception.toString(), errorCode, failedEntityId)); in tryAndThrowException()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | TestUtils.java | 140 import android.health.connect.migration.MigrationException; 1402 public static final class MigrationReceiver extends TestReceiver<Void, MigrationException> {}
|