Home
last modified time | relevance | path

Searched refs:conditionIds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java113 public Uri[] conditionIds; field in ZenModeConfig
138 conditionIds = new Uri[len]; in ZenModeConfig()
139 source.readTypedArray(conditionIds, Uri.CREATOR); in ZenModeConfig()
168 if (conditionIds != null && conditionIds.length > 0) { in writeToParcel()
169 dest.writeInt(conditionIds.length); in writeToParcel()
170 dest.writeTypedArray(conditionIds, 0); in writeToParcel()
193 .append(conditionIds == null ? null : TextUtils.join(",", conditionIds)) in toString()
228 && Objects.deepEquals(other.conditionIds, conditionIds) in equals()
237 Arrays.hashCode(conditionComponents), Arrays.hashCode(conditionIds), in hashCode()
288 final ArrayList<Uri> conditionIds = new ArrayList<Uri>(); in readXml() local
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java420 public void setAutomaticZenModeConditions(Uri[] conditionIds) { in setAutomaticZenModeConditions() argument
421 setAutomaticZenModeConditions(conditionIds, true /*save*/); in setAutomaticZenModeConditions()
424 private void setAutomaticZenModeConditions(Uri[] conditionIds, boolean save) { in setAutomaticZenModeConditions() argument
426 + (conditionIds == null ? null : Arrays.asList(conditionIds))); in setAutomaticZenModeConditions()
428 final ArraySet<Uri> newIds = safeSet(conditionIds); in setAutomaticZenModeConditions()
525 if (config.conditionComponents == null || config.conditionIds == null in loadZenConfig()
526 || config.conditionComponents.length != config.conditionIds.length) { in loadZenConfig()
535 final Uri id = config.conditionIds[i]; in loadZenConfig()
560 config.conditionIds = null; in saveZenConfigLocked()
564 config.conditionIds = new Uri[N]; in saveZenConfigLocked()
[all …]
DNotificationManagerService.java1513 public void setAutomaticZenModeConditions(Uri[] conditionIds) {
1515 mConditionProviders.setAutomaticZenModeConditions(conditionIds);
/frameworks/base/core/java/android/app/
DINotificationManager.aidl81 oneway void setAutomaticZenModeConditions(in Uri[] conditionIds); in setAutomaticZenModeConditions() argument