/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 237 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app1", /* sdk = */ ""); in testRecordUsageHistory() 238 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app1", "sdk1"); in testRecordUsageHistory() 239 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app1", "sdk2"); in testRecordUsageHistory() 242 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app2", "sdk1"); in testRecordUsageHistory() 243 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app2", "sdk3"); in testRecordUsageHistory() 246 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app3", /* sdk = */ ""); in testRecordUsageHistory() 266 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app1", /* sdk = */ ""); in testRecordUsageHistory_notFoundEpochId() 267 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app1", "sdk1"); in testRecordUsageHistory_notFoundEpochId() 268 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app1", "sdk2"); in testRecordUsageHistory_notFoundEpochId() 271 mTopicsDao.recordUsageHistory(/* epochId = */ 1L, "app2", "sdk1"); in testRecordUsageHistory_notFoundEpochId() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | EpochManagerTest.java | 414 mEpochManager.recordUsageHistory("app1", /* sdk = */ ""); in testRecordUsage() 415 mEpochManager.recordUsageHistory("app1", "sdk1"); in testRecordUsage() 416 mEpochManager.recordUsageHistory("app1", "sdk2"); in testRecordUsage() 419 mEpochManager.recordUsageHistory("app2", "sdk1"); in testRecordUsage() 420 mEpochManager.recordUsageHistory("app2", "sdk3"); in testRecordUsage() 423 mEpochManager.recordUsageHistory("app3", /* sdk = */ ""); in testRecordUsage() 834 mTopicsDao.recordUsageHistory(epochId, "app1", sdk); in testProcessEpoch_enableEncryptedTopics_encryptionSucceed() 835 mTopicsDao.recordUsageHistory(epochId, "app2", sdk); in testProcessEpoch_enableEncryptedTopics_encryptionSucceed() 836 mTopicsDao.recordUsageHistory(epochId, "app3", sdk); in testProcessEpoch_enableEncryptedTopics_encryptionSucceed() 837 mTopicsDao.recordUsageHistory(epochId, "app4", sdk); in testProcessEpoch_enableEncryptedTopics_encryptionSucceed() [all …]
|
D | AppUpdateManagerTest.java | 144 mTopicsDao.recordUsageHistory(epochId1, app1, EMPTY_SDK); in testReconcileUninstalledApps() 145 mTopicsDao.recordUsageHistory(epochId1, app1, sdk1); in testReconcileUninstalledApps() 146 mTopicsDao.recordUsageHistory(epochId1, app2, EMPTY_SDK); in testReconcileUninstalledApps() 147 mTopicsDao.recordUsageHistory(epochId1, app2, sdk1); in testReconcileUninstalledApps() 456 mTopicsDao.recordUsageHistory(epochId1, app1, EMPTY_SDK); in testDeleteAppDataFromTableByApps() 457 mTopicsDao.recordUsageHistory(epochId1, app1, sdk1); in testDeleteAppDataFromTableByApps() 458 mTopicsDao.recordUsageHistory(epochId1, app2, EMPTY_SDK); in testDeleteAppDataFromTableByApps() 459 mTopicsDao.recordUsageHistory(epochId1, app2, sdk1); in testDeleteAppDataFromTableByApps() 460 mTopicsDao.recordUsageHistory(epochId1, app3, EMPTY_SDK); in testDeleteAppDataFromTableByApps() 461 mTopicsDao.recordUsageHistory(epochId1, app3, sdk1); in testDeleteAppDataFromTableByApps() [all …]
|
D | TopicsWorkerTest.java | 699 verify(mMockEpochManager, only()).recordUsageHistory(eq("app"), eq("sdk")); in testRecordUsage() 1136 mTopicsDao.recordUsageHistory(epochId, app1, sdk); in testReconcileApplicationUpdate() 1137 mTopicsDao.recordUsageHistory(epochId, app2, sdk); in testReconcileApplicationUpdate() 1138 mTopicsDao.recordUsageHistory(epochId, app4, sdk); in testReconcileApplicationUpdate() 1388 mTopicsDao.recordUsageHistory(epochId1, app1, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1389 mTopicsDao.recordUsageHistory(epochId1, app2, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1390 mTopicsDao.recordUsageHistory(epochId2, app1, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1391 mTopicsDao.recordUsageHistory(epochId2, app3, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors() 1392 mTopicsDao.recordUsageHistory(epochId3, app4, sdk); in testHandleAppUninstallation_handleTopTopicsWithoutContributors()
|
D | CacheManagerTest.java | 1809 mTopicsDao.recordUsageHistory(epochId, app, sdk); in testClearAllTopicsData()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | EpochManager.java | 330 public void recordUsageHistory(String app, String sdk) { in recordUsageHistory() method in EpochManager 336 mTopicsDao.recordUsageHistory(epochId, app, sdk); in recordUsageHistory()
|
D | TopicsWorker.java | 266 mEpochManager.recordUsageHistory(app, sdk); in recordUsage()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsDao.java | 353 public void recordUsageHistory(long epochId, String app, String sdk) { in recordUsageHistory() method in TopicsDao
|