Searched refs:getConditionId (Results 1 – 20 of 20) sorted by relevance
117 rule.getConditionId(), true); in setAttributes()118 final boolean isEvent = ZenModeConfig.isValidEventConditionId(rule.getConditionId()); in setAttributes()153 ZenModeConfig.tryParseScheduleConditionId(rule.getConditionId()); in computeRuleSummary()163 ZenModeConfig.tryParseEventConditionId(rule.getConditionId()); in computeRuleSummary()
88 if (ZenModeConfig.isValidScheduleConditionId(mRule.getConditionId())) { in getIcon()90 } else if (ZenModeConfig.isValidEventConditionId(mRule.getConditionId())) { in getIcon()
558 final int type = ZenModeConfig.isValidScheduleConditionId(rule.getConditionId())559 ? 1 : ZenModeConfig.isValidEventConditionId(rule.getConditionId())
62 mEvent = rule != null ? ZenModeConfig.tryParseEventConditionId(rule.getConditionId()) in setRule()
71 mSchedule = rule != null ? ZenModeConfig.tryParseScheduleConditionId(rule.getConditionId()) in setRule()
89 mConditionManager.onPrimaryClick(mContext, card.getConditionId()); in onPrimaryClick()95 mConditionManager.onActionClick(card.getConditionId()); in onActionClick()
51 public long getConditionId() { in getConditionId() method in ConditionalContextualCard
121 zenRule.condition = new Condition(rule.getConditionId(), "", in configWithRule()324 eq(new Condition(ZEN_RULE.getConditionId(), "", Condition.STATE_TRUE, in activateMode_zenRule_setsRuleStateActive()347 eq(new Condition(ZEN_RULE.getConditionId(), "", Condition.STATE_FALSE, in deactivateMode_zenRule_setsRuleStateInactive()
108 captor.getValue().getRule().getConditionId()); in testOnPreferenceChange()
102 assertThat(out.getRule().getConditionId()).isEqualTo( in updateEventMode_updatesConditionAndTriggerDescription()
93 assertThat(out.getRule().getConditionId()) in updateScheduleRule_updatesConditionAndTriggerDescription()
40 mSchedule = ZenModeConfig.tryParseScheduleConditionId(zenMode.getRule().getConditionId()); in updateState()
223 new Condition(mode.getRule().getConditionId(), "", Condition.STATE_TRUE, in activateMode()236 new Condition(mode.getRule().getConditionId(), "", Condition.STATE_FALSE, in deactivateMode()
66 mSchedule = ZenModeConfig.tryParseScheduleConditionId(zenMode.getRule().getConditionId()); in updateState()
88 mEvent = ZenModeConfig.tryParseEventConditionId(zenMode.getRule().getConditionId()); in updateState()
132 inline int64_t getConditionId() const { in getConditionId() function
125 assertThat(updatedRuleCaptor.getValue().getConditionId()) in updateScheduleRule_updatesConditionAndTriggerDescription()
808 ASSERT_EQ(oldConditionTrackers[0]->getConditionId(), simple1Id); in TEST_F()923 EXPECT_EQ(newConditionTrackers[simple1Index]->getConditionId(), simple1Id); in TEST_F()926 EXPECT_EQ(newConditionTrackers[simple2Index]->getConditionId(), simple2Id); in TEST_F()929 EXPECT_EQ(newConditionTrackers[simple3Index]->getConditionId(), simple3Id); in TEST_F()932 EXPECT_EQ(newConditionTrackers[combination1Index]->getConditionId(), combination1Id); in TEST_F()935 EXPECT_EQ(newConditionTrackers[combination2Index]->getConditionId(), combination2Id); in TEST_F()938 EXPECT_EQ(newConditionTrackers[combination4Index]->getConditionId(), combination4Id); in TEST_F()
1480 EXPECT_EQ(tracker->getConditionId(), id); in TEST_F()1508 EXPECT_EQ(tracker->getConditionId(), id); in TEST_F()
431 (long long)newConditionTrackers[conditionIndex]->getConditionId()); in updateConditions()