Home
last modified time | relevance | path

Searched refs:SharedStorageDatabase (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DSharedStorageDatabaseTest.java39 SharedStorageDatabase instance1 = SharedStorageDatabase.getInstance(CONTEXT); in testGetInstance()
40 SharedStorageDatabase instance2 = SharedStorageDatabase.getInstance(CONTEXT); in testGetInstance()
46 SharedStorageDatabase instance = SharedStorageDatabase.getInstance(CONTEXT); in testAppInstallDao()
DSharedStorageDatabaseMigrationTest.java50 new MigrationTestHelper(INSTRUMENTATION, SharedStorageDatabase.class);
DAppInstallDaoTest.java75 Room.inMemoryDatabaseBuilder(CONTEXT, SharedStorageDatabase.class) in setup()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DSharedStorageDatabase.java39 version = SharedStorageDatabase.DATABASE_VERSION,
42 public abstract class SharedStorageDatabase extends RoomDatabase { class
50 private static volatile SharedStorageDatabase sSingleton = null;
53 public static SharedStorageDatabase getInstance(@NonNull Context context) { in getInstance()
56 SharedStorageDatabase singleReadResult = sSingleton; in getInstance()
64 context, SharedStorageDatabase.class, DATABASE_NAME) in getInstance()
DDBHistogramIdentifier.java103 SharedStorageDatabase.FOREIGN_KEY_AUTOGENERATE_SUBSTITUTE); in builder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/
DRoomDatabaseRegistration.java22 import com.android.adservices.data.adselection.SharedStorageDatabase;
35 SharedStorageDatabase mSharedStorageDatabase;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdFilteringFeatureFactoryTest.java32 import com.android.adservices.data.adselection.SharedStorageDatabase;
47 Room.inMemoryDatabaseBuilder(CONTEXT, SharedStorageDatabase.class)
51 Room.inMemoryDatabaseBuilder(CONTEXT, SharedStorageDatabase.class)
DAdSelectionFailureE2ETest.java79 import com.android.adservices.data.adselection.SharedStorageDatabase;
262 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setUp()
266 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setUp()
DFrequencyCapFilteringE2ETest.java63 import com.android.adservices.data.adselection.SharedStorageDatabase;
241 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setup()
246 Room.inMemoryDatabaseBuilder(mSpyContext, SharedStorageDatabase.class) in setup()
DReportAndRegisterEventE2ETest.java75 import com.android.adservices.data.adselection.SharedStorageDatabase;
308 SharedStorageDatabase sharedDb = in setup()
311 SharedStorageDatabase.class) in setup()
DAdSelectionFromOutcomesE2ETest.java83 import com.android.adservices.data.adselection.SharedStorageDatabase;
282 SharedStorageDatabase sharedDb = in setUp()
283 Room.inMemoryDatabaseBuilder(mContextSpy, SharedStorageDatabase.class).build(); in setUp()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/adselection/
DAdSelectionShellCommandFactory.java29 import com.android.adservices.data.adselection.SharedStorageDatabase;
91 SharedStorageDatabase sharedStorageDatabase = SharedStorageDatabase.getInstance(context); in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceValidator.java25 import com.android.adservices.data.adselection.SharedStorageDatabase;
126 SharedStorageDatabase.getInstance(context) in getInstance()
128 SharedStorageDatabase.getInstance(context) in getInstance()
DBackgroundFetchWorker.java29 import com.android.adservices.data.adselection.SharedStorageDatabase;
107 SharedStorageDatabase.getInstance(context).appInstallDao(); in getInstance()
DScheduledUpdatesHandler.java35 import com.android.adservices.data.adselection.SharedStorageDatabase;
195 SharedStorageDatabase.getInstance(context).appInstallDao(), in ScheduledUpdatesHandler()
196 SharedStorageDatabase.getInstance(context).frequencyCapDao(), in ScheduledUpdatesHandler()
DCustomAudienceServiceImpl.java56 import com.android.adservices.data.adselection.SharedStorageDatabase;
143 SharedStorageDatabase.getInstance(context).appInstallDao(), in CustomAudienceServiceImpl()
144 SharedStorageDatabase.getInstance(context).frequencyCapDao(), in CustomAudienceServiceImpl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/customaudience/
DCustomAudienceShellCommandFactory.java27 import com.android.adservices.data.adselection.SharedStorageDatabase;
87 SharedStorageDatabase.getInstance(context).appInstallDao(), in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPackageChangedReceiver.java38 import com.android.adservices.data.adselection.SharedStorageDatabase;
399 SharedStorageDatabase getSharedStorageDatabase(@NonNull Context context) { in getSharedStorageDatabase()
401 return SharedStorageDatabase.getInstance(context); in getSharedStorageDatabase()
DFledgeMaintenanceTasksWorker.java32 import com.android.adservices.data.adselection.SharedStorageDatabase;
97 mFrequencyCapDao = SharedStorageDatabase.getInstance(context).frequencyCapDao(); in FledgeMaintenanceTasksWorker()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DShellCommandServiceImplTest.java40 import com.android.adservices.data.adselection.SharedStorageDatabase;
98 Room.inMemoryDatabaseBuilder(mContext, SharedStorageDatabase.class) in setup()
102 Room.inMemoryDatabaseBuilder(mContext, SharedStorageDatabase.class) in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/
DRoomSchemaMigrationGuardrailTest.java32 import com.android.adservices.data.adselection.SharedStorageDatabase;
89 new DatabaseWithVersion(SharedStorageDatabase.class, 2));
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdSelectionServiceImpl.java75 import com.android.adservices.data.adselection.SharedStorageDatabase;
293 SharedStorageDatabase.getInstance(context).appInstallDao(), in AdSelectionServiceImpl()
296 SharedStorageDatabase.getInstance(context).frequencyCapDao(), in AdSelectionServiceImpl()
330 SharedStorageDatabase.getInstance(context).appInstallDao(), in AdSelectionServiceImpl()
331 SharedStorageDatabase.getInstance(context).frequencyCapDao(), in AdSelectionServiceImpl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManagerV2.java42 import com.android.adservices.data.adselection.SharedStorageDatabase;
317 SharedStorageDatabase.getInstance(context).appInstallDao(), in getInstance()
319 SharedStorageDatabase.getInstance(context).frequencyCapDao(), in getInstance()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DBackgroundFetchWorkerTest.java56 import com.android.adservices.data.adselection.SharedStorageDatabase;
147 Room.inMemoryDatabaseBuilder(CONTEXT, SharedStorageDatabase.class) in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java54 import com.android.adservices.data.adselection.SharedStorageDatabase;
108 @Mock private SharedStorageDatabase mSharedStorageDatabaseMock;

12