Searched refs:ACCESS_ADSERVICES_AD_ID (Results 1 – 7 of 7) sorted by relevance
18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;103 @RequiresPermission(ACCESS_ADSERVICES_AD_ID)118 @RequiresPermission(ACCESS_ADSERVICES_AD_ID)
18 import static android.adservices.common.AdServicesPermissions.ACCESS_ADSERVICES_AD_ID;117 @RequiresPermission(ACCESS_ADSERVICES_AD_ID)
19 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))
19 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()
71 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID); in hasAdIdPermission()78 context, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID, callingUid); in hasAdIdPermission()
52 public static final String ACCESS_ADSERVICES_AD_ID = field in AdServicesPermissions
21 …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…