Searched refs:conditions (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/android/service/notification/
H A DIConditionListener.aidl24 void onConditionsReceived(in Condition[] conditions);
H A DConditionProviderService.java35 * A service that provides conditions about boolean state.
39 * able to create and update conditions for this service to monitor, include the
84 * that allows users to configure the conditions provided by this service.
148 * state of conditions until {@link #requestRebind(ComponentName)} is called.
181 * @param conditions the changed conditions.
183 public final void notifyConditions(Condition... conditions) { argument
184 if (!isBound() || conditions == null) return;
186 getNotificationInterface().notifyConditions(getPackageName(), mProvider, conditions);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeControllerImpl.java189 private void fireConditionsChanged(Condition[] conditions) { argument
190 Utils.safeForeach(mCallbacks, c -> c.onConditionsChanged(conditions));
202 private void updateConditions(Condition[] conditions) { argument
203 if (conditions == null || conditions.length == 0) return;
204 for (Condition c : conditions) {
225 public void onConditionsReceived(Condition[] conditions) {
227 + (conditions == null ? 0 : conditions.length) + " mRequesting=" + mRequesting);
229 updateConditions(conditions);
[all...]
H A DZenModeController.java41 default void onConditionsChanged(Condition[] conditions) {} argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java191 private Condition[] removeDuplicateConditions(String pkg, Condition[] conditions) { argument
192 if (conditions == null || conditions.length == 0) return null;
193 final int N = conditions.length;
196 final Uri id = conditions[i].id;
201 valid.put(id, conditions[i]);
204 if (valid.size() == N) return conditions;
229 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) { argument
231 if (DEBUG) Slog.d(TAG, "notifyConditions pkg=" + pkg + " info=" + info + " conditions="
232 + (conditions
[all...]
H A DNotificationManagerService.java2412 final Condition[] conditions) {
2418 mConditionProviders.notifyConditions(pkg, info, conditions);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DResizingTextView.java26 * to certain trigger conditions, such as text that wraps over multiple lines.</p>
35 private int mTriggerConditions; // Union of trigger conditions
87 * @return the trigger conditions used to determine whether resize occurs
94 * Set the trigger conditions used to determine whether resize occurs. Pass
97 * @param conditions A union of trigger condition constants
99 public void setTriggerConditions(int conditions) { argument
100 if (mTriggerConditions != conditions) {
101 mTriggerConditions = conditions;
102 // Always request a layout when trigger conditions change
/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl122 oneway void notifyConditions(String pkg, in IConditionProvider provider, in Condition[] conditions);

Completed in 1691 milliseconds