Home
last modified time | relevance | path

Searched refs:conditionId (Results 1 – 5 of 5) 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.java298 final Uri conditionId = new Uri.Builder() in addRule() local
304 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()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DCountMetricsTests.java71 int conditionId = 4; in testEventCountWithCondition() local
87 .setId(conditionId) in testEventCountWithCondition()
95 .setCondition(conditionId)) in testEventCountWithCondition()
134 int conditionId = 4; in testEventCountWithConditionAndActivation() local
157 .setId(conditionId) in testEventCountWithConditionAndActivation()
165 .setCondition(conditionId) in testEventCountWithConditionAndActivation()