Home
last modified time | relevance | path

Searched refs:mEpochManager (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsWorker.java73 private final EpochManager mEpochManager; field in TopicsWorker
86 mEpochManager = epochManager; in TopicsWorker()
127 return mCacheManager.getKnownTopicsWithConsent(mEpochManager.getCurrentEpochId()); in getKnownTopicsWithConsent()
207 mEpochManager.getCurrentEpochId(), in getTopics()
266 mEpochManager.recordUsageHistory(app, sdk); in recordUsage()
280 mCacheManager.loadCache(mEpochManager.getCurrentEpochId()); in loadCache()
294 mEpochManager.processEpoch(); in computeEpoch()
346 mAppUpdateManager.reconcileUninstalledApps(context, mEpochManager.getCurrentEpochId()); in reconcileApplicationUpdate()
347 mAppUpdateManager.reconcileInstalledApps(context, mEpochManager.getCurrentEpochId()); in reconcileApplicationUpdate()
365 packageUri, mEpochManager.getCurrentEpochId()); in handleAppUninstallation()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java110 private EpochManager mEpochManager; field in EpochManagerTest
133 mEpochManager = in setup()
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()
432 mTopicsDao.retrieveAppSdksUsageMap(mEpochManager.getCurrentEpochId()); in testRecordUsage()
1005 mEpochManager.dump(printWriter, args); in testDump()