Searched refs:MetadataDatabase (Results 1 – 5 of 5) sorted by relevance
37 public abstract class MetadataDatabase extends RoomDatabase { class53 public static MetadataDatabase createDatabase(Context context) { in createDatabase()55 MetadataDatabase.class, DATABASE_NAME) in createDatabase()73 public static MetadataDatabase createDatabaseWithoutMigration(Context context) { in createDatabaseWithoutMigration()75 MetadataDatabase.class, DATABASE_NAME) in createDatabaseWithoutMigration()
68 private MetadataDatabase mDatabase = null;134 mDatabase = MetadataDatabase in handleMessage()551 metadata.last_active_time = MetadataDatabase.sCurrentConnectionNumber++; in setConnection()663 MetadataDatabase.sCurrentConnectionNumber = 0; in compactLastConnectionTime()667 if (metadata.last_active_time != MetadataDatabase.sCurrentConnectionNumber) { in compactLastConnectionTime()670 + MetadataDatabase.sCurrentConnectionNumber); in compactLastConnectionTime()671 metadata.last_active_time = MetadataDatabase.sCurrentConnectionNumber; in compactLastConnectionTime()673 MetadataDatabase.sCurrentConnectionNumber++; in compactLastConnectionTime()697 public void start(MetadataDatabase database) { in start()725 return mAdapterService.getDatabasePath(MetadataDatabase.DATABASE_NAME) in getDatabaseAbsolutePath()
61 last_active_time = MetadataDatabase.sCurrentConnectionNumber++; in Metadata()
67 private MetadataDatabase mDatabase;88 MetadataDatabase.class.getCanonicalName(),101 MetadataDatabase.class).build(); in setUp()631 MetadataDatabase.MIGRATION_100_101); in testDatabaseMigration_100_101()698 MetadataDatabase.MIGRATION_101_102); in testDatabaseMigration_101_102()825 MetadataDatabase.MIGRATION_102_103); in testDatabaseMigration_102_103()955 MetadataDatabase.MIGRATION_103_104); in testDatabaseMigration_103_104()980 MetadataDatabase.MIGRATION_104_105); in testDatabaseMigration_104_105()1023 MetadataDatabase.MIGRATION_105_106); in testDatabaseMigration_105_106()
104 import com.android.bluetooth.btservice.storage.MetadataDatabase;544 mDatabaseManager.start(MetadataDatabase.createDatabase(this)); in onCreate()