Home
last modified time | relevance | path

Searched refs:API_TOPICS (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigCallTest.java23 import static com.android.adservices.service.common.AppManifestConfigCall.API_TOPICS;
56 () -> new AppManifestConfigCall(/* packageName= */ null, API_TOPICS)); in testInvalidConstructor()
79 AppManifestConfigCall topics = new AppManifestConfigCall(PKG_NAME, API_TOPICS); in testValidConstructors()
81 expect.withMessage("api on %s", topics).that(topics.api).isEqualTo(API_TOPICS); in testValidConstructors()
103 AppManifestConfigCall pkg1api1 = new AppManifestConfigCall(PKG_NAME, API_TOPICS); in testEqualsHashCode()
105 AppManifestConfigCall pkg2api1 = new AppManifestConfigCall(PKG_NAME2, API_TOPICS); in testEqualsHashCode()
108 AppManifestConfigCall otherPkg1api1 = new AppManifestConfigCall(PKG_NAME, API_TOPICS); in testEqualsHashCode()
110 AppManifestConfigCall otherPkg2api1 = new AppManifestConfigCall(PKG_NAME2, API_TOPICS); in testEqualsHashCode()
195 expect.withMessage("apiToString(%s)", API_TOPICS) in testApiToString()
196 .that(apiToString(API_TOPICS)) in testApiToString()
DAppManifestConfigMetricsLoggerTest.java24 import static com.android.adservices.service.common.AppManifestConfigCall.API_TOPICS;
84 private static final @ApiType int API = API_TOPICS;
266 logUsageAndWait(PKG_NAME, API_TOPICS, RESULT_ALLOWED_APP_ALLOWS_ALL); in testDump_multipleEntries()
277 + apiToString(API_TOPICS) in testDump_multipleEntries()
303 assertMetricsLogged(PKG_NAME, API_TOPICS, RESULT_ALLOWED_APP_ALLOWS_ALL); in testDump_multipleEntries()
DAppManifestConfigHelperTest.java25 import static com.android.adservices.service.common.AppManifestConfigCall.API_TOPICS;
368 verifyLogUsage(API_TOPICS, expectedResult); in executeIsAllowedTopicAccessTest()
612 verifyLogUsage(API_TOPICS, result, times(2)); in verifyLogUsageForAllApis()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigCall.java34 public static final int API_TOPICS = field in AppManifestConfigCall
54 API_TOPICS,
121 case API_TOPICS: in AppManifestConfigCall()
200 case API_TOPICS: in apiToString()
DAppManifestConfigHelper.java23 import static com.android.adservices.service.common.AppManifestConfigCall.API_TOPICS;
156 API_TOPICS, in isAllowedTopicsAccess()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DAdServicesLoggerImplTest.java927 @ApiType int apiType = AppManifestConfigCall.API_TOPICS; in testLogAppManifestConfigCall()
DStatsdAdServicesLoggerTest.java1460 @ApiType int apiType = AppManifestConfigCall.API_TOPICS; in testLogAppManifestConfigCall()