Home
last modified time | relevance | path

Searched refs:VALUE_TRUE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
DContentProtectionConsentManagerTest.java78 private static final int VALUE_TRUE = 1; field in ContentProtectionConsentManagerTest
110 createContentProtectionConsentManager(VALUE_FALSE, VALUE_TRUE); in isConsentGranted_policyFlagDisabled_packageVerifierNotGranted()
123 createContentProtectionConsentManager(VALUE_FALSE, VALUE_TRUE); in isConsentGranted_policyFlagEnabled_packageVerifierNotGranted()
136 createContentProtectionConsentManager(VALUE_TRUE, VALUE_FALSE); in isConsentGranted_policyFlagDisabled_contentProtectionNotGranted()
149 createContentProtectionConsentManager(VALUE_TRUE, VALUE_TRUE); in isConsentGranted_policyFlagDisabled_packageVerifierGranted_userNotManaged()
164 createContentProtectionConsentManager(VALUE_TRUE, VALUE_TRUE); in isConsentGranted_policyFlagDisabled_packageVerifierGranted_userManaged()
176 createContentProtectionConsentManager(VALUE_TRUE, VALUE_FALSE); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userNotManaged_contentProtectionNotGranted()
189 createContentProtectionConsentManager(VALUE_TRUE, VALUE_TRUE); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userNotManaged_contentProtectionGranted()
206 createContentProtectionConsentManager(VALUE_TRUE, VALUE_TRUE); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyDisabled()
223 createContentProtectionConsentManager(VALUE_TRUE, VALUE_FALSE); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyEnabled()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/utils/
DOptPropFactory.java91 private static final int VALUE_TRUE = 1; field in OptPropFactory.OptProp
97 VALUE_TRUE,
143 return mCondition.getAsBoolean() && getValue() == VALUE_TRUE; in isTrue()
173 return getValue() == VALUE_TRUE || overrideValue; in shouldEnableWithOverrideAndProperty()
219 mValue = VALUE_TRUE; in getValue()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStateRecord.java411 private static final int VALUE_TRUE = 1; field in ProcessStateRecord
1022 mCachedHasActivities = mApp.getWindowProcessController().hasActivities() ? VALUE_TRUE in getCachedHasActivities()
1024 if (mCachedHasActivities == VALUE_TRUE) { in getCachedHasActivities()
1030 return mCachedHasActivities == VALUE_TRUE; in getCachedHasActivities()
1037 ? VALUE_TRUE : VALUE_FALSE; in getCachedIsHeavyWeight()
1039 return mCachedIsHeavyWeight == VALUE_TRUE; in getCachedIsHeavyWeight()
1046 ? VALUE_TRUE : VALUE_FALSE; in getCachedHasVisibleActivities()
1048 return mCachedHasVisibleActivities == VALUE_TRUE; in getCachedHasVisibleActivities()
1055 mCachedIsHomeProcess = VALUE_TRUE; in getCachedIsHomeProcess()
1061 return mCachedIsHomeProcess == VALUE_TRUE; in getCachedIsHomeProcess()
[all …]