Home
last modified time | relevance | path

Searched refs:GetTopicsResult (Results 1 – 8 of 8) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/
DGetTopicsResultTest.java40 GetTopicsResult response = in testWriteToParcel()
41 new GetTopicsResult.Builder() in testWriteToParcel()
53 GetTopicsResult fromParcel = GetTopicsResult.CREATOR.createFromParcel(p); in testWriteToParcel()
67 GetTopicsResult response = new GetTopicsResult.Builder().build(); in testWriteToParcel_emptyResponse()
72 GetTopicsResult fromParcel = GetTopicsResult.CREATOR.createFromParcel(p); in testWriteToParcel_emptyResponse()
86 () -> new GetTopicsResult.Builder().setTopics(null).build()); in testWriteToParcel_nullableThrows()
89 () -> new GetTopicsResult.Builder().setEncryptedTopics(null).build()); in testWriteToParcel_nullableThrows()
92 new GetTopicsResult.Builder() in testWriteToParcel_nullableThrows()
97 new GetTopicsResult.Builder() in testWriteToParcel_nullableThrows()
104 new GetTopicsResult.Builder() in testWriteToParcel_nullableThrows()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsWorkerTest.java35 import android.adservices.topics.GetTopicsResult;
174 GetTopicsResult getTopicsResult = mTopicsWorker.getTopics("app", "sdk"); in testGetTopics()
176 GetTopicsResult expectedGetTopicsResult = in testGetTopics()
177 new GetTopicsResult.Builder() in testGetTopics()
247 GetTopicsResult getTopicsResult = mTopicsWorker.getTopics("app", "sdk"); in testGetTopics_enableEncryption_disablePlaintextTopics()
249 GetTopicsResult expectedGetTopicsResult = in testGetTopics_enableEncryption_disablePlaintextTopics()
250 new GetTopicsResult.Builder() in testGetTopics_enableEncryption_disablePlaintextTopics()
344 GetTopicsResult getTopicsResult = mTopicsWorker.getTopics("app", "sdk"); in testGetTopics_enableEncryption_featureOn()
346 GetTopicsResult expectedGetTopicsResult = in testGetTopics_enableEncryption_featureOn()
347 new GetTopicsResult.Builder() in testGetTopics_enableEncryption_featureOn()
[all …]
DTopicsServiceImplTest.java63 import android.adservices.topics.GetTopicsResult;
618 GetTopicsResult getTopicsResult = getTopicsResults(topicsServiceImpl); in getTopicsFromApp_SdkTagMissing()
621 GetTopicsResult expectedGetTopicsResult = in getTopicsFromApp_SdkTagMissing()
622 new GetTopicsResult.Builder() in getTopicsFromApp_SdkTagMissing()
690 GetTopicsResult expectedGetTopicsResult = in getTopics_oneTopicBlocked()
691 new GetTopicsResult.Builder() in getTopics_oneTopicBlocked()
702 GetTopicsResult getTopicsResult = getTopicsResults(topicsServiceImpl); in getTopics_oneTopicBlocked()
745 GetTopicsResult expectedGetTopicsResult = in getTopics_allTopicsBlocked()
746 new GetTopicsResult.Builder() in getTopics_allTopicsBlocked()
758 GetTopicsResult getTopicsResult = getTopicsResults(topicsServiceImpl); in getTopics_allTopicsBlocked()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DGetTopicsResult.java39 public final class GetTopicsResult extends AdServicesResponse { class
47 private GetTopicsResult( in GetTopicsResult() method in GetTopicsResult
65 private GetTopicsResult(@NonNull Parcel in) { in GetTopicsResult() method in GetTopicsResult
76 public static final @NonNull Creator<GetTopicsResult> CREATOR =
77 new Parcelable.Creator<GetTopicsResult>() {
79 public GetTopicsResult createFromParcel(Parcel in) {
80 return new GetTopicsResult(in);
84 public GetTopicsResult[] newArray(int size) {
85 return new GetTopicsResult[size];
204 if (!(o instanceof GetTopicsResult)) { in equals()
[all …]
DIGetTopicsCallback.aidl19 import android.adservices.topics.GetTopicsResult;
26 void onResult(in GetTopicsResult responseParcel); in onResult()
DTopicsManager.java200 public void onResult(GetTopicsResult resultParcel) { in getTopics()
228 private GetTopicsResponse buildGetTopicsResponse(GetTopicsResult resultParcel) { in buildGetTopicsResponse()
234 private List<Topic> getTopicList(GetTopicsResult resultParcel) { in getTopicList()
252 private List<EncryptedTopic> getEncryptedTopicList(GetTopicsResult resultParcel) { in getEncryptedTopicList()
DGetTopicsResult.aidl19 parcelable GetTopicsResult;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DTopicsWorker.java21 import android.adservices.topics.GetTopicsResult;
195 public GetTopicsResult getTopics(@NonNull String app, @NonNull String sdk) { in getTopics()
235 GetTopicsResult result = in getTopics()
236 new GetTopicsResult.Builder() in getTopics()