/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
D | TopicsDao.java | 74 TopicsTables.TaxonomyContract.TABLE, 75 TopicsTables.AppClassificationTopicsContract.TABLE, 76 TopicsTables.AppUsageHistoryContract.TABLE, 77 TopicsTables.UsageHistoryContract.TABLE, 78 TopicsTables.CallerCanLearnTopicsContract.TABLE, 79 TopicsTables.ReturnedTopicContract.TABLE, 80 TopicsTables.ReturnedEncryptedTopicContract.TABLE, 81 TopicsTables.TopTopicsContract.TABLE, 82 TopicsTables.BlockedTopicsContract.TABLE, 83 TopicsTables.EpochOriginContract.TABLE, [all …]
|
D | TopicsTables.java | 26 public final class TopicsTables { class 403 private TopicsTables() {} in TopicsTables() method in TopicsTables
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/migration/ |
D | TopicsDbHelperV7.java | 19 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_APP_CLASSIFICATION_TOPIC… 20 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_APP_USAGE_HISTORY; 21 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_BLOCKED_TOPICS; 22 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_CALLER_CAN_LEARN_TOPICS; 23 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_EPOCH_ORIGIN; 24 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOPICS_TAXONOMY; 25 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOPIC_CONTRIBUTORS; 26 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOP_TOPICS; 27 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_USAGE_HISTORY; 36 import com.android.adservices.data.topics.TopicsTables; [all …]
|
D | TopicsDbMigratorV8Test.java | 28 import com.android.adservices.data.topics.TopicsTables; 81 assertThat(DbTestUtil.getTableColumns(db, TopicsTables.ReturnedTopicContract.TABLE)) in testDbMigrationFromV7ToV8() 82 .doesNotContain(TopicsTables.ReturnedTopicContract.LOGGED_TOPIC); in testDbMigrationFromV7ToV8() 94 assertThat(DbTestUtil.getTableColumns(db, TopicsTables.ReturnedTopicContract.TABLE)) in testDbMigrationFromV7ToV8() 95 .contains(TopicsTables.ReturnedTopicContract.LOGGED_TOPIC); in testDbMigrationFromV7ToV8() 99 TopicsTables.ReturnedTopicContract.TABLE, in testDbMigrationFromV7ToV8() 105 TopicsTables.ReturnedTopicContract.TABLE); in testDbMigrationFromV7ToV8() 110 TopicsTables.ReturnedTopicContract.TABLE, in testDbMigrationFromV7ToV8() 111 TopicsTables.ReturnedTopicContract.LOGGED_TOPIC)) in testDbMigrationFromV7ToV8() 116 TopicsTables.ReturnedTopicContract.TABLE, in testDbMigrationFromV7ToV8() [all …]
|
D | TopicsDbHelperV8.java | 19 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_APP_CLASSIFICATION_TOPIC… 20 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_APP_USAGE_HISTORY; 21 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_BLOCKED_TOPICS; 22 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_CALLER_CAN_LEARN_TOPICS; 23 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_EPOCH_ORIGIN; 24 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_RETURNED_TOPIC; 25 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOPICS_TAXONOMY; 26 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOPIC_CONTRIBUTORS; 27 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOP_TOPICS; 28 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_USAGE_HISTORY;
|
D | TopicsDbHelperV6.java | 19 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_APP_CLASSIFICATION_TOPIC… 20 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_APP_USAGE_HISTORY; 21 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_BLOCKED_TOPICS; 22 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_CALLER_CAN_LEARN_TOPICS; 23 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_EPOCH_ORIGIN; 24 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_RETURNED_TOPIC; 25 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOPICS_TAXONOMY; 26 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_TOP_TOPICS; 27 import static com.android.adservices.data.topics.TopicsTables.CREATE_TABLE_USAGE_HISTORY;
|
D | TopicsDbMigratorV7Test.java | 28 import com.android.adservices.data.topics.TopicsTables; 83 TopicsTables.TopicContributorsContract.TABLE, in testDbMigrationFromV6ToV7() 101 TopicsTables.TopicContributorsContract.TABLE, in testDbMigrationFromV6ToV7()
|
D | TopicsDbMigratorV9Test.java | 30 import com.android.adservices.data.topics.TopicsTables; 85 TopicsTables.ReturnedEncryptedTopicContract.TABLE, in testDbMigrationFromV8ToV9() 103 TopicsTables.ReturnedEncryptedTopicContract.TABLE, in testDbMigrationFromV8ToV9()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/ |
D | TopicsDao.java | 19 import static com.android.server.adservices.data.topics.TopicsTables.DUMMY_MODEL_VERSION; 86 values.put(TopicsTables.BlockedTopicsContract.TOPIC, topic.getTopicId()); in recordBlockedTopic() 88 TopicsTables.BlockedTopicsContract.TAXONOMY_VERSION, in recordBlockedTopic() 90 values.put(TopicsTables.BlockedTopicsContract.USER, userIdentifier); in recordBlockedTopic() 94 TopicsTables.BlockedTopicsContract.TABLE, /* nullColumnHack */ in recordBlockedTopic() 118 TopicsTables.BlockedTopicsContract.USER in removeBlockedTopic() 121 + TopicsTables.BlockedTopicsContract.TOPIC in removeBlockedTopic() 124 + TopicsTables.BlockedTopicsContract.TAXONOMY_VERSION in removeBlockedTopic() 133 db.delete(TopicsTables.BlockedTopicsContract.TABLE, whereClause, whereArgs); in removeBlockedTopic() 153 String selection = TopicsTables.BlockedTopicsContract.USER + " = ?"; in retrieveAllBlockedTopics() [all …]
|
D | TopicsTables.java | 28 public final class TopicsTables { class 67 private TopicsTables() {} in TopicsTables() method in TopicsTables
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | AppUpdateManager.java | 35 import com.android.adservices.data.topics.TopicsTables; 72 TopicsTables.AppClassificationTopicsContract.TABLE, 73 TopicsTables.AppClassificationTopicsContract.APP), 75 TopicsTables.CallerCanLearnTopicsContract.TABLE, 76 TopicsTables.CallerCanLearnTopicsContract.CALLER), 78 TopicsTables.ReturnedTopicContract.TABLE, 79 TopicsTables.ReturnedTopicContract.APP), 81 TopicsTables.UsageHistoryContract.TABLE, 82 TopicsTables.UsageHistoryContract.APP), 84 TopicsTables.AppUsageHistoryContract.TABLE, [all …]
|
D | EpochManager.java | 33 import com.android.adservices.data.topics.TopicsTables; 69 TopicsTables.AppClassificationTopicsContract.TABLE, 70 TopicsTables.AppClassificationTopicsContract.EPOCH_ID), 72 TopicsTables.TopTopicsContract.TABLE, 73 TopicsTables.TopTopicsContract.EPOCH_ID), 75 TopicsTables.ReturnedTopicContract.TABLE, 76 TopicsTables.ReturnedTopicContract.EPOCH_ID), 78 TopicsTables.UsageHistoryContract.TABLE, 79 TopicsTables.UsageHistoryContract.EPOCH_ID), 81 TopicsTables.AppUsageHistoryContract.TABLE, [all …]
|
D | TopicsWorker.java | 34 import com.android.adservices.data.topics.TopicsTables; 315 tablesToExclude.add(TopicsTables.ReturnedEncryptedTopicContract.TABLE); in clearAllTopicsData() 320 if (!tablesToExclude.contains(TopicsTables.BlockedTopicsContract.TABLE)) { in clearAllTopicsData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/ |
D | TopicsDaoTest.java | 81 DbTestUtil.deleteTable(TopicsTables.TaxonomyContract.TABLE); in setup() 82 DbTestUtil.deleteTable(TopicsTables.AppClassificationTopicsContract.TABLE); in setup() 83 DbTestUtil.deleteTable(TopicsTables.CallerCanLearnTopicsContract.TABLE); in setup() 84 DbTestUtil.deleteTable(TopicsTables.TopTopicsContract.TABLE); in setup() 85 DbTestUtil.deleteTable(TopicsTables.ReturnedTopicContract.TABLE); in setup() 86 DbTestUtil.deleteTable(TopicsTables.ReturnedEncryptedTopicContract.TABLE); in setup() 87 DbTestUtil.deleteTable(TopicsTables.UsageHistoryContract.TABLE); in setup() 88 DbTestUtil.deleteTable(TopicsTables.AppUsageHistoryContract.TABLE); in setup() 89 DbTestUtil.deleteTable(TopicsTables.BlockedTopicsContract.TABLE); in setup() 90 DbTestUtil.deleteTable(TopicsTables.EpochOriginContract.TABLE); in setup() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/migration/ |
D | TopicsDbMigratorV8.java | 22 import com.android.adservices.data.topics.TopicsTables; 45 TopicsTables.ReturnedTopicContract.TABLE, 46 TopicsTables.ReturnedTopicContract.LOGGED_TOPIC); 50 TopicsTables.ReturnedTopicContract.TABLE, 51 TopicsTables.ReturnedTopicContract.LOGGED_TOPIC); 55 TopicsTables.ReturnedTopicContract.TABLE, 56 TopicsTables.ReturnedTopicContract.LOGGED_TOPIC);
|
D | TopicsDbMigratorV9.java | 21 import com.android.adservices.data.topics.TopicsTables; 33 "DROP TABLE IF EXISTS " + TopicsTables.ReturnedEncryptedTopicContract.TABLE, 34 TopicsTables.CREATE_TABLE_RETURNED_ENCRYPTED_TOPIC
|
D | TopicsDbMigratorV7.java | 21 import com.android.adservices.data.topics.TopicsTables; 33 "DROP TABLE IF EXISTS " + TopicsTables.TopicContributorsContract.TABLE, 34 TopicsTables.CREATE_TABLE_TOPIC_CONTRIBUTORS
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | UserInstanceManagerTest.java | 20 import static com.android.server.adservices.data.topics.TopicsTables.DUMMY_MODEL_VERSION; 36 import com.android.server.adservices.data.topics.TopicsTables; 74 TopicsDbTestUtil.deleteTable(TopicsTables.BlockedTopicsContract.TABLE); in tearDown()
|
D | BlockedTopicsManagerTest.java | 32 import com.android.server.adservices.data.topics.TopicsTables; 63 TopicsDbTestUtil.deleteTable(TopicsTables.BlockedTopicsContract.TABLE); in tearDown()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsWorkerTest.java | 53 import com.android.adservices.data.topics.TopicsTables; 111 DbTestUtil.deleteTable(TopicsTables.TaxonomyContract.TABLE); in setup() 112 DbTestUtil.deleteTable(TopicsTables.AppClassificationTopicsContract.TABLE); in setup() 113 DbTestUtil.deleteTable(TopicsTables.CallerCanLearnTopicsContract.TABLE); in setup() 114 DbTestUtil.deleteTable(TopicsTables.TopTopicsContract.TABLE); in setup() 115 DbTestUtil.deleteTable(TopicsTables.ReturnedTopicContract.TABLE); in setup() 116 DbTestUtil.deleteTable(TopicsTables.UsageHistoryContract.TABLE); in setup() 117 DbTestUtil.deleteTable(TopicsTables.AppUsageHistoryContract.TABLE); in setup() 118 DbTestUtil.deleteTable(TopicsTables.BlockedTopicsContract.TABLE); in setup() 119 DbTestUtil.deleteTable(TopicsTables.TopicContributorsContract.TABLE); in setup() [all …]
|
D | CacheManagerTest.java | 44 import com.android.adservices.data.topics.TopicsTables; 115 DbTestUtil.deleteTable(TopicsTables.TaxonomyContract.TABLE); in setup() 116 DbTestUtil.deleteTable(TopicsTables.AppClassificationTopicsContract.TABLE); in setup() 117 DbTestUtil.deleteTable(TopicsTables.CallerCanLearnTopicsContract.TABLE); in setup() 118 DbTestUtil.deleteTable(TopicsTables.TopTopicsContract.TABLE); in setup() 119 DbTestUtil.deleteTable(TopicsTables.ReturnedTopicContract.TABLE); in setup() 120 DbTestUtil.deleteTable(TopicsTables.UsageHistoryContract.TABLE); in setup() 121 DbTestUtil.deleteTable(TopicsTables.AppUsageHistoryContract.TABLE); in setup() 122 DbTestUtil.deleteTable(TopicsTables.BlockedTopicsContract.TABLE); in setup() 123 DbTestUtil.deleteTable(TopicsTables.TopicContributorsContract.TABLE); in setup() [all …]
|
D | EpochManagerTest.java | 44 import com.android.adservices.data.topics.TopicsTables; 146 DbTestUtil.deleteTable(TopicsTables.TaxonomyContract.TABLE); in setup() 147 DbTestUtil.deleteTable(TopicsTables.AppClassificationTopicsContract.TABLE); in setup() 148 DbTestUtil.deleteTable(TopicsTables.CallerCanLearnTopicsContract.TABLE); in setup() 149 DbTestUtil.deleteTable(TopicsTables.TopTopicsContract.TABLE); in setup() 150 DbTestUtil.deleteTable(TopicsTables.ReturnedTopicContract.TABLE); in setup() 151 DbTestUtil.deleteTable(TopicsTables.UsageHistoryContract.TABLE); in setup() 152 DbTestUtil.deleteTable(TopicsTables.AppUsageHistoryContract.TABLE); in setup() 153 DbTestUtil.deleteTable(TopicsTables.EpochOriginContract.TABLE); in setup() 154 DbTestUtil.deleteTable(TopicsTables.TopicContributorsContract.TABLE); in setup()
|
D | AppUpdateManagerTest.java | 46 import com.android.adservices.data.topics.TopicsTables; 98 DbTestUtil.deleteTable(TopicsTables.TaxonomyContract.TABLE); in setup() 99 DbTestUtil.deleteTable(TopicsTables.AppClassificationTopicsContract.TABLE); in setup() 100 DbTestUtil.deleteTable(TopicsTables.CallerCanLearnTopicsContract.TABLE); in setup() 101 DbTestUtil.deleteTable(TopicsTables.TopTopicsContract.TABLE); in setup() 102 DbTestUtil.deleteTable(TopicsTables.ReturnedTopicContract.TABLE); in setup() 103 DbTestUtil.deleteTable(TopicsTables.UsageHistoryContract.TABLE); in setup() 104 DbTestUtil.deleteTable(TopicsTables.AppUsageHistoryContract.TABLE); in setup() 105 DbTestUtil.deleteTable(TopicsTables.TopicContributorsContract.TABLE); in setup()
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/ |
D | TopicsDaoTest.java | 19 import static com.android.server.adservices.data.topics.TopicsTables.DUMMY_MODEL_VERSION; 52 TopicsDbTestUtil.deleteTable(TopicsTables.BlockedTopicsContract.TABLE); in tearDown()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/ |
D | DbHelper.java | 37 import com.android.adservices.data.topics.TopicsTables; 108 for (String sql : TopicsTables.CREATE_STATEMENTS) { in onCreate()
|