Searched refs:conditionId (Results 1 – 5 of 5) sorted by relevance
28 Uri conditionId; field in PollableConditionProviderService44 public void onSubscribe(Uri conditionId) { in onSubscribe() argument47 this.conditionId = conditionId; in onSubscribe()48 notifyCondition(new Condition(conditionId, "", Condition.STATE_TRUE)); in onSubscribe()52 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe() argument55 this.conditionId = null; in onUnsubscribe()
47 new Condition(conditionId, "", on ? Condition.STATE_TRUE : Condition.STATE_FALSE)); in toggleDND()
298 final Uri conditionId = new Uri.Builder() in addRule() local304 cn, conditionId, filter, enabled)); in addRule()
92 public void onSubscribe(Uri conditionId) { in onSubscribe() argument93 Log.d(TAG, "subscribed to " + conditionId); in onSubscribe()94 mSubscriptions.add(conditionId); in onSubscribe()98 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe() argument99 Log.d(TAG, "unsubscribed from " + conditionId); in onUnsubscribe()100 mSubscriptions.remove(conditionId); in onUnsubscribe()
71 int conditionId = 4; in testEventCountWithCondition() local87 .setId(conditionId) in testEventCountWithCondition()95 .setCondition(conditionId)) in testEventCountWithCondition()134 int conditionId = 4; in testEventCountWithConditionAndActivation() local157 .setId(conditionId) in testEventCountWithConditionAndActivation()165 .setCondition(conditionId) in testEventCountWithConditionAndActivation()