Searched refs:returnedAppSdkTopics (Results 1 – 5 of 5) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | AppUpdateManagerTest.java | 173 Map<Pair<String, String>, Topic> returnedAppSdkTopics = new HashMap<>(); in testReconcileUninstalledApps() local 174 returnedAppSdkTopics.put(Pair.create(app1, EMPTY_SDK), topic1); in testReconcileUninstalledApps() 175 returnedAppSdkTopics.put(Pair.create(app1, sdk1), topic1); in testReconcileUninstalledApps() 176 returnedAppSdkTopics.put(Pair.create(app2, EMPTY_SDK), topic1); in testReconcileUninstalledApps() 177 returnedAppSdkTopics.put(Pair.create(app2, sdk1), topic1); in testReconcileUninstalledApps() 179 mTopicsDao.persistReturnedAppTopicsMap(epochId1, returnedAppSdkTopics); in testReconcileUninstalledApps() 489 Map<Pair<String, String>, Topic> returnedAppSdkTopics = new HashMap<>(); in testDeleteAppDataFromTableByApps() local 490 returnedAppSdkTopics.put(Pair.create(app1, EMPTY_SDK), topic1); in testDeleteAppDataFromTableByApps() 491 returnedAppSdkTopics.put(Pair.create(app1, sdk1), topic1); in testDeleteAppDataFromTableByApps() 492 returnedAppSdkTopics.put(Pair.create(app2, EMPTY_SDK), topic1); in testDeleteAppDataFromTableByApps() [all …]
|
D | EpochManagerTest.java | 382 Map<Pair<String, String>, Topic> returnedAppSdkTopics = in testComputeReturnedAppTopics() local 406 assertThat(returnedAppSdkTopics).isEqualTo(expectedReturnedTopics); in testComputeReturnedAppTopics() 562 Map<Pair<String, String>, Topic> returnedAppSdkTopics = new HashMap<>(); in testGarbageCollectOutdatedEpochData_encryptedTopicsTable() local 563 returnedAppSdkTopics.put(Pair.create(app, sdk), topic1); in testGarbageCollectOutdatedEpochData_encryptedTopicsTable() 565 mTopicsDao.persistReturnedAppTopicsMap(epochId, returnedAppSdkTopics); in testGarbageCollectOutdatedEpochData_encryptedTopicsTable()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | EpochManager.java | 259 Map<Pair<String, String>, Topic> returnedAppSdkTopics = in processEpoch() local 261 int countOfTopicsBeforeEncryption = returnedAppSdkTopics.size(); in processEpoch() 265 mTopicsDao.persistReturnedAppTopicsMap(currentEpochId, returnedAppSdkTopics); in processEpoch() 276 encryptTopicsMap(returnedAppSdkTopics); in processEpoch() 483 Map<Pair<String, String>, Topic> returnedAppSdkTopics = new HashMap<>(); in computeReturnedAppSdkTopics() local 507 returnedAppSdkTopics.put(Pair.create(app, /* empty Sdk */ ""), returnedTopic); in computeReturnedAppSdkTopics() 523 returnedAppSdkTopics.put(Pair.create(app, sdk), returnedTopic); in computeReturnedAppSdkTopics() 533 return returnedAppSdkTopics; in computeReturnedAppSdkTopics()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 509 Map<Pair<String, String>, Topic> returnedAppSdkTopics = new HashMap<>(); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() local 510 returnedAppSdkTopics.put(Pair.create("app1", ""), topic1); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 511 returnedAppSdkTopics.put(Pair.create("app1", "sdk1"), topic1); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 512 returnedAppSdkTopics.put(Pair.create("app1", "sdk2"), topic1); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 514 returnedAppSdkTopics.put(Pair.create("app2", "sdk1"), topic2); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 515 returnedAppSdkTopics.put(Pair.create("app2", "sdk3"), topic2); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 516 returnedAppSdkTopics.put(Pair.create("app2", "sdk4"), topic2); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 518 returnedAppSdkTopics.put(Pair.create("app3", "sdk1"), topic3); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 520 returnedAppSdkTopics.put(Pair.create("app5", "sdk1"), topic5); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() 521 returnedAppSdkTopics.put(Pair.create("app5", "sdk5"), topic5); in testPersistAndRetrieveReturnedAppTopics_oneEpoch() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsDao.java | 689 long epochId, Map<Pair<String, String>, Topic> returnedAppSdkTopics) { in persistReturnedAppTopicsMap() argument 695 for (Map.Entry<Pair<String, String>, Topic> app : returnedAppSdkTopics.entrySet()) { in persistReturnedAppTopicsMap()
|