Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DAppUpdateManagerTest.java620 final int numOfLookBackEpochs = 3; in testReconcileInstalledApps() local
643 when(mMockFlags.getTopicsNumberOfLookBackEpochs()).thenReturn(numOfLookBackEpochs); in testReconcileInstalledApps()
674 epochId >= currentEpochId - numOfLookBackEpochs; in testReconcileInstalledApps()
695 assertThat(mTopicsDao.retrieveReturnedTopics(currentEpochId - 1, numOfLookBackEpochs)) in testReconcileInstalledApps()
795 final int numOfLookBackEpochs = 3; in testAssignTopicsToNewlyInstalledApps() local
821 when(mMockFlags.getTopicsNumberOfLookBackEpochs()).thenReturn(numOfLookBackEpochs); in testAssignTopicsToNewlyInstalledApps()
836 epochId >= currentEpochId - numOfLookBackEpochs; in testAssignTopicsToNewlyInstalledApps()
858 assertThat(mTopicsDao.retrieveReturnedTopics(currentEpochId - 1, numOfLookBackEpochs)) in testAssignTopicsToNewlyInstalledApps()
DTopicsWorkerTest.java1052 final int numOfLookBackEpochs = 3; in testReconcileApplicationUpdate() local
1104 when(mMockFlags.getTopicsNumberOfLookBackEpochs()).thenReturn(numOfLookBackEpochs); in testReconcileApplicationUpdate()
1111 for (int numEpoch = 0; numEpoch < numOfLookBackEpochs; numEpoch++) { in testReconcileApplicationUpdate()
1150 currentEpochId - numOfLookBackEpochs - 1, Map.of(Pair.create(app5, ""), topic1)); in testReconcileApplicationUpdate()
1153 when(mMockFlags.getTopicsNumberOfLookBackEpochs()).thenReturn(numOfLookBackEpochs); in testReconcileApplicationUpdate()
1559 final int numOfLookBackEpochs = 3; in testHandleAppInstallation() local
1590 when(mMockFlags.getTopicsNumberOfLookBackEpochs()).thenReturn(numOfLookBackEpochs); in testHandleAppInstallation()
1606 epochId >= currentEpochId - numOfLookBackEpochs; in testHandleAppInstallation()