Searched refs:zenRule (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 2261 AutomaticZenRule zenRule = new AutomaticZenRule("name" + i, in testAddAutomaticZenRule_beyondSystemLimit() local 2269 String id = mZenModeHelper.addAutomaticZenRule("pkgname", zenRule, UPDATE_ORIGIN_APP, in testAddAutomaticZenRule_beyondSystemLimit() 2274 AutomaticZenRule zenRule = new AutomaticZenRule("name", in testAddAutomaticZenRule_beyondSystemLimit() local 2280 String id = mZenModeHelper.addAutomaticZenRule("pkgname", zenRule, UPDATE_ORIGIN_APP, in testAddAutomaticZenRule_beyondSystemLimit() 2295 AutomaticZenRule zenRule = new AutomaticZenRule("name" + i, in testAddAutomaticZenRule_beyondSystemLimit_differentComponents() local 2301 String id = mZenModeHelper.addAutomaticZenRule("pkgname", zenRule, UPDATE_ORIGIN_APP, in testAddAutomaticZenRule_beyondSystemLimit_differentComponents() 2306 AutomaticZenRule zenRule = new AutomaticZenRule("name", in testAddAutomaticZenRule_beyondSystemLimit_differentComponents() local 2312 String id = mZenModeHelper.addAutomaticZenRule("pkgname", zenRule, UPDATE_ORIGIN_APP, in testAddAutomaticZenRule_beyondSystemLimit_differentComponents() 2327 AutomaticZenRule zenRule = new AutomaticZenRule("name" + i, in testAddAutomaticZenRule_claimedSystemOwner() local 2333 String id = mZenModeHelper.addAutomaticZenRule("pkgname", zenRule, UPDATE_ORIGIN_APP, in testAddAutomaticZenRule_claimedSystemOwner() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1287 private boolean updatePolicy(ZenRule zenRule, @Nullable ZenPolicy newPolicy, in updatePolicy() argument 1292 zenRule.zenPolicy = in updatePolicy() 1302 ZenPolicy oldPolicy = zenRule.zenPolicy != null in updatePolicy() 1303 ? zenRule.zenPolicy in updatePolicy() 1316 zenRule.zenPolicy = newPolicy; in updatePolicy() 1319 int userModifiedFields = zenRule.zenPolicyUserModifiedFields; in updatePolicy() 1377 zenRule.zenPolicyUserModifiedFields = userModifiedFields; in updatePolicy() 1395 private static boolean updateZenDeviceEffects(ZenRule zenRule, in updateZenDeviceEffects() argument 1402 ZenDeviceEffects oldEffects = zenRule.zenDeviceEffects != null in updateZenDeviceEffects() 1403 ? zenRule.zenDeviceEffects in updateZenDeviceEffects() [all …]
|