Searched refs:Condition (Results 1 – 7 of 7) sorted by relevance
27 import android.service.notification.Condition;48 private final List<Condition> mConditions;49 private Condition mCondition;54 mConditions = new ArrayList<Condition>(); in ZenModeConditionSelection()69 private RadioButton newRadioButton(Condition condition) { in newRadioButton()76 setCondition((Condition) button.getTag()); in newRadioButton()87 requestZenModeConditions(Condition.FLAG_RELEVANT_NOW); in onAttachedToWindow()97 if (DEBUG) Log.d(TAG, "requestZenModeConditions " + Condition.relevanceToString(relevance)); in requestZenModeConditions()105 protected void handleConditions(Condition[] conditions) { in handleConditions()106 for (Condition c : conditions) { in handleConditions()[all …]
27 import android.service.notification.Condition;60 final Condition[] automatic = mNoMan.getAutomaticZenModeConditions(); in refreshSelectedConditions()63 for (Condition c : automatic) { in refreshSelectedConditions()107 requestZenModeConditions(Condition.FLAG_RELEVANT_ALWAYS); in onAttachedToWindow()117 if (DEBUG) Log.d(TAG, "requestZenModeConditions " + Condition.relevanceToString(relevance)); in requestZenModeConditions()125 protected void handleConditions(Condition[] conditions) { in handleConditions()126 for (final Condition c : conditions) { in handleConditions()128 if (c.state != Condition.STATE_ERROR) { in handleConditions()135 v.setEnabled(c.state != Condition.STATE_ERROR); in handleConditions()143 public void onConditionsReceived(Condition[] conditions) {[all …]
45 import android.service.notification.Condition;453 final Condition[] automatic = nm.getAutomaticZenModeConditions(); in getEntryConditionSummary()
38 public interface Condition { interface in TestUtils109 public static void waitUntil(Condition condition, int timeoutSeconds) { in waitUntil()116 public static void waitUntil(String message, Condition condition, int timeoutSeconds) { in waitUntil()133 waitUntil("message", new Condition() { in testWaitUntil()142 waitUntil("message", new Condition() { in testWaitUntil()
20 import java.util.concurrent.locks.Condition;31 private final Condition mNotFull = mLock.newCondition();
37 import java.util.concurrent.locks.Condition;121 private Condition mCondition;
47 import java.util.concurrent.locks.Condition;106 private final Condition mFreezeCondition =