Searched refs:allowCallsFrom (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 179 public int allowCallsFrom = DEFAULT_CALLS_SOURCE; field in ZenModeConfig 201 allowCallsFrom = source.readInt(); in ZenModeConfig() 231 dest.writeInt(allowCallsFrom); in writeToParcel() 271 .append(",allowCallsFrom=").append(sourceToString(allowCallsFrom)) in toString() 332 if (allowCallsFrom != to.allowCallsFrom) { in diff() 333 d.addLine("allowCallsFrom", allowCallsFrom, to.allowCallsFrom); in diff() 443 && other.allowCallsFrom == allowCallsFrom in equals() 460 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode() 549 rt.allowCallsFrom = callsFrom; in readXml() 553 rt.allowCallsFrom = from; in readXml() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 103 return audienceMatches(consolidatedPolicy.allowCallsFrom(), contactAffinity); in matchesCallFilter() 213 return shouldInterceptAudience(policy.allowCallsFrom(), record); in shouldIntercept()
|
D | ZenModeHelper.java | 683 config.allowCalls, ZenModeConfig.sourceToString(config.allowCallsFrom), in dump() 1026 && mConsolidatedPolicy.allowCallsFrom() == PRIORITY_SENDERS_ANY; in applyRestrictions()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 265 config.allowCallsFrom = ZenModeConfig.SOURCE_ANYONE; in getCustomConfig()
|
D | ZenPolicyTest.java | 613 assertEquals(policy.getPriorityCallSenders(), proto.allowCallsFrom); in assertProtoMatches()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 2191 public int allowCallsFrom() { in allowCallsFrom() method in NotificationManager.Policy
|