Home
last modified time | relevance | path

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

/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DPollableConditionProviderService.java28 Uri conditionId; field in PollableConditionProviderService
44 public void onSubscribe(Uri conditionId) { in onSubscribe() argument
47 this.conditionId = conditionId; in onSubscribe()
48 notifyCondition(new Condition(conditionId, "", Condition.STATE_TRUE)); in onSubscribe()
52 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe() argument
55 this.conditionId = null; in onUnsubscribe()
DLegacyConditionProviderService.java47 new Condition(conditionId, "", on ? Condition.STATE_TRUE : Condition.STATE_FALSE)); in toggleDND()
DConditionProviderServiceTest.java265 final Uri conditionId = new Uri.Builder() in addRule() local
271 cn, conditionId, filter, enabled)); in addRule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockConditionProvider.java92 public void onSubscribe(Uri conditionId) { in onSubscribe() argument
93 Log.d(TAG, "subscribed to " + conditionId); in onSubscribe()
94 mSubscriptions.add(conditionId); in onSubscribe()
98 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe() argument
99 Log.d(TAG, "unsubscribed from " + conditionId); in onUnsubscribe()
100 mSubscriptions.remove(conditionId); in onUnsubscribe()