Searched refs:conditionsToNotify (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ConditionProvidersTest.java | 99 Condition[] conditionsToNotify = new Condition[] { in notifyConditions_callbackOnConditionChanged() local 105 mProviders.notifyConditions("package", msi, conditionsToNotify); in notifyConditions_callbackOnConditionChanged() 107 verify(mCallback).onConditionChanged(eq(Uri.parse("a")), eq(conditionsToNotify[0])); in notifyConditions_callbackOnConditionChanged() 108 verify(mCallback).onConditionChanged(eq(Uri.parse("b")), eq(conditionsToNotify[1])); in notifyConditions_callbackOnConditionChanged() 109 verify(mCallback).onConditionChanged(eq(Uri.parse("c")), eq(conditionsToNotify[2])); in notifyConditions_callbackOnConditionChanged() 118 Condition[] conditionsToNotify = new Condition[] { in notifyConditions_duplicateIds_ignored() local 125 mProviders.notifyConditions("package", msi, conditionsToNotify); in notifyConditions_duplicateIds_ignored() 127 verify(mCallback).onConditionChanged(eq(Uri.parse("a")), eq(conditionsToNotify[0])); in notifyConditions_duplicateIds_ignored() 128 verify(mCallback).onConditionChanged(eq(Uri.parse("b")), eq(conditionsToNotify[1])); in notifyConditions_duplicateIds_ignored() 138 Condition[] conditionsToNotify = new Condition[] { in notifyConditions_nullItems_ignored() local [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | EventConditionProvider.java | 209 List<Condition> conditionsToNotify = new ArrayList<>(); in evaluateSubscriptionsW() local 220 conditionsToNotify.add(createCondition(conditionId, Condition.STATE_FALSE)); in evaluateSubscriptionsW() 242 conditionsToNotify.add(createCondition(conditionId, Condition.STATE_FALSE)); in evaluateSubscriptionsW() 252 conditionsToNotify.add(createCondition(conditionId, Condition.STATE_FALSE)); in evaluateSubscriptionsW() 255 conditionsToNotify.add(createCondition(conditionId, Condition.STATE_TRUE)); in evaluateSubscriptionsW() 259 for (Condition condition : conditionsToNotify) { in evaluateSubscriptionsW()
|
D | ScheduleConditionProvider.java | 169 List<Condition> conditionsToNotify = new ArrayList<>(); in evaluateSubscriptions() local 177 conditionsToNotify.add(condition); in evaluateSubscriptions() 181 notifyConditions(conditionsToNotify.toArray(new Condition[conditionsToNotify.size()])); in evaluateSubscriptions()
|