Home
last modified time | relevance | path

Searched refs:mTopics (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DGetTopicsResponse.java30 private final List<Topic> mTopics; field in GetTopicsResponse
36 mTopics = topics; in GetTopicsResponse()
43 return mTopics; in getTopics()
62 return mTopics.equals(that.mTopics) && mEncryptedTopics.equals(that.mEncryptedTopics); in equals()
67 return Objects.hash(mTopics, mEncryptedTopics); in hashCode()
75 private List<Topic> mTopics = new ArrayList<>(); field in GetTopicsResponse.Builder
86 mTopics = Objects.requireNonNull(topics); in Builder()
97 mTopics = Objects.requireNonNull(topics); in Builder()
108 if (mTopics == null || mEncryptedTopics == null) { in build()
111 return new GetTopicsResponse(mTopics, mEncryptedTopics); in build()
DGetTopicsResult.java42 private final List<Integer> mTopics; field in GetTopicsResult
59 mTopics = topics; in GetTopicsResult()
70 mTopics = Collections.unmodifiableList(readIntegerList(in)); in GetTopicsResult()
102 writeIntegerList(out, mTopics); in writeToParcel()
144 return mTopics; in getTopics()
175 + mTopics in toString()
214 && mTopics.equals(that.mTopics) in equals()
241 mTopics, in hashCode()
365 private List<Integer> mTopics = new ArrayList<>(); field in GetTopicsResult.Builder
403 mTopics = topics; in setTopics()
[all …]
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/
DTopicsViewModel.java50 private final MutableLiveData<ImmutableList<Topic>> mTopics; field in TopicsViewModel
67 mTopics = new MutableLiveData<>(getTopicsFromConsentManager()); in TopicsViewModel()
82 mTopics = new MutableLiveData<>(getTopicsFromConsentManager()); in TopicsViewModel()
93 return mTopics; in getTopics()
121 mTopics.postValue(getTopicsFromConsentManager()); in refresh()
128 mTopics.postValue(getTopicsFromConsentManager()); in resetTopics()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchConsentWorkerTest.java95 private final List<Topic> mTopics = Arrays.asList(TOPIC1, TOPIC2, TOPIC3); field in AppSearchConsentWorkerTest
712 ExtendedMockito.doReturn(mTopics) in testGetBlockedTopics()
716 assertThat(appSearchConsentWorker.getBlockedTopics()).isEqualTo(mTopics); in testGetBlockedTopics()