Searched refs:MIGRATION_STATE_IDLE (Results 1 – 12 of 12) sorted by relevance
22 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IDLE;190 return MIGRATION_STATE_IDLE; in getMigrationState()246 case MIGRATION_STATE_IDLE: in updateMigrationStateGuarded()284 updateMigrationStatePreference(context, MIGRATION_STATE_IDLE, false); in clearCaches()388 if ((migrationState == MIGRATION_STATE_IDLE in onPackageInstalledOrChangedGuarded()396 if (migrationState == MIGRATION_STATE_IDLE in onPackageInstalledOrChangedGuarded()463 && previousMigrationState == MIGRATION_STATE_IDLE in updateMigrationStatePreference()553 if (migrationState == MIGRATION_STATE_IDLE) { in reconcilePackageChangesWithStates()566 if (migrationState != MIGRATION_STATE_IDLE && migrationState != MIGRATION_STATE_COMPLETE) { in reconcilePackageChangesWithStates()575 case MIGRATION_STATE_IDLE: in reconcileStateChangeJob()[all …]
21 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IDLE;123 == MIGRATION_STATE_IDLE in executeMigrationCompletionJob()
81 case HealthConnectDataState.MIGRATION_STATE_IDLE: in getHealthConnectMigrationUiState()
184 HealthConnectDataState.MIGRATION_STATE_IDLE)) in <lambda>()200 HealthConnectDataState.MIGRATION_STATE_IDLE)) in <lambda>()216 HealthConnectDataState.MIGRATION_STATE_IDLE)) in <lambda>()232 HealthConnectDataState.MIGRATION_STATE_IDLE)) in <lambda>()248 HealthConnectDataState.MIGRATION_STATE_IDLE)) in <lambda>()264 HealthConnectDataState.MIGRATION_STATE_IDLE)) in <lambda>()
22 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IDLE;168 setMigrationState(MIGRATION_STATE_IDLE); in testOnPackageInstalledOrChanged_fromIdleState_migrationAwarePackage()184 setMigrationState(MIGRATION_STATE_IDLE); in testOnPackageInstalledOrChanged_fromIdleState_migrationUnawarePackage()197 setMigrationState(MIGRATION_STATE_IDLE); in testOnPackageInstalledOrChanged_fromIdleState_migrationUnawareStubPackage()311 setMigrationState(MIGRATION_STATE_IDLE); in testOnPackageRemoved_fromIdleState_migrationAwarePackage()389 setMigrationState(MIGRATION_STATE_IDLE); in testReconcilePackageChangesWithStates_fromIdleState_migrationAwarePackageAvailable()408 setMigrationState(MIGRATION_STATE_IDLE); in testReconcilePackageChangesWithStates_fromIdleState_migrationUnawarePackageAvailable()426 setMigrationState(MIGRATION_STATE_IDLE); in testReconcilePackageChangesWithStates_fromIdleState_migrationUnawareStubPackage()442 setMigrationState(MIGRATION_STATE_IDLE); in testReconcilePackageChangesWithStates_fromIdleState_noMigratorPackageAvailable()701 setMigrationState(MIGRATION_STATE_IDLE); in testReconcileStateChangeJob_fromIdleState_shouldReschedule()[all …]
97 .thenReturn(HealthConnectDataState.MIGRATION_STATE_IDLE); in testStateChanged_idle_noNotificationSent()102 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_IDLE); in testStateChanged_idle_noNotificationSent()244 .thenReturn(HealthConnectDataState.MIGRATION_STATE_IDLE); in getMigrationUiState_migrationStateIdle()249 captor.getValue().onChanged(HealthConnectDataState.MIGRATION_STATE_IDLE); in getMigrationUiState_migrationStateIdle()
22 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IDLE;206 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IDLE); in testExecuteCompleteJob_fromIdleState_timeNotExpired()218 when(mMigrationStateManager.getMigrationState()).thenReturn(MIGRATION_STATE_IDLE); in testExecuteCompleteJob_fromIdleState()
144 @SystemApi public static final int MIGRATION_STATE_IDLE = 0; field in HealthConnectDataState239 MIGRATION_STATE_IDLE,
34 HealthConnectDataState.MIGRATION_STATE_IDLE)
22 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IDLE;708 .isEqualTo(MIGRATION_STATE_IDLE); in testStartMigrationFromIdleState()733 .isEqualTo(MIGRATION_STATE_IDLE); in testInsertMinDataMigrationSdkExtensionVersion_upgradeRequired()763 .isEqualTo(MIGRATION_STATE_IDLE); in testInsertMinDataMigrationSdkExtensionVersion_noUpgradeRequired()792 .isEqualTo(MIGRATION_STATE_IDLE); in testInsertMinDataMigrationSdkExtensionVersion_jobsDisabled()
20 import static android.health.connect.HealthConnectDataState.MIGRATION_STATE_IDLE;1535 .isEqualTo(MIGRATION_STATE_IDLE); in testDataMigrationState_byDefault_returnsIdleState()
38 field public static final int MIGRATION_STATE_IDLE = 0; // 0x0