Home
last modified time | relevance | path

Searched refs:allowCallsFrom (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java179 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/
DZenModeFiltering.java103 return audienceMatches(consolidatedPolicy.allowCallsFrom(), contactAffinity); in matchesCallFilter()
213 return shouldInterceptAudience(policy.allowCallsFrom(), record); in shouldIntercept()
DZenModeHelper.java683 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/
DZenModeConfigTest.java265 config.allowCallsFrom = ZenModeConfig.SOURCE_ANYONE; in getCustomConfig()
DZenPolicyTest.java613 assertEquals(policy.getPriorityCallSenders(), proto.allowCallsFrom); in assertProtoMatches()
/frameworks/base/core/java/android/app/
DNotificationManager.java2191 public int allowCallsFrom() { in allowCallsFrom() method in NotificationManager.Policy