Home
last modified time | relevance | path

Searched refs:DEFAULT_PACKAGE_UID (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPackageChangedReceiver.java83 private static final int DEFAULT_PACKAGE_UID = -1; field in PackageChangedReceiver
315 if (SdkLevel.isAtLeastT() && packageUid == DEFAULT_PACKAGE_UID) { in consentOnPackageFullyRemoved()
330 if (packageUid == DEFAULT_PACKAGE_UID) { in consentOnPackageFullyRemoved()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java101 private static final int DEFAULT_PACKAGE_UID = -1; field in PackageChangedReceiverTest
393 intent.putExtra(Intent.EXTRA_UID, DEFAULT_PACKAGE_UID); in testReceivePackageFullyRemoved_consent_packageUidIsExplicitlyDefault()
417 intent.putExtra(Intent.EXTRA_UID, DEFAULT_PACKAGE_UID); in testReceivePackageFullyRemoved_consent_packageUidIsExplicitlyDefault_backCompat()
748 verify(spyReceiver).consentOnPackageFullyRemoved(any(), any(), eq(DEFAULT_PACKAGE_UID)); in validateConsentWhenPackageUidAbsent()
1039 intent.putExtra(Intent.EXTRA_UID, DEFAULT_PACKAGE_UID); in testClearConsentNotCalled_WhenPackageUidInvalid_OnTPlus()
1049 verify(spyReceiver).consentOnPackageFullyRemoved(any(), any(), eq(DEFAULT_PACKAGE_UID)); in testClearConsentNotCalled_WhenPackageUidInvalid_OnTPlus()