/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/ |
D | GetTopicsResponseTest.java | 48 () -> new GetTopicsResponse.Builder(null, ENCRYPTED_TOPICS_LIST).build()); in testGetTopicsResponseBuilder_nullableThrows() 51 () -> new GetTopicsResponse.Builder(TOPICS_LIST, null).build()); in testGetTopicsResponseBuilder_nullableThrows() 58 new GetTopicsResponse.Builder(List.of(), ENCRYPTED_TOPICS_LIST) in testGetTopicsResponseBuilder_emptyListsAllowed() 67 GetTopicsResponse response = in testGetTopicsResponseBuilder() 68 new GetTopicsResponse.Builder(TOPICS_LIST, ENCRYPTED_TOPICS_LIST).build(); in testGetTopicsResponseBuilder() 78 GetTopicsResponse getTopicsResponse1 = in testEquals() 79 new GetTopicsResponse.Builder(TOPICS_LIST, ENCRYPTED_TOPICS_LIST).build(); in testEquals() 80 GetTopicsResponse getTopicsResponse2 = in testEquals() 81 new GetTopicsResponse.Builder(TOPICS_LIST, ENCRYPTED_TOPICS_LIST).build(); in testEquals()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/ |
D | GetTopicsResponse.java | 28 public final class GetTopicsResponse { class 35 private GetTopicsResponse(List<Topic> topics, List<EncryptedTopic> encryptedTopics) { in GetTopicsResponse() method in GetTopicsResponse 58 if (!(o instanceof GetTopicsResponse)) { in equals() 61 GetTopicsResponse that = (GetTopicsResponse) o; in equals() 107 public GetTopicsResponse build() { in build() 111 return new GetTopicsResponse(mTopics, mEncryptedTopics); in build()
|
D | TopicsManager.java | 148 @NonNull OutcomeReceiver<GetTopicsResponse, Exception> callback) { in getTopics() argument 228 private GetTopicsResponse buildGetTopicsResponse(GetTopicsResult resultParcel) { in buildGetTopicsResponse() 229 return new GetTopicsResponse.Builder( in buildGetTopicsResponse()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/ |
D | PreviewApiTest.java | 27 import android.adservices.topics.GetTopicsResponse; 96 GetTopicsResponse sdk1Result = advertisingTopicsClient1.getTopics().get(); in testRecordObservation() 100 GetTopicsResponse sdk2Result = advertisingTopicsClient2.getTopics().get(); in testRecordObservation() 150 GetTopicsResponse.Builder mockedBuilder = in testForTopicsAPITestCoverage() 151 new GetTopicsResponse.Builder(List.of(mockedTopic)); in testForTopicsAPITestCoverage() 159 GetTopicsResponse.Builder mockedEncryptedBuilder = in testForTopicsAPITestCoverage() 160 new GetTopicsResponse.Builder(List.of(mockedTopic), List.of(mockedEncryptedTopic)); in testForTopicsAPITestCoverage()
|
D | TopicsManagerTest.java | 30 import android.adservices.topics.GetTopicsResponse; 184 GetTopicsResponse sdk5Result = in testTopicsManager_testOnDeviceKillSwitch_shouldUsePrecomputedList() 248 GetTopicsResponse sdk1Result = in testTopicsManager_runDefaultClassifier() 294 GetTopicsResponse sdk2Result2 = advertisingTopicsClient2.getTopics().get(); in testTopicsManager_runDefaultClassifier() 332 GetTopicsResponse sdk3Result = in testTopicsManager_runOnDeviceClassifier() 411 GetTopicsResponse sdk4Result = in testTopicsManager_runPrecomputedClassifier() 482 GetTopicsResponse sdk6Result = in testTopicsManager_runPrecomputedClassifier_encryptedTopics() 531 OutcomeReceiverForTests<GetTopicsResponse> receiver = new OutcomeReceiverForTests<>(); in testGetTopics_lowRamDevice()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/appupdate/testapps/testapp1/java/com/android/adservices/tests/cts/topics/testapp1/ |
D | MainActivity.java | 19 import android.adservices.topics.GetTopicsResponse; 63 GetTopicsResponse getTopicsResponse = callTopicsApi(SDK_NAME); in onCreate() 75 private void sendGetTopicsResponseBroadcast(@NonNull GetTopicsResponse getTopicsResponse) { in sendGetTopicsResponseBroadcast() 92 private GetTopicsResponse callTopicsApi(@NonNull String sdk) throws Exception { in callTopicsApi()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/topics/ |
D | TopicsTestHelper.java | 20 import android.adservices.topics.GetTopicsResponse; 37 public static GetTopicsResponse getTopicsWithBroadcast( in getTopicsWithBroadcast() 41 GetTopicsResponse sdkResult = advertisingTopicsClient.getTopics().get(); in getTopicsWithBroadcast()
|
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/ |
D | TopicsApiLogActivity.java | 19 import android.adservices.topics.GetTopicsResponse; 46 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in onCreate() 51 GetTopicsResponse response = getTopicsResponseFuture.get(); in onCreate()
|
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/topics/ |
D | AdvertisingTopicsClient.java | 19 import android.adservices.topics.GetTopicsResponse; 82 public @NonNull ListenableFuture<GetTopicsResponse> getTopics() { in getTopics() 97 new OutcomeReceiver<GetTopicsResponse, Exception>() { in getTopics() 99 public void onResult(@NonNull GetTopicsResponse result) { in getTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp6/java/com/example/adservices/samples/topics/sampleapp6/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 95 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 100 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 102 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleappwithnoperm/java/com/example/adservices/samples/topics/sampleappwithnoperm/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 93 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 98 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 100 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp3/java/com/example/adservices/samples/topics/sampleapp3/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 94 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 99 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 101 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp2/java/com/example/adservices/samples/topics/sampleapp2/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 94 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 99 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 101 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleappwithoptoutall/java/com/example/adservices/samples/topics/sampleappwithoptoutall/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 93 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 98 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 100 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp5/java/com/example/adservices/samples/topics/sampleapp5/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 93 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 98 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 100 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp4/java/com/example/adservices/samples/topics/sampleapp4/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 94 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in registerGetTopicsButton() 99 new FutureCallback<GetTopicsResponse>() { in registerGetTopicsButton() 101 public void onSuccess(GetTopicsResponse result) { in registerGetTopicsButton()
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/providers/sdk1/src/com/android/tests/providers/sdk1/ |
D | Sdk1.java | 20 import android.adservices.topics.GetTopicsResponse; 58 GetTopicsResponse response = callTopicsApi(); in onLoadSdk() 104 private GetTopicsResponse callTopicsApi() throws Exception { in callTopicsApi()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/ |
D | TopicsManagerJetpackTest.java | 26 import androidx.privacysandbox.ads.adservices.topics.GetTopicsResponse; 101 GetTopicsResponse response = topicsManager.getTopicsAsync(request).get(); in testTopicsManager_runClassifier() 134 GetTopicsResponse response2 = in testTopicsManager_runClassifier()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp1/java/com/example/adservices/samples/topics/sampleapp1/ |
D | MainActivity.java | 22 import android.adservices.topics.GetTopicsResponse; 158 ListenableFuture<GetTopicsResponse> getTopicsResponseFuture = in getTopics() 163 new FutureCallback<GetTopicsResponse>() { in getTopics() 165 public void onSuccess(GetTopicsResponse result) { in getTopics()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/ |
D | TopicsEpochComputationPrecomputedClassifier.java | 24 import android.adservices.topics.GetTopicsResponse; 127 GetTopicsResponse sdk1Result = advertisingTopicsClient1.getTopics().get(); in testEpochComputation() 169 GetTopicsResponse sdk2Result2 = advertisingTopicsClient2.getTopics().get(); in testEpochComputation()
|
D | GetTopicsApiCall.java | 23 import android.adservices.topics.GetTopicsResponse; 76 GetTopicsResponse unUsedTopicsResponse = advertisingTopicsClient.getTopics().get(); in measureGetTopics()
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/src/com/android/tests/sandbox/topics/ |
D | SandboxedTopicsManagerTest.java | 25 import android.adservices.topics.GetTopicsResponse; 110 GetTopicsResponse response = in loadSdkAndRunTopicsApi()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/connection/src/com/android/adservices/tests/cts/topics/connection/ |
D | TopicsConnectionTest.java | 28 import android.adservices.topics.GetTopicsResponse; 112 GetTopicsResponse sdk1Result = in testEnableGlobalKillSwitch()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/mdd/src/com/android/adservices/tests/cts/topics/mdd/ |
D | TopicsManagerMddTest.java | 27 import android.adservices.topics.GetTopicsResponse; 113 GetTopicsResponse sdk1Result = advertisingTopicsClient1.getTopics().get(); in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
|
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/ |
D | BlockedTopicsSettingsTestUtil.java | 22 import android.adservices.topics.GetTopicsResponse; 161 GetTopicsResponse sdk1Result = advertisingTopicsClient1.getTopics().get(); in generateATopicToBlock()
|