Home
last modified time | relevance | path

Searched refs:isPackageAllowListed (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAllowListsTest.java91 assertThat(AllowLists.isPackageAllowListed(ALLOW_ALL, SOME_PACKAGE_NAME)).isTrue(); in testAppCanUsePpapi_allowAll()
97 assertThat(AllowLists.isPackageAllowListed(EMPTY_LIST, SOME_PACKAGE_NAME)).isFalse(); in testAppCanUsePpapi_emptyAllowList()
105 assertThat(AllowLists.isPackageAllowListed(allowList, "notAllowedPackageName")).isFalse(); in testAppCanUsePpapi_notEmptyAllowList()
106 assertThat(AllowLists.isPackageAllowListed(allowList, SOME_PACKAGE_NAME)).isTrue(); in testAppCanUsePpapi_notEmptyAllowList()
107 assertThat(AllowLists.isPackageAllowListed(allowList, "AnotherPackageName")).isTrue(); in testAppCanUsePpapi_notEmptyAllowList()
117 assertThat(AllowLists.isPackageAllowListed(listWithSpace, SOME_PACKAGE_NAME)).isTrue(); in testAppCanUsePpapi_havingSpaces()
118 assertThat(AllowLists.isPackageAllowListed(listWithSpace, "PackageName1")).isTrue(); in testAppCanUsePpapi_havingSpaces()
119 assertThat(AllowLists.isPackageAllowListed(listWithSpace, "PackageName2")).isTrue(); in testAppCanUsePpapi_havingSpaces()
120 assertThat(AllowLists.isPackageAllowListed(listWithSpace, "PackageName3")).isTrue(); in testAppCanUsePpapi_havingSpaces()
130 assertThat(AllowLists.isPackageAllowListed(listWithLineSeparator, SOME_PACKAGE_NAME)) in testAppCanUsePpapi_havingLineSeparators()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeAllowListsFilter.java100 return AllowLists.isPackageAllowListed(mFlags.getPpapiAppAllowList(), appPackageName); in isInAllowList()
102 return AllowLists.isPackageAllowListed(mFlags.getPasAppAllowList(), appPackageName); in isInAllowList()
104 return AllowLists.isPackageAllowListed(mFlags.getPpapiAppAllowList(), appPackageName) in isInAllowList()
105 || AllowLists.isPackageAllowListed(mFlags.getPasAppAllowList(), appPackageName); in isInAllowList()
DAllowLists.java73 public static boolean isPackageAllowListed( in isPackageAllowListed() method in AllowLists
DAdServicesCommonServiceImpl.java446 AllowLists.isPackageAllowListed( in getAdServicesCommonStates()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DAppPackageAccessResolver.java41 boolean isInAllowList = AllowLists.isPackageAllowListed(mAllowList, mPackageName); in getAccessInfo()
61 return AllowLists.isPackageAllowListed(mBlockList, mPackageName); in isBlocked()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/
DAppSetIdServiceImpl.java216 AllowLists.isPackageAllowListed( in canCallerInvokeAppSetIdService()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/
DAdIdServiceImpl.java238 AllowLists.isPackageAllowListed( in canCallerInvokeAdIdService()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementServiceImpl.java478 if (!AllowLists.isPackageAllowListed( in getMeasurementApiStatus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DStatsdAdServicesLogger.java130 || !AllowLists.isPackageAllowListed( in getAllowlistedAppPackageName()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java449 || AllowLists.isPackageAllowListed( in isXnaAllowedForTriggerRegistrant()