Home
last modified time | relevance | path

Searched refs:mWebSourceParams (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DWebSourceRegistrationRequest.java51 @NonNull private final List<WebSourceParams> mWebSourceParams; field in WebSourceRegistrationRequest
82 mWebSourceParams = builder.mWebSourceParams; in WebSourceRegistrationRequest()
101 mWebSourceParams = sourceRegistrations; in WebSourceRegistrationRequest()
130 return Objects.equals(mWebSourceParams, that.mWebSourceParams) in equals()
141 mWebSourceParams, in hashCode()
152 return mWebSourceParams; in getSourceParams()
199 out.writeList(mWebSourceParams); in writeToParcel()
231 @NonNull private final List<WebSourceParams> mWebSourceParams; field in WebSourceRegistrationRequest.Builder
269 mWebSourceParams = webSourceParams; in Builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/access/
DDevContextAccessResolverTest.java58 @Mock private WebSourceParams mWebSourceParams; field in DevContextAccessResolverTest
121 when(mWebSourceParams.getRegistrationUri()).thenReturn(REGISTRATION_URI); in isAllowed_registerWebSource_nonLocalhost_devEnabled_returnsTrue()
122 when(mWebSourceRegistrationRequest.getSourceParams()).thenReturn(List.of(mWebSourceParams)); in isAllowed_registerWebSource_nonLocalhost_devEnabled_returnsTrue()
133 when(mWebSourceParams.getRegistrationUri()).thenReturn(REGISTRATION_URI); in isAllowed_registerWebSource_nonLocalhost_devDisabled_returnsTrue()
134 when(mWebSourceRegistrationRequest.getSourceParams()).thenReturn(List.of(mWebSourceParams)); in isAllowed_registerWebSource_nonLocalhost_devDisabled_returnsTrue()
145 when(mWebSourceParams.getRegistrationUri()).thenReturn(LOCALHOST); in isAllowed_registerWebSource_allLocalhost_devEnabled_returnsTrue()
146 when(mWebSourceRegistrationRequest.getSourceParams()).thenReturn(List.of(mWebSourceParams)); in isAllowed_registerWebSource_allLocalhost_devEnabled_returnsTrue()
157 when(mWebSourceParams.getRegistrationUri()).thenReturn(LOCALHOST); in isAllowed_registerWebSource_someLocalhost_devEnabled_returnsTrue()
160 .thenReturn(List.of(mWebSourceParams, mWebSourceParams2)); in isAllowed_registerWebSource_someLocalhost_devEnabled_returnsTrue()
171 when(mWebSourceParams.getRegistrationUri()).thenReturn(LOCALHOST); in isAllowed_registerWebSource_allLocalhost_devDisabled_returnsFalse()
[all …]