Home
last modified time | relevance | path

Searched refs:AppManifestConfigHelper (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigHelperTest.java128 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 …]
DFledgeAuthorizationFilterTest.java78 @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/
DAppManifestConfigTests.java44 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/
DE2EMockStatic.java26 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/
DIsAllowedCustomAudiencesAccessCommandTest.java23 import com.android.adservices.service.common.AppManifestConfigHelper;
30 @SpyStatic(AppManifestConfigHelper.class)
61 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testRun_valid()
DIsAllowedAdSelectionAccessCommandTest.java23 import com.android.adservices.service.common.AppManifestConfigHelper;
30 @SpyStatic(AppManifestConfigHelper.class)
61 AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in testRun_valid()
DIsAllowedAttributionAccessCommandTest.java23 import com.android.adservices.service.common.AppManifestConfigHelper;
30 @SpyStatic(AppManifestConfigHelper.class)
61 AppManifestConfigHelper.isAllowedAttributionAccess( in testRun_valid()
DIsAllowedProtectedSignalsAccessCommandTest.java23 import com.android.adservices.service.common.AppManifestConfigHelper;
30 @SpyStatic(AppManifestConfigHelper.class)
61 AppManifestConfigHelper.isAllowedProtectedSignalsAccess( in testRun_valid()
DIsAllowedTopicsAccessCommandTest.java23 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/
DIsAllowedCustomAudiencesAccessCommand.java25 import com.android.adservices.service.common.AppManifestConfigHelper;
55 AppManifestConfigHelper.isAllowedCustomAudiencesAccess(pkgName, enrollmentId); in run()
DIsAllowedAttributionAccessCommand.java25 import com.android.adservices.service.common.AppManifestConfigHelper;
54 boolean isValid = AppManifestConfigHelper.isAllowedAttributionAccess(pkgName, enrollmentId); in run()
DIsAllowedAdSelectionAccessCommand.java25 import com.android.adservices.service.common.AppManifestConfigHelper;
55 boolean isValid = AppManifestConfigHelper.isAllowedAdSelectionAccess(pkgName, enrollmentId); in run()
DIsAllowedProtectedSignalsAccessCommand.java25 import com.android.adservices.service.common.AppManifestConfigHelper;
56 AppManifestConfigHelper.isAllowedProtectedSignalsAccess(pkgName, enrollmentId); in run()
DIsAllowedTopicsAccessCommand.java25 import com.android.adservices.service.common.AppManifestConfigHelper;
60 AppManifestConfigHelper.isAllowedTopicsAccess( in run()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/manifest/
DAppManifestConfigHelper.java27 public final class AppManifestConfigHelper { class
31 private AppManifestConfigHelper() { in AppManifestConfigHelper() method in AppManifestConfigHelper
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationFileGroupPopulator.java34 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/
DEnrollment.java25 import com.android.adservices.service.common.AppManifestConfigHelper;
81 if (!AppManifestConfigHelper.isAllowedAttributionAccess( in getValidEnrollmentId()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJob.java45 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper;
148 if (AppManifestConfigHelper.manifestContainsOdpSettings(context, packageName)) { in cleanupVendorData()
157 AppManifestConfigHelper.getServiceNameFromOdpSettings(context, packageName); in cleanupVendorData()
DOnDevicePersonalizationMaintenanceJobService.java46 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/
DEnrollmentTest.java32 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/
DOnDevicePersonalizationDownloadProcessingJobService.java38 import com.android.ondevicepersonalization.services.manifest.AppManifestConfigHelper;
97 if (AppManifestConfigHelper.manifestContainsOdpSettings( in onStartJob()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreService.java45 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/
DTopicsServiceImplTest.java93 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/
DFledgeAuthorizationFilter.java339 return AppManifestConfigHelper.isAllowedCustomAudiencesAccess( in isAllowedAccess()
342 return AppManifestConfigHelper.isAllowedProtectedSignalsAccess( in isAllowedAccess()
345 return AppManifestConfigHelper.isAllowedAdSelectionAccess( in isAllowedAccess()
DAppManifestConfigHelper.java55 public final class AppManifestConfigHelper { class
264 private AppManifestConfigHelper() {

12