Home
last modified time | relevance | path

Searched refs:TopicsDao (Results 1 – 22 of 22) sorted by relevance

/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/
DTopicsDao.java43 public class TopicsDao { class
45 private static TopicsDao sSingleton;
55 public TopicsDao(TopicsDbHelper topicsDbHelper) { in TopicsDao() method in TopicsDao
61 public static TopicsDao getInstance(@NonNull Context context) { in getInstance()
64 sSingleton = new TopicsDao(TopicsDbHelper.getInstance(context)); in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DBlockedTopicsManager.java42 import com.android.adservices.data.topics.TopicsDao;
82 private final TopicsDao mTopicsDao;
90 @NonNull TopicsDao topicsDao, in BlockedTopicsManager()
125 TopicsDao topicsDao = TopicsDao.getInstance(); in getInstance()
354 @NonNull TopicsDao topicsDao, in handleBlockedTopicsMigrationIfNeeded()
429 @NonNull TopicsDao topicsDao, in mayMigratePpApiBlockedTopicsToSystemService()
473 static void mayClearPpApiBlockedTopics(@NonNull Context context, @NonNull TopicsDao topicsDao) { in mayClearPpApiBlockedTopics()
DCacheManager.java36 import com.android.adservices.data.topics.TopicsDao;
88 private final TopicsDao mTopicsDao;
115 TopicsDao topicsDao, in CacheManager()
143 TopicsDao.getInstance(), in getInstance()
DAppUpdateManager.java34 import com.android.adservices.data.topics.TopicsDao;
92 private final TopicsDao mTopicsDao;
98 @NonNull TopicsDao topicsDao, in AppUpdateManager()
119 TopicsDao.getInstance(), in getInstance()
DEpochManager.java32 import com.android.adservices.data.topics.TopicsDao;
115 private final TopicsDao mTopicsDao;
129 @NonNull TopicsDao topicsDao, in EpochManager()
156 TopicsDao.getInstance(), in getInstance()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DBlockedTopicsManager.java23 import com.android.server.adservices.data.topics.TopicsDao;
37 private final TopicsDao mTopicsDao;
40 public BlockedTopicsManager(@NonNull TopicsDao topicsDao, int userIdentifier) { in BlockedTopicsManager()
DUserInstanceManager.java27 import com.android.server.adservices.data.topics.TopicsDao;
65 private final TopicsDao mTopicsDao;
67 UserInstanceManager(@NonNull TopicsDao topicsDao, @NonNull String adServicesBaseDir) { in UserInstanceManager()
DAdServicesManagerService.java54 import com.android.server.adservices.data.topics.TopicsDao;
166 TopicsDao.getInstance(context), ADSERVICES_BASE_DIR))); in Lifecycle()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DUserInstanceManagerTest.java33 import com.android.server.adservices.data.topics.TopicsDao;
56 private TopicsDao mTopicsDao;
64 mTopicsDao = new TopicsDao(mDBHelper); in setup()
240 TopicsDao topicsDao = in testDump()
241 new TopicsDao(mDBHelper) { in testDump()
DBlockedTopicsManagerTest.java29 import com.android.server.adservices.data.topics.TopicsDao;
57 mBlockedTopicsManager = new BlockedTopicsManager(new TopicsDao(mDBHelper), USER_ID); in setup()
DAdServicesManagerServiceTest.java70 import com.android.server.adservices.data.topics.TopicsDao;
144 TopicsDao topicsDao = new TopicsDao(mDBHelper); in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/migration/
DTopicsDbMigratorV7Test.java27 import com.android.adservices.data.topics.TopicsDao;
109 TopicsDao topicsDao = new TopicsDao(mTopicsDbHelper); in testDbMigrationFromV6ToV7()
DTopicsDbMigratorV9Test.java29 import com.android.adservices.data.topics.TopicsDao;
111 TopicsDao topicsDao = new TopicsDao(mTopicsDbHelper); in testDbMigrationFromV8ToV9()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/
DTopicsDaoTest.java42 private final TopicsDao mTopicsDao = new TopicsDao(mTopicsDBHelper);
192 TopicsDao topicsDao = new TopicsDao(mockTopicsDbHelper); in testDump()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java43 import com.android.adservices.data.topics.TopicsDao;
109 private TopicsDao mTopicsDao;
132 mTopicsDao = new TopicsDao(mDbHelper); in setup()
608 TopicsDao topicsDao = Mockito.spy(new TopicsDao(mDbHelper)); in testProcessEpoch()
1011 TopicsDao topicsDao = Mockito.spy(new TopicsDao(mDbHelper)); in testComputeEpoch_emptyTopTopics()
DCacheManagerTest.java43 import com.android.adservices.data.topics.TopicsDao;
93 private TopicsDao mTopicsDao;
126 mTopicsDao = new TopicsDao(dbHelper); in setup()
813 TopicsDao topicsDao = new TopicsDao(dbHelper); in testGetTopics_verifyLogs()
1136 TopicsDao topicsDao = new TopicsDao(dbHelper); in testGetTopics_verifyLogsWithRandomizedResponse()
DBlockedTopicsManagerTest.java55 import com.android.adservices.data.topics.TopicsDao;
84 private final TopicsDao mTopicsDao = new TopicsDao(mDBHelper);
DTopicsServiceImplTest.java84 import com.android.adservices.data.topics.TopicsDao;
160 private TopicsDao mTopicsDao;
191 mTopicsDao = new TopicsDao(dbHelper); in setup()
DAppUpdateManagerTest.java45 import com.android.adservices.data.topics.TopicsDao;
81 private TopicsDao mTopicsDao;
96 mTopicsDao = new TopicsDao(mDbHelper); in setup()
DTopicsWorkerTest.java52 import com.android.adservices.data.topics.TopicsDao;
90 private TopicsDao mTopicsDao;
121 mTopicsDao = new TopicsDao(mDbHelper); in setup()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/
DTopicsDao.java56 public class TopicsDao { class
58 private static TopicsDao sSingleton;
95 public TopicsDao(DbHelper dbHelper) { in TopicsDao() method in TopicsDao
100 public static TopicsDao getInstance() { in getInstance()
103 sSingleton = new TopicsDao(DbHelper.getInstance()); in getInstance()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/
DTopicsDaoTest.java75 private final TopicsDao mTopicsDao = new TopicsDao(mDBHelper);
835 TopicsDao topicsDao = new TopicsDao(mockDbHelper); in testDeleteAllTopicsTables_sqlExceptionOnDelete()