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

/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl149 oneway void notifyConditions(String pkg, in IConditionProvider provider, in Condition[] conditions);
/frameworks/base/core/java/android/service/autofill/
H A DCustomDescription.java331 final InternalValidator[] conditions = new InternalValidator[size];
336 conditions[i] = pair.first;
339 dest.writeParcelableArray(conditions, flags);
363 final InternalValidator[] conditions =
365 if (conditions != null) {
367 final int size = conditions.length;
369 builder.batchUpdate(conditions[i], updates[i]);
/frameworks/base/core/java/android/service/notification/
H A DConditionProviderService.java37 * A service that provides conditions about boolean state.
41 * able to create and update conditions for this service to monitor, include the
88 * that allows users to configure the conditions provided by this service.
152 * state of conditions until {@link #requestRebind(ComponentName)} is called.
185 * @param conditions the changed conditions.
187 public final void notifyConditions(Condition... conditions) { argument
188 if (!isBound() || conditions == null) return;
190 getNotificationInterface().notifyConditions(getPackageName(), mProvider, conditions);
H A DIConditionListener.aidl24 void onConditionsReceived(in Condition[] conditions);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeController.java42 default void onConditionsChanged(Condition[] conditions) {} argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java200 private Condition[] removeDuplicateConditions(String pkg, Condition[] conditions) { argument
201 if (conditions == null || conditions.length == 0) return null;
202 final int N = conditions.length;
205 final Uri id = conditions[i].id;
210 valid.put(id, conditions[i]);
213 if (valid.size() == N) return conditions;
238 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) { argument
240 if (DEBUG) Slog.d(TAG, "notifyConditions pkg=" + pkg + " info=" + info + " conditions="
241 + (conditions
[all...]
H A DNotificationManagerService.java3015 final Condition[] conditions) {
3021 mConditionProviders.notifyConditions(pkg, info, conditions);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DResizingTextView.java27 * to certain trigger conditions, such as text that wraps over multiple lines.</p>
36 private int mTriggerConditions; // Union of trigger conditions
88 * @return the trigger conditions used to determine whether resize occurs
95 * Set the trigger conditions used to determine whether resize occurs. Pass
98 * @param conditions A union of trigger condition constants
100 public void setTriggerConditions(int conditions) { argument
101 if (mTriggerConditions != conditions) {
102 mTriggerConditions = conditions;
103 // Always request a layout when trigger conditions change

Completed in 207 milliseconds