Home
last modified time | relevance | path

Searched refs:ACCESS_ADSERVICES_TOPICS (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPermissionHelperTest.java23 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_TOPICS;
67 ACCESS_ADSERVICES_TOPICS, in setup()
156 getMockContext(ACCESS_ADSERVICES_TOPICS, mMockPackageManagerGrant);
219 when(mMockPackageManagerGrant.checkPermission(ACCESS_ADSERVICES_TOPICS, SDK_PACKAGE_NAME))
230 Context mockContext = getMockContext(ACCESS_ADSERVICES_TOPICS, mMockPackageManagerGrant);
255 when(mMockPackageManagerDeny.checkPermission(ACCESS_ADSERVICES_TOPICS, SDK_PACKAGE_NAME))
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPermissionHelper.java52 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_TOPICS); in hasTopicsPermission()
59 context, AdServicesPermissions.ACCESS_ADSERVICES_TOPICS, callingUid); in hasTopicsPermission()
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DTopicsManager.java18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_TOPICS;
144 @RequiresPermission(ACCESS_ADSERVICES_TOPICS)
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesPermissions.java29 public static final String ACCESS_ADSERVICES_TOPICS = field in AdServicesPermissions
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_TOPICS;
248 packageInfoGrant.requestedPermissions = new String[] {ACCESS_ADSERVICES_TOPICS}; in setup()
437 when(mPackageManager.checkPermission(ACCESS_ADSERVICES_TOPICS, SDK_PACKAGE_NAME)) in testEnforceForeground_sandboxCaller()
500 when(mPackageManager.checkPermission(eq(ACCESS_ADSERVICES_TOPICS), any())) in checkSdkNoPermission()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt376 …field public static final String ACCESS_ADSERVICES_TOPICS = "android.permission.ACCESS_ADSERVICES_…
808 …uiresPermission(android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_TOPICS) public v…