/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/migration/ |
D | TopicsDbHelperV8.java | 17 package com.android.adservices.data.topics.migration; 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; [all …]
|
D | TopicsDbHelperV7.java | 17 package com.android.adservices.data.topics.migration; 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; [all …]
|
D | TopicsDbHelperV6.java | 17 package com.android.adservices.data.topics.migration; 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;
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/appupdate/testapps/testapp1/java/com/android/adservices/tests/cts/topics/testapp1/ |
D | MainActivity.java | 16 package com.android.adservices.tests.cts.topics.testapp1; 18 import android.adservices.clients.topics.AdvertisingTopicsClient; 19 import android.adservices.topics.GetTopicsResponse; 20 import android.adservices.topics.Topic; 76 List<Topic> topics = getTopicsResponse.getTopics(); in sendGetTopicsResponseBroadcast() local 77 Log.v(LOG_TAG, "Test app gets topics: " + topics); in sendGetTopicsResponseBroadcast() 81 if (topics.isEmpty()) { in sendGetTopicsResponseBroadcast() 85 int[] topicIds = topics.stream().mapToInt(Topic::getTopicId).toArray(); in sendGetTopicsResponseBroadcast()
|
/packages/modules/AdServices/adservices/tests/perf/assets/ |
D | topics_profile.textpb | 5 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 14 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 23 …journey: "android.adservices.test.scenario.adservices.topics.TopicsEpochComputationPrecomputedClas… 28 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 37 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 46 …journey: "android.adservices.test.scenario.adservices.topics.TopicsEpochComputationPrecomputedClas… 51 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall"
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/ |
D | GetTopicsResponse.java | 16 package android.adservices.topics; 35 private GetTopicsResponse(List<Topic> topics, List<EncryptedTopic> encryptedTopics) { in GetTopicsResponse() argument 36 mTopics = topics; in GetTopicsResponse() 85 public Builder(@NonNull List<Topic> topics) { in Builder() argument 86 mTopics = Objects.requireNonNull(topics); in Builder() 96 public Builder(@NonNull List<Topic> topics, @NonNull List<EncryptedTopic> encryptedTopics) { in Builder() argument 97 mTopics = Objects.requireNonNull(topics); in Builder()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
D | CacheManager.java | 17 package com.android.adservices.service.topics; 33 import com.android.adservices.data.topics.CombinedTopic; 34 import com.android.adservices.data.topics.EncryptedTopic; 35 import com.android.adservices.data.topics.Topic; 36 import com.android.adservices.data.topics.TopicsDao; 240 List<Topic> topics = new ArrayList<>(); in getTopics() local 252 if (topics.contains(topic)) { in getTopics() 274 topics.add(topic); in getTopics() 309 .setTopicIdsCount(topics.size()) in getTopics() 316 .setTopicIdsCount(topics.size()) in getTopics() [all …]
|
D | TopicsMapper.java | 17 package com.android.adservices.service.topics; 21 import com.android.adservices.data.topics.Topic; 50 ImmutableList<Topic> topics, Context context) { in getResourcesIdMapByTopicsList() argument 52 topics.stream() in getResourcesIdMapByTopicsList()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | HpkeEncrypterTest.java | 17 package com.android.adservices.service.topics; 23 import static com.android.adservices.service.topics.EncryptionManagerTest.DECODED_PRIVATE_KEY; 24 import static com.android.adservices.service.topics.EncryptionManagerTest.DECODED_PUBLIC_KEY; 25 import static com.android.adservices.service.topics.EncryptionManagerTest.EMPTY_CONTEXT_INFO; 26 import static com.android.adservices.service.topics.TopicsJsonMapper.KEY_MODEL_VERSION; 27 import static com.android.adservices.service.topics.TopicsJsonMapper.KEY_TAXONOMY_VERSION; 28 import static com.android.adservices.service.topics.TopicsJsonMapper.KEY_TOPIC_ID; 35 import com.android.adservices.data.topics.Topic;
|
D | TopicsJsonMapperTest.java | 17 package com.android.adservices.service.topics; 19 import static com.android.adservices.service.topics.TopicsJsonMapper.KEY_MODEL_VERSION; 20 import static com.android.adservices.service.topics.TopicsJsonMapper.KEY_TAXONOMY_VERSION; 21 import static com.android.adservices.service.topics.TopicsJsonMapper.KEY_TOPIC_ID; 25 import com.android.adservices.data.topics.Topic;
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp6/java/com/example/adservices/samples/topics/sampleapp6/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleapp6; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 104 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 115 + topics in registerGetTopicsButton() 131 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleappwithnoperm/java/com/example/adservices/samples/topics/sampleappwithnoperm/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleappwithnoperm; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 102 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 114 + topics in registerGetTopicsButton() 131 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp3/java/com/example/adservices/samples/topics/sampleapp3/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleapp3; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 103 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 115 + topics in registerGetTopicsButton() 132 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp2/java/com/example/adservices/samples/topics/sampleapp2/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleapp2; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 103 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 115 + topics in registerGetTopicsButton() 132 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleappwithoptoutall/java/com/example/adservices/samples/topics/sampleappwithoptoutall/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleappwithoptoutall; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 102 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 114 + topics in registerGetTopicsButton() 131 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp5/java/com/example/adservices/samples/topics/sampleapp5/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleapp5; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 102 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 113 + topics in registerGetTopicsButton() 130 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp4/java/com/example/adservices/samples/topics/sampleapp4/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleapp4; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 103 String topics = getTopics(result.getTopics()); in registerGetTopicsButton() 115 + topics in registerGetTopicsButton() 132 + topics in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp1/java/com/example/adservices/samples/topics/sampleapp1/ |
D | MainActivity.java | 16 package com.example.adservices.samples.topics.sampleapp1; 20 import android.adservices.clients.topics.AdvertisingTopicsClient; 21 import android.adservices.topics.EncryptedTopic; 22 import android.adservices.topics.GetTopicsResponse; 23 import android.adservices.topics.Topic; 167 String topics = getTopics(result.getTopics()); in getTopics() 179 + topics in getTopics() 189 Log.d(TAG, sdkName + "'s topics: " + NEWLINE + topics + NEWLINE); in getTopics()
|
/packages/modules/AdServices/adservices/tests/perf/assets/concurrent-configs/ |
D | topics_concurrent.textpb | 7 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 15 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 24 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall" 31 journey: "android.adservices.test.scenario.adservices.topics.GetTopicsApiCall"
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/ |
D | PreviewApiTest.java | 17 package com.android.adservices.tests.cts.topics; 24 import android.adservices.clients.topics.AdvertisingTopicsClient; 25 import android.adservices.topics.EncryptedTopic; 26 import android.adservices.topics.GetTopicsRequest; 27 import android.adservices.topics.GetTopicsResponse; 28 import android.adservices.topics.Topic;
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/ |
D | TopicsDao.java | 17 package com.android.server.adservices.data.topics; 19 import static com.android.server.adservices.data.topics.TopicsTables.DUMMY_MODEL_VERSION; 21 import android.adservices.topics.Topic; 76 public void recordBlockedTopic(@NonNull List<Topic> topics, int userIdentifier) { in recordBlockedTopic() argument 77 Objects.requireNonNull(topics); in recordBlockedTopic() 83 for (Topic topic : topics) { in recordBlockedTopic()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/topics/ |
D | TopicsService.java | 16 package com.android.adservices.topics; 44 import com.android.adservices.service.topics.CacheManager; 45 import com.android.adservices.service.topics.EpochJob; 46 import com.android.adservices.service.topics.EpochManager; 47 import com.android.adservices.service.topics.TopicsServiceImpl; 48 import com.android.adservices.service.topics.TopicsWorker;
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/src/com/android/tests/sandbox/topics/ |
D | SandboxedTopicsManagerTest.java | 17 package com.android.tests.sandbox.topics; 20 import static com.android.tests.sandbox.topics.CtsSandboxedTopicsManagerTestsTestCase.TEST_EPOCH_JO… 24 import android.adservices.clients.topics.AdvertisingTopicsClient; 25 import android.adservices.topics.GetTopicsResponse; 38 import com.android.adservices.topics.TopicsTestHelper;
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/ |
D | TopicsManagerJetpackTest.java | 17 package com.android.adservices.topics; 24 import androidx.privacysandbox.ads.adservices.java.topics.TopicsManagerFutures; 25 import androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest; 26 import androidx.privacysandbox.ads.adservices.topics.GetTopicsResponse; 27 import androidx.privacysandbox.ads.adservices.topics.Topic;
|
/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; 25 import android.adservices.topics.Topic; 26 import android.app.adservices.topics.TopicParcel; 33 import com.android.server.adservices.data.topics.TopicsDao; 34 import com.android.server.adservices.data.topics.TopicsDbHelper; 35 import com.android.server.adservices.data.topics.TopicsDbTestUtil; 36 import com.android.server.adservices.data.topics.TopicsTables;
|