Searched refs:API_ATTRIBUTION (Results 1 – 5 of 5) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppManifestConfigCallTest.java | 20 import static com.android.adservices.service.common.AppManifestConfigCall.API_ATTRIBUTION; 92 AppManifestConfigCall attribution = new AppManifestConfigCall(PKG_NAME, API_ATTRIBUTION); in testValidConstructors() 98 .isEqualTo(API_ATTRIBUTION); in testValidConstructors() 104 AppManifestConfigCall pkg1api2 = new AppManifestConfigCall(PKG_NAME, API_ATTRIBUTION); in testEqualsHashCode() 106 AppManifestConfigCall pkg2api2 = new AppManifestConfigCall(PKG_NAME2, API_ATTRIBUTION); in testEqualsHashCode() 109 AppManifestConfigCall otherPkg1api2 = new AppManifestConfigCall(PKG_NAME, API_ATTRIBUTION); in testEqualsHashCode() 111 AppManifestConfigCall otherPkg2api2 = new AppManifestConfigCall(PKG_NAME2, API_ATTRIBUTION); in testEqualsHashCode() 201 expect.withMessage("apiToString(%s)", API_ATTRIBUTION) in testApiToString() 202 .that(apiToString(API_ATTRIBUTION)) in testApiToString()
|
D | AppManifestConfigMetricsLoggerTest.java | 23 import static com.android.adservices.service.common.AppManifestConfigCall.API_ATTRIBUTION; 267 logUsageAndWait(PKG_NAME, API_ATTRIBUTION, RESULT_DISALLOWED_BY_APP); in testDump_multipleEntries() 269 PKG_NAME2, API_ATTRIBUTION, RESULT_ALLOWED_BY_DEFAULT_APP_DOES_NOT_HAVE_CONFIG); in testDump_multipleEntries() 285 + apiToString(API_ATTRIBUTION) in testDump_multipleEntries() 293 + apiToString(API_ATTRIBUTION) in testDump_multipleEntries() 304 assertMetricsLogged(PKG_NAME, API_ATTRIBUTION, RESULT_DISALLOWED_BY_APP); in testDump_multipleEntries() 306 PKG_NAME2, API_ATTRIBUTION, RESULT_ALLOWED_BY_DEFAULT_APP_DOES_NOT_HAVE_CONFIG); in testDump_multipleEntries()
|
D | AppManifestConfigHelperTest.java | 22 import static com.android.adservices.service.common.AppManifestConfigCall.API_ATTRIBUTION; 132 verifyLogUsage(API_ATTRIBUTION, RESULT_ALLOWED); in testIsAllowedAttributionAccess_sPlus() 148 verifyLogUsage(API_ATTRIBUTION, RESULT_ALLOWED); in testIsAllowedAttributionAccess_rMinus() 613 verifyLogUsage(API_ATTRIBUTION, result); in verifyLogUsageForAllApis()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppManifestConfigCall.java | 48 public static final int API_ATTRIBUTION = field in AppManifestConfigCall 56 API_ATTRIBUTION, 123 case API_ATTRIBUTION: in AppManifestConfigCall() 204 case API_ATTRIBUTION: in apiToString()
|
D | AppManifestConfigHelper.java | 20 import static com.android.adservices.service.common.AppManifestConfigCall.API_ATTRIBUTION; 74 API_ATTRIBUTION, in isAllowedAttributionAccess()
|