Home
last modified time | relevance | path

Searched refs:ACCESS_ADSERVICES_AD_ID (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DAdIdManager.java18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;
103 @RequiresPermission(ACCESS_ADSERVICES_AD_ID)
118 @RequiresPermission(ACCESS_ADSERVICES_AD_ID)
DAdIdCompatibleManager.java18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;
117 @RequiresPermission(ACCESS_ADSERVICES_AD_ID)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPermissionHelperTest.java19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;
68 ACCESS_ADSERVICES_AD_ID, in setup()
161 Context adIdMockContext = getMockContext(ACCESS_ADSERVICES_AD_ID, mMockPackageManagerGrant);
221 when(mMockPackageManagerGrant.checkPermission(ACCESS_ADSERVICES_AD_ID, SDK_PACKAGE_NAME))
257 when(mMockPackageManagerDeny.checkPermission(ACCESS_ADSERVICES_AD_ID, SDK_PACKAGE_NAME))
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java19 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;
133 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in setup()
244 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in checkSdkNoPermission()
247 .checkPermission(eq(ACCESS_ADSERVICES_AD_ID), any()); in checkSdkNoPermission()
264 setupPermissions(INVALID_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_invalidPackage()
292 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_logCallingPackageNotFound()
310 setupPermissions(TEST_APP_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_logCallingPackageIdMismatch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPermissionHelper.java71 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID); in hasAdIdPermission()
78 context, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID, callingUid); in hasAdIdPermission()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesPermissions.java52 public static final String ACCESS_ADSERVICES_AD_ID = field in AdServicesPermissions
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt21 …quiresPermission(android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID) public v…
22 …quiresPermission(android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID) public v…
371 …field public static final String ACCESS_ADSERVICES_AD_ID = "android.permission.ACCESS_ADSERVICES_A…