/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppManifestConfigHelperTest.java | 128 AppManifestConfigHelper.isAllowedAttributionAccess( in testIsAllowedAttributionAccess_sPlus() 144 AppManifestConfigHelper.isAllowedAttributionAccess( in testIsAllowedAttributionAccess_rMinus() 161 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testIsAllowedCustomAudiencesAccess_sPlus() 178 AppManifestConfigHelper.isAllowedProtectedSignalsAccess( in testIsAllowedProtectedSignalsAccess_sPlus() 194 AppManifestConfigHelper.isAllowedAdSelectionAccess( in testIsAllowedAdSelectionAccess_sPlus() 211 AppManifestConfigHelper.isAllowedAdSelectionAccess( in testIsAllowedAdSelectionAccessCustomAudienceTag() 228 AppManifestConfigHelper.isAllowedAdSelectionAccess( in testIsAllowedAdSelectionAccessProtectedSignalsTag() 245 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testIsAllowedCustomAudiencesAccess_rMinus() 362 AppManifestConfigHelper.isAllowedTopicsAccess( in executeIsAllowedTopicAccessTest() 519 AppManifestConfigHelper.isAllowedAttributionAccess( in assertNoAccessAllowed() [all …]
|
D | FledgeAuthorizationFilterTest.java | 78 @MockStatic(AppManifestConfigHelper.class) 532 when(AppManifestConfigHelper.isAllowedCustomAudiencesAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAssertAdTechHasPermission_hasPermission() 557 when(AppManifestConfigHelper.isAllowedProtectedSignalsAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAssertAdTechHasSignalsPermission_hasSignalsPermission() 585 when(AppManifestConfigHelper.isAllowedAdSelectionAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAssertAdTechHasCAPermission_hasAdSelectionPermission() 613 when(AppManifestConfigHelper.isAllowedAdSelectionAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAssertAdTechHasSignalsPermission_hasAdSelectionPermission() 706 when(AppManifestConfigHelper.isAllowedCustomAudiencesAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAssertAdTechHasPermission_appManifestNoPermission_throwSecurityException() 754 when(AppManifestConfigHelper.isAllowedCustomAudiencesAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAdTechInBlocklist_throwSecurityException() 985 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testGetAndAssertAdTechFromUriAllowed_notAllowedByApp_throwsNotAllowedException() 1006 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testGetAndAssertAdTechFromUriAllowed_notAllowedByApp_throwsNotAllowedException() 1036 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testGetAndAssertAdTechFromUriAllowed_adTechBlocklisted_throwsNotAllowedException() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/manifest/ |
D | AppManifestConfigTests.java | 44 assertTrue(AppManifestConfigHelper.manifestContainsOdpSettings( in testManifestContainsOdpSettings() 50 assertFalse(AppManifestConfigHelper.manifestContainsOdpSettings( in testManifestContainsOdpSettingsFalse() 57 AppManifestConfigHelper.getAppManifestConfig(mContext, mContext.getPackageName()); in testGetConfigParamsFromOdpSettings() 66 () -> AppManifestConfigHelper.getAppManifestConfig(mContext, "badPackageName")); in testAppManifestConfigBadPackage()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | E2EMockStatic.java | 26 import com.android.adservices.service.common.AppManifestConfigHelper; 46 sessionBuilder.spyStatic(AppManifestConfigHelper.class); in setUpMockedClasses() 57 .when(() -> AppManifestConfigHelper.isAllowedAttributionAccess(any(), anyString())); in setUpMockBehaviors()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/common/ |
D | IsAllowedCustomAudiencesAccessCommandTest.java | 23 import com.android.adservices.service.common.AppManifestConfigHelper; 30 @SpyStatic(AppManifestConfigHelper.class) 61 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testRun_valid()
|
D | IsAllowedAdSelectionAccessCommandTest.java | 23 import com.android.adservices.service.common.AppManifestConfigHelper; 30 @SpyStatic(AppManifestConfigHelper.class) 61 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testRun_valid()
|
D | IsAllowedAttributionAccessCommandTest.java | 23 import com.android.adservices.service.common.AppManifestConfigHelper; 30 @SpyStatic(AppManifestConfigHelper.class) 61 AppManifestConfigHelper.isAllowedAttributionAccess( in testRun_valid()
|
D | IsAllowedProtectedSignalsAccessCommandTest.java | 23 import com.android.adservices.service.common.AppManifestConfigHelper; 30 @SpyStatic(AppManifestConfigHelper.class) 61 AppManifestConfigHelper.isAllowedProtectedSignalsAccess( in testRun_valid()
|
D | IsAllowedTopicsAccessCommandTest.java | 23 import com.android.adservices.service.common.AppManifestConfigHelper; 30 @SpyStatic(AppManifestConfigHelper.class) 81 AppManifestConfigHelper.isAllowedTopicsAccess( in testRun_valid()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/common/ |
D | IsAllowedCustomAudiencesAccessCommand.java | 25 import com.android.adservices.service.common.AppManifestConfigHelper; 55 AppManifestConfigHelper.isAllowedCustomAudiencesAccess(pkgName, enrollmentId); in run()
|
D | IsAllowedAttributionAccessCommand.java | 25 import com.android.adservices.service.common.AppManifestConfigHelper; 54 boolean isValid = AppManifestConfigHelper.isAllowedAttributionAccess(pkgName, enrollmentId); in run()
|
D | IsAllowedAdSelectionAccessCommand.java | 25 import com.android.adservices.service.common.AppManifestConfigHelper; 55 boolean isValid = AppManifestConfigHelper.isAllowedAdSelectionAccess(pkgName, enrollmentId); in run()
|
D | IsAllowedProtectedSignalsAccessCommand.java | 25 import com.android.adservices.service.common.AppManifestConfigHelper; 56 AppManifestConfigHelper.isAllowedProtectedSignalsAccess(pkgName, enrollmentId); in run()
|
D | IsAllowedTopicsAccessCommand.java | 25 import com.android.adservices.service.common.AppManifestConfigHelper; 60 AppManifestConfigHelper.isAllowedTopicsAccess( in run()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/manifest/ |
D | AppManifestConfigHelper.java | 27 public final class AppManifestConfigHelper { class 31 private AppManifestConfigHelper() { in AppManifestConfigHelper() method in AppManifestConfigHelper
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/ |
D | OnDevicePersonalizationFileGroupPopulator.java | 34 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper; 147 String baseURL = AppManifestConfigHelper.getDownloadUrlFromOdpSettings( in createDownloadUrl() 187 String serviceClass = AppManifestConfigHelper.getServiceNameFromOdpSettings( in addDownloadUrlQueryParameters() 215 if (AppManifestConfigHelper.manifestContainsOdpSettings( in refreshFileGroups()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/ |
D | Enrollment.java | 25 import com.android.adservices.service.common.AppManifestConfigHelper; 81 if (!AppManifestConfigHelper.isAllowedAttributionAccess( in getValidEnrollmentId()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/ |
D | OnDevicePersonalizationMaintenanceJob.java | 45 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper; 148 if (AppManifestConfigHelper.manifestContainsOdpSettings(context, packageName)) { in cleanupVendorData() 157 AppManifestConfigHelper.getServiceNameFromOdpSettings(context, packageName); in cleanupVendorData()
|
D | OnDevicePersonalizationMaintenanceJobService.java | 46 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper; 117 if (AppManifestConfigHelper.manifestContainsOdpSettings( in cleanupVendorData() 126 String serviceClass = AppManifestConfigHelper.getServiceNameFromOdpSettings( in cleanupVendorData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/ |
D | EnrollmentTest.java | 32 import com.android.adservices.service.common.AppManifestConfigHelper; 43 @SpyStatic(AppManifestConfigHelper.class) 197 AppManifestConfigHelper.isAllowedAttributionAccess( in mockIsAllowedAttributionAccess()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDownloadProcessingJobService.java | 38 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper; 97 if (AppManifestConfigHelper.manifestContainsOdpSettings( in onStartJob()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/ |
D | OdpExampleStoreService.java | 45 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper; 189 AppManifestConfigHelper.getServiceNameFromOdpSettings( in startQuery() 268 AppManifestConfigHelper.getServiceNameFromOdpSettings(getContext(), packageName); in executeOnTrainingExamples()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsServiceImplTest.java | 93 import com.android.adservices.service.common.AppManifestConfigHelper; 584 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, TEST_APP_PACKAGE_NAME)) in getTopicsFromApp_SdkNotIncluded() 609 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, TEST_APP_PACKAGE_NAME)) in getTopicsFromApp_SdkTagMissing() 658 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, in getTopicsSdk() 661 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, TEST_APP_PACKAGE_NAME)) in getTopicsSdk() 1192 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, in mockAppContextForAppManifestConfigHelperCall() 1195 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, TEST_APP_PACKAGE_NAME)) in mockAppContextForAppManifestConfigHelperCall() 1198 AppManifestConfigHelper.AD_SERVICES_CONFIG_PROPERTY, TEST_APP_PACKAGE_NAME)) in mockAppContextForAppManifestConfigHelperCall()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FledgeAuthorizationFilter.java | 339 return AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in isAllowedAccess() 342 return AppManifestConfigHelper.isAllowedProtectedSignalsAccess( in isAllowedAccess() 345 return AppManifestConfigHelper.isAllowedAdSelectionAccess( in isAllowedAccess()
|
D | AppManifestConfigHelper.java | 55 public final class AppManifestConfigHelper { class 264 private AppManifestConfigHelper() {
|