Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledOverride.java222 private final @Condition int mConditions; field in DataEnabledOverride.OverrideConditions
230 mConditions = getBitmaskFromString(conditions); in OverrideConditions()
239 mConditions = conditions; in OverrideConditions()
282 return (providedConditions & mConditions) == mConditions; in allMet()
290 return mConditions == that.mConditions; in equals()
295 return Objects.hash(mConditions); in hashCode()
300 return getStringFromBitmask(mConditions); in toString()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java106 @VisibleForTesting protected final ZenModeConditions mConditions; field in ZenModeHelper
143 mConditions = new ZenModeConditions(this, conditionProviders); in ZenModeHelper()
646 mConditions.dump(pw, prefix); in dump()
837 mConditions.evaluateConfig(config, null, false /*processSubscriptions*/); in setConfigLocked()
869 mConditions.evaluateConfig(config, triggeringComponent, true /*processSubscriptions*/); in applyConfig()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1218 mZenModeHelperSpy.mConditions.evaluateConfig(mZenModeHelperSpy.mConfig, null, true); in testCountdownConditionSubscription()
1219 assertEquals(0, mZenModeHelperSpy.mConditions.mSubscriptions.size()); in testCountdownConditionSubscription()
1231 mZenModeHelperSpy.mConditions.evaluateConfig(mZenModeHelperSpy.mConfig, null, true); in testCountdownConditionSubscription()
1235 assertEquals(1, mZenModeHelperSpy.mConditions.mSubscriptions.size()); in testCountdownConditionSubscription()