Home
last modified time | relevance | path

Searched refs:STATE_TRUE (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/service/notification/
DConditionTest.java58 Condition cond1 = new Condition(longUri, longString, Condition.STATE_TRUE); in testLongFields_inConstructors_classic()
65 -1, Condition.STATE_TRUE, Condition.FLAG_RELEVANT_ALWAYS); in testLongFields_inConstructors_classic()
78 Condition.STATE_TRUE); in testLongFields_viaParcel_classic()
121 Condition cond1 = new Condition(longUri, longString, Condition.STATE_TRUE, in testLongFields_inConstructors()
129 -1, Condition.STATE_TRUE, Condition.SOURCE_CONTEXT, Condition.FLAG_RELEVANT_ALWAYS); in testLongFields_inConstructors()
143 Condition.STATE_TRUE, Condition.SOURCE_CONTEXT); in testLongFields_viaParcel()
176 Condition.STATE_TRUE, Condition.SOURCE_USER_ACTION); in testEquals()
179 Condition.STATE_TRUE, Condition.SOURCE_SCHEDULE, Condition.FLAG_RELEVANT_ALWAYS); in testEquals()
183 Condition.STATE_TRUE, Condition.SOURCE_SCHEDULE); in testEquals()
192 Condition.STATE_TRUE, Condition.SOURCE_USER_ACTION); in testParcelConstructor()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DConditionProvidersTest.java21 import static android.service.notification.Condition.STATE_TRUE;
82 new Condition(Uri.parse("a"), "summary", STATE_TRUE), in notifyConditions_findCondition()
83 new Condition(Uri.parse("b"), "summary2", STATE_TRUE) in notifyConditions_findCondition()
100 new Condition(Uri.parse("a"), "summary", STATE_TRUE), in notifyConditions_callbackOnConditionChanged()
101 new Condition(Uri.parse("b"), "summary2", STATE_TRUE), in notifyConditions_callbackOnConditionChanged()
102 new Condition(Uri.parse("c"), "summary3", STATE_TRUE) in notifyConditions_callbackOnConditionChanged()
119 new Condition(Uri.parse("a"), "summary", STATE_TRUE), in notifyConditions_duplicateIds_ignored()
120 new Condition(Uri.parse("b"), "summary2", STATE_TRUE), in notifyConditions_duplicateIds_ignored()
139 new Condition(Uri.parse("a"), "summary", STATE_TRUE), in notifyConditions_nullItems_ignored()
142 new Condition(Uri.parse("b"), "summary", STATE_TRUE) in notifyConditions_nullItems_ignored()
[all …]
DScheduleConditionProviderTest.java103 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_noAlarmExit_InSchedule()
200 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_alarmSetBeforeInSchedule()
224 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_alarmSetInSchedule()
229 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_alarmSetInSchedule()
253 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_earlierAlarmSet()
258 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_earlierAlarmSet()
282 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_laterAlarmSet()
287 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_laterAlarmSet()
311 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_alarmCanceled()
316 assertEquals(Condition.STATE_TRUE, condition.state); in testEvaluateSubscription_alarmCanceled()
[all …]
DZenModeHelperTest.java57 import static android.service.notification.Condition.STATE_TRUE;
237 Condition.STATE_TRUE);
713 new Condition(azr.getConditionId(), "", STATE_TRUE), in testTotalSilence_consolidatedPolicyDisallowsAll()
747 new Condition(azr.getConditionId(), "", STATE_TRUE), in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()
2150 STATE_TRUE, Condition.FLAG_RELEVANT_NOW); in testCountdownConditionSubscription()
2471 new Condition(zenRule.getConditionId(), "", STATE_TRUE), in testSetAutomaticZenRuleState_nullPkg() local
2476 assertEquals(STATE_TRUE, ruleInConfig.condition.state); in testSetAutomaticZenRuleState_nullPkg()
2566 Condition condition = new Condition(sharedUri, "", STATE_TRUE); in testRulesWithSameUri()
2573 assertEquals(STATE_TRUE, rule.condition.state); in testRulesWithSameUri()
2577 assertEquals(STATE_TRUE, rule.condition.state); in testRulesWithSameUri()
[all …]
DZenModeConfigTest.java25 import static android.service.notification.Condition.STATE_TRUE;
96 private final Condition CONDITION = new Condition(CONDITION_ID, "", Condition.STATE_TRUE);
554 rule.condition = new Condition(rule.conditionId, "", Condition.STATE_TRUE); in testRuleXml_classic()
719 fromXml.condition = new Condition(Uri.EMPTY, "", Condition.STATE_TRUE); in testRuleXml_getPkg_nullPkg()
892 config.manualRule.condition = new Condition(Uri.EMPTY, "", STATE_TRUE, SOURCE_USER_ACTION); in testisManualActive_stateTrue()
DZenModeDiffTest.java326 rule.condition = new Condition(rule.conditionId, "", Condition.STATE_TRUE); in makeRule()
DNotificationManagerServiceTest.java97 import static android.service.notification.Condition.STATE_TRUE;
9954 Condition withSourceUser = new Condition(Uri.parse("uri"), "summary", STATE_TRUE, in setAutomaticZenRuleState_conditionFromUser_mappedToOriginUser()
9969 Condition withSourceContext = new Condition(Uri.parse("uri"), "summary", STATE_TRUE, in setAutomaticZenRuleState_fromAppWithConditionNotFromUser_mappedToOriginApp()
9984 Condition withSourceContext = new Condition(Uri.parse("uri"), "summary", STATE_TRUE, in setAutomaticZenRuleState_fromSystemWithConditionNotFromUser_mappedToOriginSystem()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java80 private static final int STATE_TRUE = 0; field in TextDirectionHeuristics
93 return STATE_TRUE; in isRtlCodePoint()
105 return STATE_TRUE; in isRtlCodePoint()
165 case STATE_TRUE: in doCheck()
254 case STATE_TRUE: in checkRtl()
256 return STATE_TRUE; in checkRtl()
272 return mLookForRtl ? STATE_FALSE : STATE_TRUE; in checkRtl()
/frameworks/base/core/java/android/service/notification/
DCondition.java48 STATE_TRUE,
64 public static final int STATE_TRUE = 1; field in Condition
272 if (state == STATE_TRUE) return "STATE_TRUE"; in stateToString()
DZenModeConfig.java2076 return new Condition(id, summary, line1, line2, 0, Condition.STATE_TRUE, in toTimeCondition()
2090 return new Condition(id, "", line1, "", 0, Condition.STATE_TRUE, in toNextAlarmCondition()
2756 return condition != null && (condition.state == Condition.STATE_TRUE in isTrueOrUnknown()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java19 import static android.service.notification.Condition.STATE_TRUE;
330 if (r.condition.state == STATE_TRUE && c.state == STATE_TRUE) { in notifyConditions()
DEventConditionProvider.java255 conditionsToNotify.add(createCondition(conditionId, Condition.STATE_TRUE)); in evaluateSubscriptionsW()
DScheduleConditionProvider.java204 condition = createCondition(conditionId, Condition.STATE_TRUE, "meetsSchedule"); in evaluateSubscriptionLocked()
DZenModeHelper.java30 import static android.service.notification.Condition.STATE_TRUE;
647 STATE_TRUE); in applyGlobalZenModeAsImplicitZenRule()
1538 zenMode == Global.ZEN_MODE_OFF ? STATE_FALSE : STATE_TRUE, in setManualZenMode()
1603 && rule.condition.state == STATE_TRUE in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java214 final boolean enabled = condition.state == Condition.STATE_TRUE; in bind()
286 Condition.STATE_TRUE, 0 /*flags*/); in forever()
/frameworks/base/core/proto/android/service/
Dnotification.proto179 STATE_TRUE = 1; enumerator
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt48907 Landroid/service/notification/ConditionProto;->STATE_TRUE:I
56247 Landroid/text/TextDirectionHeuristics;->STATE_TRUE:I
/frameworks/base/core/api/
Dcurrent.txt41120 field public static final int STATE_TRUE = 1; // 0x1