Home
last modified time | relevance | path

Searched refs:RULE_ID (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenCustomRuleSettingsBase.java35 static final String RULE_ID = "RULE_ID"; field in ZenCustomRuleSettingsBase
50 if (bundle != null && bundle.containsKey(RULE_ID)) { in onAttach()
51 mId = bundle.getString(RULE_ID); in onAttach()
100 bundle.putString(RULE_ID, mId); in createZenRuleBundle()
DAbstractZenCustomRulePreferenceController.java59 bundle.putString(ZenCustomRuleSettings.RULE_ID, mId); in createBundle()
DZenModeRuleSettingsBase.java91 bundle.putString(ZenCustomRuleSettings.RULE_ID, mId); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenRuleVisEffectPreferenceControllerTest.java83 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
173 verify(mBackend).updateZenRule(RULE_ID, mRule); in onPreferenceChanged_checkedFalse()
185 verify(mBackend).updateZenRule(RULE_ID, mRule); in onPreferenceChanged_checkedTrue()
DZenRuleCustomPrefContrTestBase.java30 public static final String RULE_ID = "test_rule_id"; field in ZenRuleCustomPrefContrTestBase
40 getController().onResume(mRule, RULE_ID); in updateControllerZenPolicy()
DZenRuleCustomSwitchPreferenceControllerTest.java92 verify(mBackend).updateZenRule(RULE_ID, mRule); in onPreferenceChanged_enable()
106 verify(mBackend).updateZenRule(RULE_ID, mRule); in onPreferenceChanged_disable()
DZenRuleRepeatCallersPreferenceControllerTest.java106 verify(mBackend).updateZenRule(RULE_ID, mRule); in onPreferenceChanged_EnableRepeatCallers()
121 verify(mBackend).updateZenRule(RULE_ID, mRule); in onPreferenceChanged_DisableRepeatCallers()
DZenRuleCustomPolicyPreferenceControllerTest.java73 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
DZenRuleDefaultPolicyPreferenceControllerTest.java73 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
DZenRuleVisEffectsAllPreferenceControllerTest.java72 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
DZenRuleVisEffectsCustomPreferenceControllerTest.java72 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
DZenRuleVisEffectsNonePreferenceControllerTest.java72 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
DZenRuleStarredContactsPreferenceControllerTest.java88 when(mBackend.getAutomaticZenRule(RULE_ID)).thenReturn(mRule); in setup()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenRuleCustomPrefContrTestBase.java28 public static final String RULE_ID = "test_rule_id"; field in ZenRuleCustomPrefContrTestBase
38 getController().onResume(mRule, RULE_ID); in updateControllerZenPolicy()