Searched refs:RkpdDatabase (Results 1 – 10 of 10) sorted by relevance
33 public abstract class RkpdDatabase extends RoomDatabase { class40 private static volatile RkpdDatabase sInstance;45 public static RkpdDatabase getDatabase(final Context context) { in getDatabase()46 RkpdDatabase result = sInstance; in getDatabase()50 synchronized (RkpdDatabase.class) { in getDatabase()53 RkpdDatabase.class, DB_NAME) in getDatabase()
44 import com.android.rkpdapp.database.RkpdDatabase;87 RkpdDatabase.getDatabase(sContext).provisionedKeyDao().deleteAllKeys(); in setUp()103 RkpdDatabase.getDatabase(sContext).provisionedKeyDao().deleteAllKeys(); in tearDown()207 ProvisionedKeyDao dao = RkpdDatabase.getDatabase(sContext).provisionedKeyDao(); in fetchEekDisablesRkp()231 ProvisionedKeyDao dao = RkpdDatabase.getDatabase(sContext).provisionedKeyDao(); in provisioningExpiresOldKeys()
34 import com.android.rkpdapp.database.RkpdDatabase;64 private RkpdDatabase mDatabase;69 mDatabase = Room.databaseBuilder(context, RkpdDatabase.class, DB_NAME).build(); in setUp()
42 import com.android.rkpdapp.database.RkpdDatabase;88 mKeyDao = RkpdDatabase.getDatabase(sContext).provisionedKeyDao(); in setUp()
33 import com.android.rkpdapp.database.RkpdDatabase;88 ProvisionedKeyDao dao = RkpdDatabase.getDatabase(context).provisionedKeyDao(); in getRegistration()
34 import com.android.rkpdapp.database.RkpdDatabase;89 mKeyDao = RkpdDatabase.getDatabase(getContext()).provisionedKeyDao(); in setUp()
36 import com.android.rkpdapp.database.RkpdDatabase;80 mKeyDao = RkpdDatabase.getDatabase(mContext).provisionedKeyDao(); in setUp()
30 import com.android.rkpdapp.database.RkpdDatabase;62 mKeyDao = RkpdDatabase.getDatabase(context).provisionedKeyDao(); in PeriodicProvisioner()
37 import com.android.rkpdapp.database.RkpdDatabase;104 mKeyDao = RkpdDatabase.getDatabase(sContext).provisionedKeyDao(); in setUp()
43 import com.android.rkpdapp.database.RkpdDatabase;136 mKeyDao = RkpdDatabase.getDatabase(sContext).provisionedKeyDao(); in setUp()