HomeSort by relevance Sort by last modified time
    Searched refs:migration (Results 1 - 25 of 54) sorted by null

1 2 3

  /prebuilts/maven_repo/android/android/arch/persistence/room/migration/1.0.0-alpha10/
migration-1.0.0-alpha10.jar 
  /frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/
Index.kt 19 import android.arch.persistence.room.migration.bundle.BundleUtil
20 import android.arch.persistence.room.migration.bundle.IndexBundle
ForeignKey.kt 19 import android.arch.persistence.room.migration.bundle.ForeignKeyBundle
PrimaryKey.kt 18 import android.arch.persistence.room.migration.bundle.PrimaryKeyBundle
Database.kt 20 import android.arch.persistence.room.migration.bundle.DatabaseBundle
21 import android.arch.persistence.room.migration.bundle.SchemaBundle
Entity.kt 19 import android.arch.persistence.room.migration.bundle.BundleUtil
20 import android.arch.persistence.room.migration.bundle.EntityBundle
Field.kt 21 import android.arch.persistence.room.migration.bundle.FieldBundle
  /frameworks/support/room/migration/src/main/java/android/arch/persistence/room/migration/bundle/
BundleUtil.java 17 package android.arch.persistence.room.migration.bundle;
PrimaryKeyBundle.java 17 package android.arch.persistence.room.migration.bundle;
FieldBundle.java 17 package android.arch.persistence.room.migration.bundle;
ForeignKeyBundle.java 17 package android.arch.persistence.room.migration.bundle;
IndexBundle.java 17 package android.arch.persistence.room.migration.bundle;
DatabaseBundle.java 17 package android.arch.persistence.room.migration.bundle;
SchemaBundle.java 17 package android.arch.persistence.room.migration.bundle;
EntityBundle.java 17 package android.arch.persistence.room.migration.bundle;
  /frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/migration/
Migration.java 17 package android.arch.persistence.room.migration;
22 * Base class for a database migration.
24 * Each migration can move between 2 versions that are defined by {@link #startVersion} and
27 * A migration can handle more than 1 version (e.g. if you have a faster path to choose when
29 * 3 and latest version is >= 5, Room will use the migration object that can migrate from
34 * versions, you should still provide a Migration object to the builder.
36 public abstract class Migration {
41 * Creates a new migration between {@code startVersion} and {@code endVersion}.
44 * @param endVersion The end version of the database after this migration is applied.
46 public Migration(int startVersion, int endVersion)
    [all...]
  /external/autotest/database/
migrate.py 20 class Migration(object):
21 """Represents a database migration."""
35 """Instantiates a Migration from a file.
37 @param filename: Name of a migration file.
39 @return An instantiated Migration object.
67 """Performs an up migration (to a newer version).
76 """Performs a down migration (to an older version).
93 # A boolean, this will only be set to True if this migration should be
145 """Checks whether the migration table exists."""
156 """Creates the migration table.""
    [all...]
migrate_unittest.py 17 Dummy migration class that records all migrations done in a class
133 migration = migrate.Migration('name', 1, migration_module)
134 migration.migrate_up(self.manager)
135 migration.migrate_down(self.manager)
  /external/ltp/testcases/kernel/power_management/
README 87 Timer migration interface test will execute on kernel versions 2.6.31 and above. Timer migration functionality verification testcases will be executed only on suitable architecture like quad core or the number of CPU's in each package should be atleast 4 and above
  /frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/
RoomDatabase.java 26 import android.arch.persistence.room.migration.Migration;
342 * Adds a migration to the builder.
344 * Each Migration has a start and end versions and Room runs these migrations to bring the
347 * If a migration item is missing between current version and the latest version, Room
349 * you should still provide a Migration object to the builder.
351 * A migration can handle more than 1 version (e.g. if you have a faster path to choose when
353 * 3 and latest version is >= 5, Room will use the migration object that can migrate from
356 * @param migrations The migration object that can modify the database and to the necessary
360 public Builder<T> addMigrations(Migration... migrations)
    [all...]
RoomOpenHelper.java 22 import android.arch.persistence.room.migration.Migration;
69 List<Migration> migrations = mConfiguration.migrationContainer.findMigrationPath(
72 for (Migration migration : migrations) {
73 migration.migrate(db);
82 throw new IllegalStateException("A migration from " + oldVersion + " to "
83 + newVersion + " is necessary. Please provide a Migration in the builder or call"
154 * Called after a migration run to validate database integrity.
  /external/ltp/testcases/kernel/controllers/memctl/
run_memctl_test.sh 28 # Test 01: Tests group memory usage on task migration #
106 TEST_NAME=" TASK MIGRATION TEST:";
158 echo Before task migration to group2
161 # We do not want to migrate charges during migration
173 echo "TFAIL Task migration failed from group_1 to group_2";
181 echo "TFAIL Task Migration failed for some of the tasks";
192 echo After task migration to group2
197 echo "TFAIL Memory resource Controller: Task Migration test $TEST_NUM FAILED";
199 echo "TPASS Memory Resource Controller: Task Migration test $TEST_NUM PASSED";
218 echo After task migration to group2 and doing mallo
    [all...]
  /frameworks/support/room/testing/src/main/java/android/arch/persistence/room/testing/
MigrationTestHelper.java 27 import android.arch.persistence.room.migration.Migration;
28 import android.arch.persistence.room.migration.bundle.DatabaseBundle;
29 import android.arch.persistence.room.migration.bundle.EntityBundle;
30 import android.arch.persistence.room.migration.bundle.FieldBundle;
31 import android.arch.persistence.room.migration.bundle.ForeignKeyBundle;
32 import android.arch.persistence.room.migration.bundle.SchemaBundle;
86 * Creates a new migration helper. It uses the Instrumentation context to load the schema
97 * Creates a new migration helper. It uses the Instrumentation context to load the schema
159 * After the migration, the method validates the database schema to ensure that migratio
    [all...]
  /cts/common/host-side/tradefed/tests/res/testtype/
testJar1.jar 
  /external/clang/tools/arcmt-test/
arcmt-test.cpp 1 //===-- arcmt-test.cpp - ARC Migration Tool testbed -----------------------===//
174 MigrationProcess migration(origCI, std::make_shared<PCHContainerOperations>(),
187 bool err = migration.applyTransform(transforms[i], transformPrinter.get());
195 printResult(migration.getRemapper(), llvm::errs());
201 printResult(migration.getRemapper(), llvm::outs());

Completed in 615 milliseconds

1 2 3