Home
last modified time | relevance | path

Searched refs:isEligible (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DAlreadyEnrolledChannelTest.java61 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_gaUxGaNotificationAlreadyDisplayed()
72 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_gaUxGaNotificationNotDisplayed()
84 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_betaUxNotificationAlreadyDisplayed()
96 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_betaUxNotificationNotDisplayed()
108 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_u18UxNotificationAlreadyDisplayed()
122 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_alreadyInteractedFlagOff()
137 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_alreadyInteracted()
148 mAlreadyEnrolledChannel.isEligible( in isEligibleTest_u18UxNotificationNotDisplayed()
DReconsentNotificationChannelTest.java99 mReconsentNotificationChannel.isEligible( in isEligibleTest_nonBetaUser()
114 mReconsentNotificationChannel.isEligible( in isEligibleTest_nonManualOptOutBetaUser()
129 mReconsentNotificationChannel.isEligible( in isEligibleTest_manualOptOutBetaUser()
142 mReconsentNotificationChannel.isEligible( in isEligibleTest_unknownOptOutBetaUser()
157 mReconsentNotificationChannel.isEligible( in isEligibleTest_nonManualOptInBetaUser()
172 mReconsentNotificationChannel.isEligible( in isEligibleTest_manualOptInBetaUser()
185 mReconsentNotificationChannel.isEligible( in isEligibleTest_unknownOptInBetaUser()
DU18DetentionChannelTest.java93 mU18DetentionChannel.isEligible( in isEligibleTest_U18UxDetentionChannelDisabled()
105 mU18DetentionChannel.isEligible( in isEligibleTest_detainedGaUser()
117 mU18DetentionChannel.isEligible( in isEligibleTest_detainedBetaUser()
129 mU18DetentionChannel.isEligible( in isEligibleTest_nonU18User()
141 mU18DetentionChannel.isEligible( in isEligibleTest_nonBetUxCheck()
DPasReconsentNotificationChannelTest.java105 mPasReconsentNotificationChannel.isEligible( in isEligibleTest_pasNotificationAlreadyDisplayed()
124 mPasReconsentNotificationChannel.isEligible( in isEligibleTest_NoManualInteraction_consentRevoked_pas()
144 mPasReconsentNotificationChannel.isEligible( in isEligibleTest_hasManualInteraction_consentRevoked_pas()
162 mPasReconsentNotificationChannel.isEligible( in isEligibleTest_consentGiven_pas()
182 mPasReconsentNotificationChannel.isEligible( in isEligibleTest_adultRvcUser_ConsentRevoked_pas()
202 mPasReconsentNotificationChannel.isEligible( in isEligibleTest_adultRvcUser_ConsentGiven_pas()
DFirstConsentNotificationChannelTest.java67 mFirstConsentNotificationChannel.isEligible( in isEligibleTest_gaNotificationAlreadyDisplayed()
79 mFirstConsentNotificationChannel.isEligible( in isEligibleTest_betaNotificationAlreadyDisplayed()
91 mFirstConsentNotificationChannel.isEligible( in isEligibleTest_u18NotificationAlreadyDisplayed()
105 mFirstConsentNotificationChannel.isEligible( in isEligibleTest_noNotificationEverDisplayed()
DPasFirstConsentNotificationChannelTest.java93 mPasFirstConsentNotificationChannel.isEligible( in isEligibleTest_pasNotificationAlreadyDisplayed()
112 mPasFirstConsentNotificationChannel.isEligible( in isEligibleTest_NoManualInteraction_consentRevoked_pas()
131 mPasFirstConsentNotificationChannel.isEligible( in isEligibleTest_hasManualInteraction_consentRevoked_pas()
144 mPasFirstConsentNotificationChannel.isEligible( in isEligibleTest_consentGiven_pas()
DConsentNotificationResetChannelTest.java94 mConsentNotificationResetChannel.isEligible( in isEligibleTest_emptyToken()
110 mConsentNotificationResetChannel.isEligible( in isEligibleTest_newTokenWriteSucceeded()
126 mConsentNotificationResetChannel.isEligible( in isEligibleTest_newTokenWriteFailed()
145 mConsentNotificationResetChannel.isEligible( in isEligibleTest_sameToken()
DConsentNotificationDebugChannelTest.java93 mConsentNotificationDebugChannel.isEligible( in isEligibleTest_consentDebugModeOn()
103 mConsentNotificationDebugChannel.isEligible( in isEligibleTest_consentDebugModeOff()
DRvcPostOTAChannelTest.java94 mRvcPostOTAChannel.isEligible( in isEligibleTest_isRvcAdultUser()
107 mRvcPostOTAChannel.isEligible( in isEligibleTest_notRvcAdultUser()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java125 public boolean isEligible() { in isEligible() method in CandidateSuggestion
145 if (!ProviderEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
148 if (!ConnectivityEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
151 if (!FeatureEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
154 if (!AccountEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
157 if (!DismissedChecker.isEligible(mContext, mId, mResolveInfo, mIgnoreAppearRule)) { in initIsEligible()
160 if (!AutomotiveEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/
DBetaUxTest.java72 assertThat(mBetaUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_adultUserWithGaFlagOn()
80 assertThat(mBetaUx.isEligible(mConsentManager, mUxStatesManager)).isTrue(); in isEligibleTest_adultUserWithGaFlagOff()
88 assertThat(mBetaUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_nonAdultUserWithGaFlagOn()
96 assertThat(mBetaUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_nonAdultUserWithGaFlagOff()
DGaUxTest.java72 assertThat(mGaUx.isEligible(mConsentManager, mUxStatesManager)).isTrue(); in isEligibleTest_adultUserWithGaFlagOn()
80 assertThat(mGaUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_adultUserWithGaFlagOff()
88 assertThat(mGaUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_nonAdultUserWithGaFlagOn()
96 assertThat(mGaUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_nonAdultUserWithGaFlagOff()
DU18UxTest.java72 assertThat(mU18Ux.isEligible(mConsentManager, mUxStatesManager)).isTrue(); in isEligibleTest_u18UserWithU18FlagOn()
80 assertThat(mU18Ux.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_u18UserWithU18FlagOff()
88 assertThat(mU18Ux.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_nonU18UserWithU18FlagOn()
96 assertThat(mU18Ux.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_nonU18UserWithU18FlagOff()
DRvcUxTest.java71 assertThat(mRvcUx.isEligible(mConsentManager, mUxStatesManager)).isTrue(); in isEligibleTest_rFlagOn()
78 assertThat(mRvcUx.isEligible(mConsentManager, mUxStatesManager)).isFalse(); in isEligibleTest_rFlagOff()
DUnsupportedUxTest.java71 assertThat(mUnsupportedUx.isEligible(mConsentManager, mUxStatesManager)).isTrue(); in isEligibleTest_uiKillSwitchOn()
78 assertThat(mUnsupportedUx.isEligible(mConsentManager, mUxStatesManager)).isTrue(); in isEligibleTest_adultUserWithGaFlagOff()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DEligibilityDeciderTest.java143 assertTrue(result.isEligible()); in testMinSepPolicy_noRecord_eligible()
172 assertTrue(result.isEligible()); in testMinSepPolicy_eligible()
215 assertFalse(result.isEligible()); in testMinSepPolicy_joinSameRound_notEligible()
257 assertTrue(result.isEligible()); in testMinSepPolicy_joinNextRound_eligible()
287 assertFalse(result.isEligible()); in testMinSepPolicy_notEligible()
309 assertFalse(result.isEligible()); in dataAvailabilityPolicy_noExample_notEligible()
332 assertFalse(result.isEligible()); in dataAvailabilityPolicy_notEligible()
356 assertTrue(result.isEligible()); in dataAvailabilityPolicy_eligible()
408 assertFalse(result.isEligible()); in dataAvailabilityPassMinSeparationFail_notEligible()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/util/
DUxEngineUtil.java57 collection.getUx().isEligible(consentManager, uxStatesManager)) in getEligibleUxCollection()
72 .isEligible(uxCollection, consentManager, uxStatesManager)) in getEligibleEnrollmentChannelCollection()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/ux/base/
DPrivacySandboxUx.java31 boolean isEligible(ConsentManager consentManager, UxStatesManager uxStatesManager); in isEligible() method
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DAutomotiveEligibilityChecker.java18 public static boolean isEligible(Context context, String id, ResolveInfo info) { in isEligible() method in AutomotiveEligibilityChecker
DFeatureEligibilityChecker.java35 public static boolean isEligible(Context context, String id, ResolveInfo info) { in isEligible() method in FeatureEligibilityChecker
DConnectivityEligibilityChecker.java36 public static boolean isEligible(Context context, String id, ResolveInfo info) { in isEligible() method in ConnectivityEligibilityChecker
DAccountEligibilityChecker.java34 public static boolean isEligible(Context context, String id, ResolveInfo info) { in isEligible() method in AccountEligibilityChecker
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/impl/
DGaGraduationChannel.java36 public boolean isEligible( in isEligible() method in GaGraduationChannel
DConsentNotificationDebugChannel.java37 public boolean isEligible( in isEligible() method in ConsentNotificationDebugChannel
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/enrollment/base/
DPrivacySandboxEnrollmentChannel.java35 boolean isEligible( in isEligible() method

12